Eric Anholt [Fri, 31 Oct 2008 20:13:08 +0000 (13:13 -0700)]
intel: Add more fallback debugging for glDrawPixels.
Gary Wong [Fri, 31 Oct 2008 21:31:57 +0000 (17:31 -0400)]
i965: implement the missing OPCODE_NOISE1 and OPCODE_NOISE2 instructions.
(Only in fragment shaders, so far. Support for NOISE3 and NOISE4 to come.)
Gary Wong [Wed, 29 Oct 2008 23:53:33 +0000 (19:53 -0400)]
i965: support destination horiz strides in align1 access mode.
This is required for scatter writes in destination regions to work.
Xiang, Haihao [Fri, 31 Oct 2008 01:24:27 +0000 (09:24 +0800)]
mesa: fix a typo in the previous commit
Xiang, Haihao [Thu, 30 Oct 2008 02:10:58 +0000 (10:10 +0800)]
mesa: fix an issue in _mesa_PointParameterfv().
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.
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)
Eric Anholt [Wed, 29 Oct 2008 05:50:52 +0000 (22:50 -0700)]
intel: Fix glDrawPixels with 4d RasterPos.
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.
Brian Paul [Wed, 29 Oct 2008 00:27:21 +0000 (18:27 -0600)]
mesa: include glslcompiler driver in tarball
Brian Paul [Tue, 28 Oct 2008 23:03:35 +0000 (17:03 -0600)]
mesa: fix stand-alone glslcompiler build
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.
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.
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*.
Eric Anholt [Fri, 24 Oct 2008 19:43:17 +0000 (12:43 -0700)]
i965: Fix compiler warning from unused var.
Eric Anholt [Fri, 24 Oct 2008 19:30:47 +0000 (12:30 -0700)]
i965: Remove dead brw->wrap flag.
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.
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).
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.
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.
Brian Paul [Thu, 23 Oct 2008 17:23:36 +0000 (11:23 -0600)]
mesa: version 43 of glext.h
Brian Paul [Thu, 23 Oct 2008 17:21:32 +0000 (11:21 -0600)]
mesa: version 21 of glxext.h
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.
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.
Brian Paul [Wed, 22 Oct 2008 13:48:37 +0000 (07:48 -0600)]
mesa: some re-org of glCopyTexSubImage1/2/3D() error checking
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)
Kristof Ralovich [Tue, 21 Oct 2008 14:20:24 +0000 (08:20 -0600)]
glx: updated comment
Xiang, Haihao [Tue, 21 Oct 2008 02:30:39 +0000 (10:30 +0800)]
i915: fix carsh in i830_emit_state. (bug #17766)
Brian Paul [Thu, 16 Oct 2008 20:21:17 +0000 (14:21 -0600)]
glxswapcontrol: added -fullscreen option
Brian Paul [Thu, 16 Oct 2008 20:16:41 +0000 (14:16 -0600)]
glxgears: for fullscreen, disable window borders the right way
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
Brian Paul [Thu, 16 Oct 2008 14:23:28 +0000 (08:23 -0600)]
mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861
Kristian Høgsberg [Sun, 12 Oct 2008 00:41:14 +0000 (20:41 -0400)]
Update DRI2 implementation according to new specification.
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...
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:14:33 +0000 (15:14 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxclient.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:13:21 +0000 (15:13 +0200)]
glx: indent -br -i3 -npcs --no-tabs glcontextmodes.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:10:59 +0000 (15:10 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxextensions.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:07:23 +0000 (15:07 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxextensions.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:04:31 +0000 (15:04 +0200)]
glx: indent -br -i3 -npcs --no-tabs xfont.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:03:54 +0000 (15:03 +0200)]
glx: indent -br -i3 -npcs --no-tabs xf86dristr.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:03:13 +0000 (15:03 +0200)]
glx: indent -br -i3 -npcs --no-tabs XF86dri.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 13:02:55 +0000 (15:02 +0200)]
glx: indent -br -i3 -npcs --no-tabs xf86dri.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:58:33 +0000 (14:58 +0200)]
glx: kill old K&R syntax in XF86dri.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:41:33 +0000 (14:41 +0200)]
glx: indent -br -i3 -npcs --no-tabs vertarr.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:37:06 +0000 (14:37 +0200)]
glx: indent -br -i3 -npcs --no-tabs singlepix.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:35:18 +0000 (14:35 +0200)]
glx: indent -br -i3 -npcs --no-tabs single2.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:34:43 +0000 (14:34 +0200)]
glx: indent -br -i3 -npcs --no-tabs renderpix.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:34:18 +0000 (14:34 +0200)]
glx: indent -br -i3 -npcs --no-tabs render2.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:33:28 +0000 (14:33 +0200)]
glx: indent -br -i3 -npcs --no-tabs pixelstore.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:32:52 +0000 (14:32 +0200)]
glx: indent -br -i3 -npcs --no-tabs pixel.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:31:49 +0000 (14:31 +0200)]
glx: indent -br -i3 -npcs --no-tabs packsingle.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:29:23 +0000 (14:29 +0200)]
glx: indent -br -i3 -npcs --no-tabs packrender.h
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
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
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
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
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
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
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
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:12:40 +0000 (14:12 +0200)]
glx: indent -br -i3 -npcs --no-tabs glx_query.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
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:10:16 +0000 (14:10 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxhash.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:10:06 +0000 (14:10 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxhash.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:08:45 +0000 (14:08 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxext.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:07:07 +0000 (14:07 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxcurrent.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 12:06:30 +0000 (14:06 +0200)]
glx: indent -br -i3 -npcs --no-tabs glxcmds.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:49:49 +0000 (13:49 +0200)]
glx: indent -br -i3 -npcs --no-tabs glcontextmodes.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:48:07 +0000 (13:48 +0200)]
glx: indent -br -i3 -npcs --no-tabs eval.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
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:40:09 +0000 (13:40 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri_glx.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:26:09 +0000 (13:26 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri_common.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:25:28 +0000 (13:25 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri_common.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:18:41 +0000 (13:18 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri2.h
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:17:32 +0000 (13:17 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri2_glx.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:16:28 +0000 (13:16 +0200)]
glx: indent -br -i3 -npcs --no-tabs dri2.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:12:37 +0000 (13:12 +0200)]
glx: indent -br -i3 -npcs --no-tabs compsize.c
RALOVICH, Kristóf [Mon, 13 Oct 2008 11:11:30 +0000 (13:11 +0200)]
glx: indent -br -i3 -npcs --no-tabs clientattrib.c
RALOVICH, Kristóf [Sat, 11 Oct 2008 12:27:07 +0000 (14:27 +0200)]
glx: add a line of Emacs helping variables
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.
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) .
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.
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.
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.
Brian Paul [Fri, 10 Oct 2008 22:30:18 +0000 (16:30 -0600)]
mesa: include needed header
Brian Paul [Fri, 10 Oct 2008 22:29:54 +0000 (16:29 -0600)]
mesa: remove unneeded includes
Brian Paul [Fri, 10 Oct 2008 22:26:15 +0000 (16:26 -0600)]
mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861
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
Brian Paul [Fri, 10 Oct 2008 22:21:52 +0000 (16:21 -0600)]
mesa: remove unneeded includes
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
Eric Anholt [Fri, 10 Oct 2008 16:43:15 +0000 (09:43 -0700)]
i965: Add missing intel_pixel_draw.c symlink to fix build.
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.
Eric Anholt [Thu, 9 Oct 2008 17:23:47 +0000 (10:23 -0700)]
i965: Actually hook up the accelerated DrawPixels support.
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.
Brian Paul [Wed, 8 Oct 2008 15:33:27 +0000 (09:33 -0600)]
mesa: vertex emit debug code (disabled)
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.
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.
Eric Anholt [Tue, 7 Oct 2008 00:34:51 +0000 (17:34 -0700)]
i965: Add ARB_occlusion_query support.
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.
Xiang, Haihao [Wed, 8 Oct 2008 01:30:12 +0000 (09:30 +0800)]
i965: Fix a potential assertion failure.
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.