OSDN Git Service
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.
Vinson Lee [Mon, 18 Jan 2010 00:08:59 +0000 (16:08 -0800)]
mesa: Remove unnecessary headers from texstate.c.
Vinson Lee [Sun, 17 Jan 2010 23:48:39 +0000 (15:48 -0800)]
mesa: Use preprocessor to comment out code.
Vinson Lee [Sun, 17 Jan 2010 09:49:16 +0000 (01:49 -0800)]
mesa: Remove unnecessary headers from vtxfmt.c.
Vinson Lee [Sun, 17 Jan 2010 07:41:05 +0000 (23:41 -0800)]
mesa: Remove unnecessary headers from arbprogparse.c.
Vinson Lee [Sun, 17 Jan 2010 00:15:37 +0000 (16:15 -0800)]
mesa: Remove unnecessary header from nvvertparse.c.
Vinson Lee [Sun, 17 Jan 2010 00:06:58 +0000 (16:06 -0800)]
glsl: Remove unnecessary header from prog_execute.c.
Vinson Lee [Sat, 16 Jan 2010 23:51:52 +0000 (15:51 -0800)]
glsl: Remove unnecessary header from prog_statevars.c.
Vinson Lee [Sat, 16 Jan 2010 23:35:56 +0000 (15:35 -0800)]
glsl: Remove unnecessary headers from shader_api.c.
Vinson Lee [Sat, 16 Jan 2010 23:00:29 +0000 (15:00 -0800)]
glsl: Remove unnecessary header from slang_emit.c.
Vinson Lee [Sat, 16 Jan 2010 21:29:15 +0000 (13:29 -0800)]
st/mesa: Remove unnecessary header from st_cb_drawpixels.c.
Vinson Lee [Sat, 16 Jan 2010 10:20:51 +0000 (02:20 -0800)]
glsl: Remove unnecessary header from slang_builtin.c.
Vinson Lee [Sat, 16 Jan 2010 10:16:24 +0000 (02:16 -0800)]
glsl: Remove unnecessary headers from slang_compile.c.
Vinson Lee [Sat, 16 Jan 2010 10:02:49 +0000 (02:02 -0800)]
glsl: Remove unnecessary header from slang_link.c.
Vinson Lee [Sat, 16 Jan 2010 09:50:08 +0000 (01:50 -0800)]
glsl: Remove unnecessary header from slang_log.c.
Vinson Lee [Sat, 16 Jan 2010 09:39:04 +0000 (01:39 -0800)]
st/mesa: Remove unnecessary header from st_atom_framebuffer.c.
Vinson Lee [Sat, 16 Jan 2010 08:52:34 +0000 (00:52 -0800)]
st/mesa: Remove unnecessary header from st_atom_pixeltransfer.c.
Vinson Lee [Sat, 16 Jan 2010 08:45:36 +0000 (00:45 -0800)]
st/mesa: Remove unnecessary header from st_atom_sampler.c.
Vinson Lee [Sat, 16 Jan 2010 08:36:31 +0000 (00:36 -0800)]
st/mesa: Remove unnecessary header from st_atom_shader.c.
Vinson Lee [Sat, 16 Jan 2010 08:30:25 +0000 (00:30 -0800)]
st/mesa: Remove unnecessary headers from st_cb_accum.c.
Vinson Lee [Sat, 16 Jan 2010 08:08:54 +0000 (00:08 -0800)]
st/mesa: Remove unnecessary headers from st_cb_bitmap.c.
Vinson Lee [Sat, 16 Jan 2010 07:17:00 +0000 (23:17 -0800)]
st/mesa: Remove unnecessary headers from st_cb_blit.c.