Vinson Lee [Sun, 24 Jan 2010 04:43:27 +0000 (20:43 -0800)]
r300: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 22:33:29 +0000 (14:33 -0800)]
intel: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 10:14:56 +0000 (02:14 -0800)]
radeon: Remove unused variable.
Vinson Lee [Sat, 23 Jan 2010 09:54:53 +0000 (01:54 -0800)]
tdfx: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 09:40:44 +0000 (01:40 -0800)]
sis: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 08:38:14 +0000 (00:38 -0800)]
savage: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 08:19:29 +0000 (00:19 -0800)]
mga: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 07:53:39 +0000 (23:53 -0800)]
i965: Remove unnecessary headers.
Vinson Lee [Sat, 23 Jan 2010 07:22:16 +0000 (23:22 -0800)]
i915: Remove unnecessary headers.
Brian Paul [Sat, 23 Jan 2010 00:17:01 +0000 (17:17 -0700)]
gallium/util: fix incorrect shift in a4r4g4b4_put_tile_rgba()
Fixes fd.o bug 23313.
Brian Paul [Fri, 22 Jan 2010 22:41:08 +0000 (15:41 -0700)]
mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()
This is faster and ensures that NaN floats get stored properly.
Before, NaN values (which might be used with UP2H, UP2US, UP4B and
UP4UB) weren't getting stored properly with gcc -O3.
This is the second part of the fix for the piglit fp-unpack-01 failure
(bug 25973).
Brian Paul [Fri, 22 Jan 2010 22:36:28 +0000 (15:36 -0700)]
mesa: use new fetch_vector1ui() function for 'unpack' GPU instructions
The UP2H, UP2US, UP4B and UP4UB instructions interpret the float
registers as integers. With gcc -O3 some bits were getting mixed up
somewhere. This is part of the fix for the piglit fp-unpack-01 test
failure (bug 25973).
Brian Paul [Fri, 22 Jan 2010 20:07:04 +0000 (13:07 -0700)]
xlib/softpipe: more buffer free fixes
The previous memory leak fix didn't always work properly.
Now check the xm_buffer::smh field (now documented!) to
see if the buffer points to shared memory.
Brian Paul [Fri, 22 Jan 2010 18:45:40 +0000 (11:45 -0700)]
gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elements
Depending on first/last provoking vertex either the first or last
element/index may have the extra DRAW_PIPE_x flags. Mask off those
bits for all vertex elements to be safe (esp. for the quad case).
This may be overly cautious, but it's a cheap operation.
Fixes a segfault caused by large/bogus vertex indexes otherwise.
Brian Paul [Fri, 22 Jan 2010 18:39:19 +0000 (11:39 -0700)]
gallium/draw: added comments, whitespace fixes
Ruediger Oertel [Fri, 22 Jan 2010 14:53:27 +0000 (06:53 -0800)]
Fix PowerPC related typo in spantmp2.h
Signed-off-by: Matthias Hopf <mhopf@suse.de>
Signed-off-by: Brian Paul <brianp@vmware.com>
José Fonseca [Fri, 22 Jan 2010 05:18:25 +0000 (21:18 -0800)]
vmware/core: Update for pipebuffer changes.
In particular, delay patching GMR relocations until the buffers are
validated, since the buffers relative offset can only be established then.
Vinson Lee [Fri, 22 Jan 2010 07:41:57 +0000 (23:41 -0800)]
st/mesa: Remove unnecessary header from st_cb_viewport.c.
Vinson Lee [Fri, 22 Jan 2010 07:24:40 +0000 (23:24 -0800)]
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
Vinson Lee [Fri, 22 Jan 2010 07:09:06 +0000 (23:09 -0800)]
i915g: Remove unnecessary header.
Vinson Lee [Fri, 22 Jan 2010 07:07:29 +0000 (23:07 -0800)]
pipebuffer: Remove unnecessary header.
Vinson Lee [Fri, 22 Jan 2010 06:57:12 +0000 (22:57 -0800)]
draw: Remove unnecessary headers.
Vinson Lee [Fri, 22 Jan 2010 01:24:07 +0000 (17:24 -0800)]
svga: Remove unused variable.
José Fonseca [Thu, 21 Jan 2010 23:51:37 +0000 (15:51 -0800)]
vmware/core: Flush preemptively the FIFO commands to keep the GMR working set within reasonable bounds.
José Fonseca [Thu, 21 Jan 2010 23:47:52 +0000 (15:47 -0800)]
vmware/core: Put GMR pool size in a define.
José Fonseca [Thu, 21 Jan 2010 23:27:26 +0000 (15:27 -0800)]
vmw/wgl: Update for pipebuffer changes.
This is a minimum change to keep things building and running minimally -- it
might cause applications to fail to allocate buffers due to out of
GMR memory.
A proper update will be commited later.
José Fonseca [Thu, 21 Jan 2010 20:12:47 +0000 (12:12 -0800)]
svga: Remove duplicate code.
José Fonseca [Thu, 21 Jan 2010 22:24:53 +0000 (14:24 -0800)]
svga: Remove unused code.
José Fonseca [Wed, 20 Jan 2010 11:45:17 +0000 (03:45 -0800)]
svga: Don't swap buffers to system memory -- winsys' responsibility.
José Fonseca [Thu, 21 Jan 2010 20:43:40 +0000 (12:43 -0800)]
pipebuffer: Release the lock during map wait. Cleanups.
José Fonseca [Wed, 20 Jan 2010 11:43:53 +0000 (03:43 -0800)]
pipebuffer: Swap buffers out to system memory when running out of memory.
José Fonseca [Thu, 21 Jan 2010 20:13:27 +0000 (12:13 -0800)]
svga: Avoid synchronization issues when doing SW TNL.
José Fonseca [Thu, 21 Jan 2010 17:42:05 +0000 (09:42 -0800)]
mesa: Use pipe_buffer_write_nooverlap where appropriate.
José Fonseca [Thu, 21 Jan 2010 17:38:47 +0000 (09:38 -0800)]
util: Set DISCARD & UNSYNCHRONIZED when uploading vertices sequentially.
José Fonseca [Thu, 21 Jan 2010 17:32:17 +0000 (09:32 -0800)]
util: Use pipe_buffer_write_nooverlap in blits / mipmap generation.
José Fonseca [Thu, 21 Jan 2010 17:30:22 +0000 (09:30 -0800)]
gallium: New inline to write buffers which avoids synchronization.
José Fonseca [Thu, 21 Jan 2010 17:19:25 +0000 (09:19 -0800)]
gallium: Set PIPE_BUFFER_USAGE_DISCARD flag in pipe_buffer_write.
José Fonseca [Thu, 21 Jan 2010 17:13:15 +0000 (09:13 -0800)]
gallium: Remove temporary hack for the absence of a discard flag.
PIPE_BUFFER_USAGE_DISCARD flag now exists.
José Fonseca [Thu, 21 Jan 2010 20:12:33 +0000 (12:12 -0800)]
svga: Follow buffer usage semantics properly.
It's necessary to download buffers from the host always, except if the
buffer is undefined, because:
- just PIPE_BUFFER_USAGE_CPU_WRITE doesn't guarantee all data is written
-- old contents may still pierce through
- PIPE_BUFFER_USAGE_DISCARD refers to a range, not the whole buffer, so
unless we track which parts have been modified and not we still need
to download the data.
Vinson Lee [Thu, 21 Jan 2010 23:05:21 +0000 (15:05 -0800)]
st/xorg: Remove unnecessary headers.
Roland Scheidegger [Thu, 21 Jan 2010 22:30:16 +0000 (17:30 -0500)]
r200: fix CS section size mismatch
Partial fix for fdo bug 25544
The tex handling will still need CS drm changes,
see bug 25544 for more.
Vinson Lee [Thu, 21 Jan 2010 22:31:15 +0000 (14:31 -0800)]
llvmpipe: Remove unnecessary headers.
Vinson Lee [Thu, 21 Jan 2010 20:12:11 +0000 (12:12 -0800)]
svga: Remove unnecessary headers.
Vinson Lee [Thu, 21 Jan 2010 06:52:49 +0000 (22:52 -0800)]
mach64: Remove unnecessary headers.
Vinson Lee [Thu, 21 Jan 2010 06:02:51 +0000 (22:02 -0800)]
i810: Remove unnecessary headers.
Vinson Lee [Thu, 21 Jan 2010 00:27:44 +0000 (16:27 -0800)]
ffb: Remove unnecessary headers.
Brian Paul [Wed, 20 Jan 2010 17:32:13 +0000 (10:32 -0700)]
xlib/softpipe: fix buffer memory leak
Fixes leak caused by window resize.
Brian Paul [Wed, 20 Jan 2010 15:03:46 +0000 (08:03 -0700)]
st/mesa: fix format logic in compatible_src_dst_formats()
We need to consider the user-requested formats, not the actual device-
chosen formats. See code comments for more details.
Brian Paul [Tue, 19 Jan 2010 23:42:43 +0000 (16:42 -0700)]
docs: updated Mesa mailing list info
Jakob Bornecrantz [Wed, 20 Jan 2010 14:53:38 +0000 (14:53 +0000)]
st/xorg: Fic bug and close drm_api at proper place
Vinson Lee [Wed, 20 Jan 2010 08:08:54 +0000 (00:08 -0800)]
softpipe: Remove unnecessary headers.
Vinson Lee [Wed, 20 Jan 2010 06:47:03 +0000 (22:47 -0800)]
i915g: Remove unnecessary headers.
Jakob Bornecrantz [Tue, 19 Jan 2010 21:26:01 +0000 (22:26 +0100)]
svga: Do a more propper creation of textures from handles
Jakob Bornecrantz [Tue, 19 Jan 2010 22:29:56 +0000 (23:29 +0100)]
st/xorg: Don't leak BusID buffer
Jakob Bornecrantz [Tue, 19 Jan 2010 17:14:19 +0000 (17:14 +0000)]
st/xorg: Pass kernel driver name to drmOpen
Jakob Bornecrantz [Tue, 19 Jan 2010 16:46:28 +0000 (16:46 +0000)]
st/drm: Expose kernel driver name
Based on patch by Chia-I Wu <olvaffe@gmail.com>
Expose the name of the kernel driver as accepted by drmOpenByName.
Ben Skeggs [Mon, 11 Jan 2010 01:41:47 +0000 (11:41 +1000)]
st/dri: update dri2 drawables when viewport is changed
Fixes gnome-shell on nouveau, as well as window resize with various
other applications.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Luca Barbieri [Sun, 17 Jan 2010 07:19:19 +0000 (23:19 -0800)]
glx: Set GL context to null in __glXSetCurrentContextNull
__glXSetCurrentContextNull currently does not set the GL context to null
in the direct rendering case.
This can result in a segfault trying to flush an invalid old context
in glXMakeCurrent.
This fixes a crash starting the Unigine demos (they still don't work due
to missing extensions though).
Signed-off-by: Brian Paul <brianp@vmware.com>
José Fonseca [Tue, 19 Jan 2010 14:13:44 +0000 (06:13 -0800)]
wgl: Check for PIPE_TEXTURE_USAGE_DISPLAY_TARGET support in exported color pixel formats.
Since all formats we export have PFD_DRAW_TO_WINDOW flag.
José Fonseca [Tue, 19 Jan 2010 14:12:10 +0000 (06:12 -0800)]
wgl: Don't export pure-stencil pixel formats.
They cause DCT's conform to always fail.
José Fonseca [Tue, 19 Jan 2010 13:39:18 +0000 (05:39 -0800)]
softpipe: Fix vertex buffer memory leak.
Vinson Lee [Tue, 19 Jan 2010 08:45:16 +0000 (00:45 -0800)]
unichrome: Remove unnecessary headers.
Vinson Lee [Tue, 19 Jan 2010 06:50:08 +0000 (22:50 -0800)]
mesa: Remove unnecessary header from attrib.c.
Vinson Lee [Tue, 19 Jan 2010 06:45:23 +0000 (22:45 -0800)]
mesa: Remove unnecessary header from blend.c.
Vinson Lee [Tue, 19 Jan 2010 06:17:03 +0000 (22:17 -0800)]
mesa: Remove unnecessary headers from buffers.c.
Vinson Lee [Tue, 19 Jan 2010 05:56:58 +0000 (21:56 -0800)]
mesa: Remove unnecessary header from convolve.c.
Vinson Lee [Tue, 19 Jan 2010 05:41:31 +0000 (21:41 -0800)]
mesa: Fix typo of 'unknown' in debug.c.
Vinson Lee [Tue, 19 Jan 2010 05:37:18 +0000 (21:37 -0800)]
mesa: Remove unnecessary headers from debug.c.
Vinson Lee [Tue, 19 Jan 2010 05:34:25 +0000 (21:34 -0800)]
mesa: Remove unnecessary header from depthstencil.c.
Vinson Lee [Tue, 19 Jan 2010 05:31:02 +0000 (21:31 -0800)]
mesa: Remove unnecessary headers from dlist.c.
Vinson Lee [Tue, 19 Jan 2010 05:22:47 +0000 (21:22 -0800)]
mesa: Remove unnecessary header from drawpix.c.
Vinson Lee [Tue, 19 Jan 2010 05:17:45 +0000 (21:17 -0800)]
mesa: Remove unnecessary header from enable.c.
Vinson Lee [Tue, 19 Jan 2010 05:14:04 +0000 (21:14 -0800)]
mesa: Remove unnecessary headers from fbobject.c.
Vinson Lee [Tue, 19 Jan 2010 05:07:53 +0000 (21:07 -0800)]
mesa: Remove unnecessary header from formats.c.
Vinson Lee [Tue, 19 Jan 2010 05:02:19 +0000 (21:02 -0800)]
mesa: Remove unnecessary header from image.c.
José Fonseca [Tue, 19 Jan 2010 03:33:13 +0000 (19:33 -0800)]
softpipe: Skip depth testing for PIPE_S8_UNORM.
José Fonseca [Tue, 19 Jan 2010 03:32:36 +0000 (19:32 -0800)]
mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM.
José Fonseca [Thu, 14 Jan 2010 15:07:20 +0000 (15:07 +0000)]
pipebuffer: Ensure buffer size/alignment is not zero.
José Fonseca [Thu, 14 Jan 2010 15:06:48 +0000 (15:06 +0000)]
svga: Ensure buffer size/alignment is not zero.
Vinson Lee [Tue, 19 Jan 2010 03:32:51 +0000 (19:32 -0800)]
mesa: Remove unnecessary headers from lines.c.
Vinson Lee [Tue, 19 Jan 2010 03:23:47 +0000 (19:23 -0800)]
mesa: Remove unnecessary header from mipmap.c.
Vinson Lee [Tue, 19 Jan 2010 03:20:56 +0000 (19:20 -0800)]
mesa: Remove unnecessary header from pixel.c.
Vinson Lee [Tue, 19 Jan 2010 03:14:23 +0000 (19:14 -0800)]
mesa: Remove unnecessary headers from pixelstore.c.
Vinson Lee [Tue, 19 Jan 2010 03:10:05 +0000 (19:10 -0800)]
mesa: Remove unnecessary header from points.c.
Vinson Lee [Tue, 19 Jan 2010 03:03:54 +0000 (19:03 -0800)]
mesa: Remove unnecessary header from polygon.c.
Vinson Lee [Tue, 19 Jan 2010 02:54:54 +0000 (18:54 -0800)]
mesa: Remove unnecessary header from state.c.
Vinson Lee [Tue, 19 Jan 2010 02:52:24 +0000 (18:52 -0800)]
mesa: Remove unnecessary headers from texcompress.c.
Vinson Lee [Tue, 19 Jan 2010 02:14:03 +0000 (18:14 -0800)]
st/dri: Add comment for intentional fallthrough in case statement.
Brian Paul [Mon, 18 Jan 2010 18:26:55 +0000 (11:26 -0700)]
st/mesa: change instruction count assertion to > 0
Shaders should at least have an END instruction.
Marcin Slusarz [Mon, 18 Jan 2010 17:48:06 +0000 (10:48 -0700)]
st/dri: fix optionCache memory leaks
Signed-off-by: Brian Paul <brianp@vmware.com>
Marcin Slusarz [Sun, 17 Jan 2010 22:49:34 +0000 (14:49 -0800)]
glxgears: unbind current context before "destroying" it
glXDestroyContext does not destroy the context if it's still
connected to some window. Unbind context from window to test it.
Signed-off-by: Brian Paul <brianp@vmware.com>
Jakob Bornecrantz [Fri, 15 Jan 2010 01:29:13 +0000 (01:29 +0000)]
st/xorg: If dri2 version is 2 support version 1 as well
Thanks to X server commit
2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca
it is possible to be ABI compatible in version 2 with version 1 of
the DRI2 interface.
Jakob Bornecrantz [Fri, 15 Jan 2010 01:14:55 +0000 (01:14 +0000)]
st/xorg: Set enforce version to 1 if not defined
Thomas Hellstrom [Mon, 18 Jan 2010 14:55:17 +0000 (15:55 +0100)]
ws/vmware: Check DRM version also when bootstrapping in dri2 mode.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 18 Jan 2010 12:33:08 +0000 (13:33 +0100)]
st/dri: Don't request a fake front if the server adds one automatically.
We use the presence of the getBuffersWithFormat extension function to
detect whether the server automatically adds a front.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Vinson Lee [Mon, 18 Jan 2010 08:47:56 +0000 (00:47 -0800)]
mesa: Remove unnecessary headers from texformat.c.
Vinson Lee [Mon, 18 Jan 2010 08:14:51 +0000 (00:14 -0800)]
mesa: Remove unnecessary headers from texgetimage.c.
Vinson Lee [Mon, 18 Jan 2010 06:31:53 +0000 (22:31 -0800)]
mesa: Remove unnecessary header from teximage.c.
Vinson Lee [Mon, 18 Jan 2010 04:50:15 +0000 (20:50 -0800)]
mesa: Remove unnecessary header from texobj.c.
Vinson Lee [Mon, 18 Jan 2010 00:21:11 +0000 (16:21 -0800)]
mesa: Remove unnecessary header from texparam.c.