Dave Miller
1724334d7c
dri: fix crash in driGetConfigAttribIndex
...
Accessing a GLboolean via an int pointer on big-endian == bad.
2008-08-09 16:44:10 +10:00
Eric Anholt
53675e5c05
Merge branch 'drm-gem'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/main/fbobject.c
This converts the i915 driver to use the GEM interfaces for object management.
2008-08-08 15:32:24 -07:00
Eric Anholt
d2796939f1
intel-gem: Update to new check_aperture API for classic mode.
...
To do this, I had to clean up some of 965 state upload stuff. We may end
up over-emitting state in the aperture overflow case, but that should be rare,
and I'd rather have the simplification of state management.
2008-08-08 14:00:43 -07:00
Brian Paul
74b14fe6dd
mesa: fix some feature tests
2008-08-08 13:06:54 -06:00
Brian Paul
966e199e40
mesa: fix some pixel transfer state tests for depth formats
2008-08-08 12:29:48 -06:00
Eric Anholt
527e1cf172
965: cleanups to state emission from aperture checking and state ordering.
2008-08-08 10:53:25 -07:00
Brian Paul
27858226dc
gallium: fix additional glCopyTex[Sub]Image issues
...
Use the TexFormat->StoreImage() routine for fallbacks. This handles the
case of copying RGBA framebuffer data into an RGBA texture when the base
format is GL_RGB (or GL_LUMINANCE, etc). In that case, we need to set
the texture's alpha=1 and override the framebuffer's alpha.
2008-08-08 10:39:56 -06:00
Brian Paul
48cf46a29d
mesa: fix out-of-bounds memory reads in swizzle_copy()
2008-08-08 09:08:44 -06:00
Brian Paul
501338d70e
mesa: fix out-of-bounds memory reads in swizzle_copy()
2008-08-08 09:05:41 -06:00
José Fonseca
74d649d9a9
trace: Prevent from internal calls from pipe_context to pipe_screen from being traced.
2008-08-08 12:32:23 +01:00
José Fonseca
9dcb956a06
gallium: Add destroy callback to all *_winsys interfaces.
...
For consistency and to simplify these objects' destruction.
2008-08-08 12:32:23 +01:00
José Fonseca
be36f7869e
i965: Remove extraneous arg to debug_printf.
2008-08-08 12:32:23 +01:00
Jeremy Huddleston
919ec22ecf
glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection
2008-08-08 02:52:10 -07:00
Jeremy Huddleston
ec770150ed
glx/x11: Fix missing __GL_EXT_BYTES declaration
2008-08-08 02:37:14 -07:00
Jeremy Huddleston
01ac4540f0
Apple: Some changes to fix compilation problems on OSX
2008-08-08 02:19:52 -07:00
Brian Paul
4e070f10c0
gallium: clean-up, remove dead code, update comments
2008-08-07 17:59:41 -06:00
Brian Paul
c1c4ff28f0
gallium: use PIPE_FORMAT_X8Z24_UNORM for 24-bit Z but no stencil
2008-08-07 15:14:52 -06:00
Brian Paul
fdb7dc889f
softpipe: add support for PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_Z24X8_UNORM
2008-08-07 15:14:52 -06:00
José Fonseca
6a82ea2ed2
trace: Simplify HTML output.
2008-08-07 20:58:09 +01:00
José Fonseca
05e90964cf
trace: Merge the CSS into the XSL.
2008-08-07 20:58:09 +01:00
José Fonseca
ce2137a6a4
trace: Dump format names.
2008-08-07 20:58:09 +01:00
Brian Paul
8fb55dab78
gallium: s/pf_sprint_name/pf_name/
2008-08-07 13:35:21 -06:00
Brian Paul
275b09f256
gallium: fix a few bugs on the fallback CopyTex[Sub]Image() path.
2008-08-07 13:32:43 -06:00
Brian Paul
ae2195caf5
gallium: s/printf/debug_printf/
2008-08-07 13:32:43 -06:00
Brian Paul
b1ff7dac53
gallium: new/better debug code (disabled)
2008-08-07 13:32:43 -06:00
Brian Paul
600aa7501f
gallium: implement a bunch of missing put_tile functions
2008-08-07 13:32:43 -06:00
Brian Paul
c8f3191383
gallium: enable the call to r16_put_tile_rgba(), silences warning
2008-08-07 13:32:43 -06:00
Brian Paul
2c2d6c90fe
mesa: fix glBindTexture comment/error string
2008-08-07 13:32:43 -06:00
Brian Paul
14ac52e457
mesa: glsl: regenerated files
2008-08-07 13:32:43 -06:00
Brian Paul
a78f295f7c
mesa: glsl: finish up support for precision qualifiers
2008-08-07 13:32:43 -06:00
José Fonseca
1ffd6908d4
mesa: pf_sprint_name->pf_name.
2008-08-07 19:25:54 +01:00
José Fonseca
fdafa1f863
gallium: Simplify format->name conversion.
2008-08-07 19:25:28 +01:00
José Fonseca
9dee60969d
trace: Dump state.
2008-08-07 18:58:30 +01:00
José Fonseca
f2e19c34e0
trace: Trace pipe context calls.
2008-08-07 18:58:30 +01:00
José Fonseca
c76d86f0ab
raw2png: Fix channel order in a8b8g8r8/x8b8g8r8 formats.
2008-08-07 18:58:30 +01:00
José Fonseca
f6e0514736
trace: Add missing XSL and CSS.
2008-08-07 18:58:30 +01:00
José Fonseca
18fb8f1486
xlib: Integrate with the trace pipe driver.
2008-08-07 18:58:30 +01:00
José Fonseca
35355f7610
trace: New pipe driver to trace incoming calls.
...
Only pipe_screen calls traced, and only linux supported, for now.
2008-08-07 18:58:29 +01:00
José Fonseca
1ee500ac73
pipebuffer: Add an extra assertion to ensure buffers do not jump between lists.
2008-08-07 18:58:29 +01:00
José Fonseca
eb422a7243
raw2png: support some depth formats.
2008-08-07 18:58:29 +01:00
José Fonseca
72a5e47978
gallium: New function to dump surfaces.
2008-08-07 18:58:29 +01:00
Michal Krol
9a20cecc5c
mesa: Extend GLSL syntax to accept type precision in full type specifiers.
2008-08-07 16:49:54 +02:00
Michal Krol
c5c7130385
mesa: Silence compiler warnings on Windows.
2008-08-07 16:23:15 +02:00
Michal Krol
d50d7a54de
softpipe: Silence compiler warnings on Windows.
2008-08-07 16:22:34 +02:00
Brian Paul
ee8dfdf4c9
mesa: fix glBindTexture error string (bug 17005)
2008-08-07 07:54:53 -06:00
Ben Skeggs
ce8e846ffe
nv40/nv50: enable mirror wrap modes
2008-08-07 11:38:56 +10:00
Ben Skeggs
fda01b5847
nouveau: fix build
2008-08-07 11:26:17 +10:00
Ben Skeggs
4b1c508f49
Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
2008-08-07 11:19:15 +10:00
Brian Paul
a56ccb90c6
gallium: fix clipping/stride bugs in pipe_get_tile_raw(), pipe_put_tile_raw()
...
We need to compute the default dst_stride and src_stride _before_ clipping.
After clipping, the width value may have changed.
This fixes visible tile glitches in some demos like progs/glsl/texdemo.c
2008-08-06 19:15:10 -06:00
Brian Paul
be66a8f431
gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEAT
...
Check for these caps in state tracker and enable corresponding GL extensions
if supported.
2008-08-06 17:22:29 -06:00