mesa.git
16 years agoglx: added PFNGL*PROC typedefs for GLX 1.3 functions
Brian Paul [Wed, 29 Oct 2008 21:49:19 +0000 (15:49 -0600)]
glx: added PFNGL*PROC typedefs for GLX 1.3 functions

Since we define GLX_VERSION_1_3 in glx.h, the typedefs in the glxext.h header
were getting skipped.

16 years agoglu: fix compilation problem when using Windows gl.h (sf bug 2204589)
Nigel Stewart [Wed, 29 Oct 2008 15:22:05 +0000 (09:22 -0600)]
glu: fix compilation problem when using Windows gl.h (sf bug 2204589)

16 years agointel: Fix glDrawPixels with 4d RasterPos.
Eric Anholt [Wed, 29 Oct 2008 05:50:52 +0000 (22:50 -0700)]
intel: Fix glDrawPixels with 4d RasterPos.

16 years agoi965: Fix check_aperture calls to cover everything needed for the prim at once.
Eric Anholt [Fri, 24 Oct 2008 20:02:21 +0000 (13:02 -0700)]
i965: Fix check_aperture calls to cover everything needed for the prim at once.

Previously, since my check_aperture API change, we would check each piece of
state against the batchbuffer individually, but not all the state against the
batchbuffer at once.  In addition to not being terribly useful in assuring
success, it probably also increased CPU load by calling check_aperture many
times per primitive.

16 years agomesa: include glslcompiler driver in tarball
Brian Paul [Wed, 29 Oct 2008 00:27:21 +0000 (18:27 -0600)]
mesa: include glslcompiler driver in tarball

16 years agomesa: fix stand-alone glslcompiler build
Brian Paul [Tue, 28 Oct 2008 23:03:35 +0000 (17:03 -0600)]
mesa: fix stand-alone glslcompiler build

16 years agointel: Don't keep intel->pClipRects, and instead just calculate it when needed.
Eric Anholt [Mon, 20 Oct 2008 00:46:41 +0000 (17:46 -0700)]
intel: Don't keep intel->pClipRects, and instead just calculate it when needed.

This avoids issues with dereferencing stale cliprects around intel_draw_buffer
time.  Additionally, take advantage of cliprects staying constant for FBOs and
DRI2, and emit cliprects in the batchbuffer instead of having to flush batch
each time they change.

16 years agoi965: Allocate temporaries contiguously with other regs in fragment shaders.
Gary Wong [Tue, 28 Oct 2008 19:03:14 +0000 (15:03 -0400)]
i965: Allocate temporaries contiguously with other regs in fragment shaders.

This is required for threads to be spawned with correctly sized GRF
register blocks.

16 years agoconfigure.ac: Add support for gnu/kfreebsd
Julien Cristau [Tue, 28 Oct 2008 17:56:05 +0000 (18:56 +0100)]
configure.ac: Add support for gnu/kfreebsd

Check for *-gnu instead of linux* to set DEFINES.
Change some freebsd* checks to *freebsd*.

16 years agoi965: Fix compiler warning from unused var.
Eric Anholt [Fri, 24 Oct 2008 19:43:17 +0000 (12:43 -0700)]
i965: Fix compiler warning from unused var.

16 years agoi965: Remove dead brw->wrap flag.
Eric Anholt [Fri, 24 Oct 2008 19:30:47 +0000 (12:30 -0700)]
i965: Remove dead brw->wrap flag.

16 years agointel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names.
Eric Anholt [Tue, 14 Oct 2008 20:30:52 +0000 (13:30 -0700)]
intel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names.

Previously, we were trying to pass a name to the GEM GET_TILING_IOCTL,
which needs a handle, and failing.  None of our buffers were tiled yet, but
they will be at some point with DRI2 and UXA.

16 years agointel: GL_FALSE on a BO if it won't be modified when mapping this BO. (thanks Eric).
Xiang, Haihao [Sat, 25 Oct 2008 22:31:33 +0000 (06:31 +0800)]
intel: GL_FALSE on a BO if it won't be modified when mapping this BO. (thanks Eric).

16 years agoi965: don't emit state when dri_bufmgr_check_aperture_space fails.
Xiang, Haihao [Fri, 24 Oct 2008 08:05:48 +0000 (16:05 +0800)]
i965: don't emit state when dri_bufmgr_check_aperture_space fails.

This ensures there is an unfilled batchbuffer used for emitting states again. Partial fix for #17964.

16 years agointel: fallback for intelEmitCopyBlit.
Xiang, Haihao [Fri, 24 Oct 2008 07:55:32 +0000 (15:55 +0800)]
intel: fallback for intelEmitCopyBlit.

Use _mesa_copy_rect instead of BLT operation if dri_bufmgr_check_aperture_space
still fails after flushing batchbuffer. Partial fix for #17964.

16 years agomesa: version 43 of glext.h
Brian Paul [Thu, 23 Oct 2008 17:23:36 +0000 (11:23 -0600)]
mesa: version 43 of glext.h

16 years agomesa: version 21 of glxext.h
Brian Paul [Thu, 23 Oct 2008 17:21:32 +0000 (11:21 -0600)]
mesa: version 21 of glxext.h

16 years agomesa: remove calls to _mesa_adjust_image_for_convolution(), use texImage fields
Brian Paul [Thu, 23 Oct 2008 16:49:51 +0000 (10:49 -0600)]
mesa: remove calls to _mesa_adjust_image_for_convolution(), use texImage fields

The texImage->Width/Height fields will have the post-convolution width/height.

16 years agomesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D()
Brian Paul [Wed, 22 Oct 2008 13:53:26 +0000 (07:53 -0600)]
mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D()

Do it after initial error checking, after we know the texture's internal format.

16 years agomesa: some re-org of glCopyTexSubImage1/2/3D() error checking
Brian Paul [Wed, 22 Oct 2008 13:48:37 +0000 (07:48 -0600)]
mesa: some re-org of glCopyTexSubImage1/2/3D() error checking

16 years agomesa: in textore.c, only adjust image for convolution if image is a color format
Brian Paul [Wed, 22 Oct 2008 13:36:33 +0000 (07:36 -0600)]
mesa: in textore.c, only adjust image for convolution if image is a color format

Makes things consistant with the code in teximage.c.
We only want to apply convolution to color formats (not depth/index formats)

16 years agoglx: updated comment
Kristof Ralovich [Tue, 21 Oct 2008 14:20:24 +0000 (08:20 -0600)]
glx: updated comment

16 years agoi915: fix carsh in i830_emit_state. (bug #17766)
Xiang, Haihao [Tue, 21 Oct 2008 02:30:39 +0000 (10:30 +0800)]
i915: fix carsh in i830_emit_state. (bug #17766)

16 years agoglxswapcontrol: added -fullscreen option
Brian Paul [Thu, 16 Oct 2008 20:21:17 +0000 (14:21 -0600)]
glxswapcontrol: added -fullscreen option

16 years agoglxgears: for fullscreen, disable window borders the right way
Brian Paul [Thu, 16 Oct 2008 20:16:41 +0000 (14:16 -0600)]
glxgears: for fullscreen, disable window borders the right way

16 years agofix span issue with really old ddx and non-tcl r100 chips
Roland Scheidegger [Thu, 16 Oct 2008 14:23:47 +0000 (16:23 +0200)]
fix span issue with really old ddx and non-tcl r100 chips

16 years agomesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861
Brian Paul [Thu, 16 Oct 2008 14:23:28 +0000 (08:23 -0600)]
mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861

16 years agoUpdate DRI2 implementation according to new specification.
Kristian Høgsberg [Sun, 12 Oct 2008 00:41:14 +0000 (20:41 -0400)]
Update DRI2 implementation according to new specification.

16 years agoRevert pointless reindents to avoid merge conflicts.
Kristian Høgsberg [Wed, 15 Oct 2008 03:07:42 +0000 (23:07 -0400)]
Revert pointless reindents to avoid merge conflicts.

Why are we reindenting code that's work in progress...

16 years agoglx: indent -br -i3 -npcs --no-tabs glxclient.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:14:33 +0000 (15:14 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxclient.h

16 years agoglx: indent -br -i3 -npcs --no-tabs glcontextmodes.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:13:21 +0000 (15:13 +0200)]
glx: indent -br -i3 -npcs --no-tabs glcontextmodes.h

16 years agoglx: indent -br -i3 -npcs --no-tabs glxextensions.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:10:59 +0000 (15:10 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxextensions.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glxextensions.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:07:23 +0000 (15:07 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxextensions.h

16 years agoglx: indent -br -i3 -npcs --no-tabs xfont.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:04:31 +0000 (15:04 +0200)]
glx: indent -br -i3 -npcs --no-tabs xfont.c

16 years agoglx: indent -br -i3 -npcs --no-tabs xf86dristr.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:03:54 +0000 (15:03 +0200)]
glx: indent -br -i3 -npcs --no-tabs xf86dristr.h

16 years agoglx: indent -br -i3 -npcs --no-tabs XF86dri.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:03:13 +0000 (15:03 +0200)]
glx: indent -br -i3 -npcs --no-tabs XF86dri.c

16 years agoglx: indent -br -i3 -npcs --no-tabs xf86dri.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:02:55 +0000 (15:02 +0200)]
glx: indent -br -i3 -npcs --no-tabs xf86dri.h

16 years agoglx: kill old K&R syntax in XF86dri.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:58:33 +0000 (14:58 +0200)]
glx: kill old K&R syntax in XF86dri.c

16 years agoglx: indent -br -i3 -npcs --no-tabs vertarr.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:41:33 +0000 (14:41 +0200)]
glx: indent -br -i3 -npcs --no-tabs vertarr.c

16 years agoglx: indent -br -i3 -npcs --no-tabs singlepix.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:37:06 +0000 (14:37 +0200)]
glx: indent -br -i3 -npcs --no-tabs singlepix.c

16 years agoglx: indent -br -i3 -npcs --no-tabs single2.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:35:18 +0000 (14:35 +0200)]
glx: indent -br -i3 -npcs --no-tabs single2.c

16 years agoglx: indent -br -i3 -npcs --no-tabs renderpix.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:34:43 +0000 (14:34 +0200)]
glx: indent -br -i3 -npcs --no-tabs renderpix.c

16 years agoglx: indent -br -i3 -npcs --no-tabs render2.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:34:18 +0000 (14:34 +0200)]
glx: indent -br -i3 -npcs --no-tabs render2.c

16 years agoglx: indent -br -i3 -npcs --no-tabs pixelstore.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:33:28 +0000 (14:33 +0200)]
glx: indent -br -i3 -npcs --no-tabs pixelstore.c

16 years agoglx: indent -br -i3 -npcs --no-tabs pixel.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:32:52 +0000 (14:32 +0200)]
glx: indent -br -i3 -npcs --no-tabs pixel.c

16 years agoglx: indent -br -i3 -npcs --no-tabs packsingle.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:31:49 +0000 (14:31 +0200)]
glx: indent -br -i3 -npcs --no-tabs packsingle.h

16 years agoglx: indent -br -i3 -npcs --no-tabs packrender.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:29:23 +0000 (14:29 +0200)]
glx: indent -br -i3 -npcs --no-tabs packrender.h

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_window_pos.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:27:46 +0000 (14:27 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_window_pos.c

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_vertex_program.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:27:07 +0000 (14:27 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_vertex_program.c

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_vertex_array_priv.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:25:55 +0000 (14:25 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_vertex_array_priv.h

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_vertex_array.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:21:17 +0000 (14:21 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_vertex_array.h

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_vertex_array.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:20:15 +0000 (14:20 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_vertex_array.c

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_transpose_matrix.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:19:24 +0000 (14:19 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_transpose_matrix.c

16 years agoglx: indent -br -i3 -npcs --no-tabs indirect_texture_compression.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:18:18 +0000 (14:18 +0200)]
glx: indent -br -i3 -npcs --no-tabs indirect_texture_compression.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glx_query.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:12:40 +0000 (14:12 +0200)]
glx: indent -br -i3 -npcs --no-tabs glx_query.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glx_pbuffer.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:12:02 +0000 (14:12 +0200)]
glx: indent -br -i3 -npcs --no-tabs glx_pbuffer.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glxhash.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:10:16 +0000 (14:10 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxhash.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glxhash.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:10:06 +0000 (14:10 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxhash.h

16 years agoglx: indent -br -i3 -npcs --no-tabs glxext.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:08:45 +0000 (14:08 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxext.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glxcurrent.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:07:07 +0000 (14:07 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxcurrent.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glxcmds.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:06:30 +0000 (14:06 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxcmds.c

16 years agoglx: indent -br -i3 -npcs --no-tabs glcontextmodes.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:49:49 +0000 (13:49 +0200)]
glx: indent -br -i3 -npcs --no-tabs glcontextmodes.c

16 years agoglx: indent -br -i3 -npcs --no-tabs eval.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:48:07 +0000 (13:48 +0200)]
glx: indent -br -i3 -npcs --no-tabs eval.c

16 years agoglx: indent -br -i3 -npcs --no-tabs drisw_glx.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:47:37 +0000 (13:47 +0200)]
glx: indent -br -i3 -npcs --no-tabs drisw_glx.c

16 years agoglx: indent -br -i3 -npcs --no-tabs dri_glx.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:40:09 +0000 (13:40 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri_glx.c

16 years agoglx: indent -br -i3 -npcs --no-tabs dri_common.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:26:09 +0000 (13:26 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri_common.h

16 years agoglx: indent -br -i3 -npcs --no-tabs dri_common.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:25:28 +0000 (13:25 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri_common.c

16 years agoglx: indent -br -i3 -npcs --no-tabs dri2.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:18:41 +0000 (13:18 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri2.h

16 years agoglx: indent -br -i3 -npcs --no-tabs dri2_glx.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:17:32 +0000 (13:17 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri2_glx.c

16 years agoglx: indent -br -i3 -npcs --no-tabs dri2.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:16:28 +0000 (13:16 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri2.c

16 years agoglx: indent -br -i3 -npcs --no-tabs compsize.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:12:37 +0000 (13:12 +0200)]
glx: indent -br -i3 -npcs --no-tabs compsize.c

16 years agoglx: indent -br -i3 -npcs --no-tabs clientattrib.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:11:30 +0000 (13:11 +0200)]
glx: indent -br -i3 -npcs --no-tabs clientattrib.c

16 years agoglx: add a line of Emacs helping variables
RALOVICH, Kristóf [Sat, 11 Oct 2008 12:27:07 +0000 (14:27 +0200)]
glx: add a line of Emacs helping variables

16 years agoglx: No need to zero a local variable.
RALOVICH, Kristóf [Sat, 11 Oct 2008 11:09:50 +0000 (13:09 +0200)]
glx: No need to zero a local variable.

My previous commit e2060348630b59a446bac7f734fdde40033093ab introduced this.

16 years agoglx: make INIT_MESA_SPARC more robust
RALOVICH, Kristóf [Sat, 11 Oct 2008 10:56:32 +0000 (12:56 +0200)]
glx: make INIT_MESA_SPARC more robust

Embed the macro body into do { ... } while(0) .

16 years agoi915: Texture instructions use r/t/oC/oD register as texture coordinate.
Xiang, Haihao [Mon, 13 Oct 2008 05:04:04 +0000 (13:04 +0800)]
i915: Texture instructions use r/t/oC/oD register as texture coordinate.

Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.

16 years agointel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).
Eric Anholt [Fri, 26 Sep 2008 02:11:03 +0000 (19:11 -0700)]
intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).

This is nasty because there's no way in GL to output data to the stencil
buffer directly, so we have to do a dance to wrap the depth/stencil buffer
in an ARGB renderbuffer.

Improves performance of several oglconform testcases by better than a factor
of 2.

16 years agomesa: fix asst. issues in _mesa_texstore_argb8888()
Brian Paul [Fri, 10 Oct 2008 22:30:43 +0000 (16:30 -0600)]
mesa: fix asst. issues in _mesa_texstore_argb8888()

If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro),
we don't have to worry about big vs. little endian.  See comments about
texel formats in texformat.h.
Remove an unneeded/incorrect else-if clause that produced wrong results
on big-endian systems.

16 years agomesa: include needed header
Brian Paul [Fri, 10 Oct 2008 22:30:18 +0000 (16:30 -0600)]
mesa: include needed header

16 years agomesa: remove unneeded includes
Brian Paul [Fri, 10 Oct 2008 22:29:54 +0000 (16:29 -0600)]
mesa: remove unneeded includes

16 years agomesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861
Brian Paul [Fri, 10 Oct 2008 22:26:15 +0000 (16:26 -0600)]
mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861

16 years agomesa: rename macro params to emphasize that there's no particular color ordering
Brian Paul [Fri, 10 Oct 2008 22:23:31 +0000 (16:23 -0600)]
mesa: rename macro params to emphasize that there's no particular color ordering

16 years agomesa: remove unneeded includes
Brian Paul [Fri, 10 Oct 2008 22:21:52 +0000 (16:21 -0600)]
mesa: remove unneeded includes

16 years agointel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driver
Ian Romanick [Fri, 10 Oct 2008 18:47:43 +0000 (11:47 -0700)]
intel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driver

16 years agoi965: Add missing intel_pixel_draw.c symlink to fix build.
Eric Anholt [Fri, 10 Oct 2008 16:43:15 +0000 (09:43 -0700)]
i965: Add missing intel_pixel_draw.c symlink to fix build.

16 years agoi965: Accelerate depth textures with border color.
Eric Anholt [Thu, 9 Oct 2008 18:45:58 +0000 (11:45 -0700)]
i965: Accelerate depth textures with border color.

The fallback was introduced to fix bug #16697, but made the test it was
fixing run excessively long.

16 years agoi965: Actually hook up the accelerated DrawPixels support.
Eric Anholt [Thu, 9 Oct 2008 17:23:47 +0000 (10:23 -0700)]
i965: Actually hook up the accelerated DrawPixels support.

16 years agoi915: Accelerate depth textures with border color.
Eric Anholt [Thu, 9 Oct 2008 06:34:38 +0000 (23:34 -0700)]
i915: Accelerate depth textures with border color.

The fallback was introduced to fix bug #16697, but made the test it was
fixing run excessively long.

16 years agomesa: vertex emit debug code (disabled)
Brian Paul [Wed, 8 Oct 2008 15:33:27 +0000 (09:33 -0600)]
mesa: vertex emit debug code (disabled)

16 years agomesa: fix vertex format/attribute bug
Brian Paul [Wed, 8 Oct 2008 15:28:10 +0000 (09:28 -0600)]
mesa: fix vertex format/attribute bug

If the tnl output attributes matches the swsetup input attributes we still
need to check if the desired vertex color type (float vs. chan) has changed
so that we use the right emit functions.

Fixes a conformance failure found with logicop test at pathlevel 3.

16 years agomesa: Pass the context to query object delete cb to avoid null dereference.
Eric Anholt [Wed, 8 Oct 2008 01:47:31 +0000 (18:47 -0700)]
mesa: Pass the context to query object delete cb to avoid null dereference.

16 years agoi965: Add ARB_occlusion_query support.
Eric Anholt [Tue, 7 Oct 2008 00:34:51 +0000 (17:34 -0700)]
i965: Add ARB_occlusion_query support.

16 years agointel: Push flushing for cliprects changes down into the cliprects changes.
Eric Anholt [Fri, 3 Oct 2008 23:20:00 +0000 (16:20 -0700)]
intel: Push flushing for cliprects changes down into the cliprects changes.

This lets us short-circuit when we're leaving the same cliprects in place,
which becomes quite common with metaops clears, and may be useful for some of
our FBO paths.

16 years agoi965: Fix a potential assertion failure.
Xiang, Haihao [Wed, 8 Oct 2008 01:30:12 +0000 (09:30 +0800)]
i965: Fix a potential assertion failure.

16 years agomesa: pass 'mask', not NULL to renderbuffer->Put functions
Brian Paul [Tue, 7 Oct 2008 22:52:47 +0000 (16:52 -0600)]
mesa: pass 'mask', not NULL to renderbuffer->Put functions

Fixes bug 17800.

16 years agomesa: fix convolve/convolution mix-ups
Brian [Mon, 6 Oct 2008 23:10:22 +0000 (17:10 -0600)]
mesa: fix convolve/convolution mix-ups

16 years agomesa: set FRAG_BIT_FOGC bit in InputsUsed if FogOption!=GL_NONE
Brian Paul [Mon, 6 Oct 2008 18:29:29 +0000 (12:29 -0600)]
mesa: set FRAG_BIT_FOGC bit in InputsUsed if FogOption!=GL_NONE

16 years agomesa: adjust texcoords for swrast sprite points.
Brian Paul [Mon, 6 Oct 2008 17:34:01 +0000 (11:34 -0600)]
mesa: adjust texcoords for swrast sprite points.

Fixes glean pointSprite test w/ software rendering

16 years agomesa: fix static library construction
Brian Paul [Mon, 6 Oct 2008 16:58:16 +0000 (10:58 -0600)]
mesa: fix static library construction

If the .a is made of other .a files, extract the objects from the later.

16 years agomesa: updated _mesa_delete_query() comments
Brian Paul [Mon, 6 Oct 2008 15:32:33 +0000 (09:32 -0600)]
mesa: updated _mesa_delete_query() comments