mesa.git
14 years agost/dri: fix optionCache memory leaks
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>
14 years agoglxgears: unbind current context before "destroying" it
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>
14 years agost/xorg: If dri2 version is 2 support version 1 as well
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.

14 years agost/xorg: Set enforce version to 1 if not defined
Jakob Bornecrantz [Fri, 15 Jan 2010 01:14:55 +0000 (01:14 +0000)]
st/xorg: Set enforce version to 1 if not defined

14 years agows/vmware: Check DRM version also when bootstrapping in dri2 mode.
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>
14 years agost/dri: Don't request a fake front if the server adds one automatically.
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>
14 years agomesa: Remove unnecessary headers from texformat.c.
Vinson Lee [Mon, 18 Jan 2010 08:47:56 +0000 (00:47 -0800)]
mesa: Remove unnecessary headers from texformat.c.

14 years agomesa: Remove unnecessary headers from texgetimage.c.
Vinson Lee [Mon, 18 Jan 2010 08:14:51 +0000 (00:14 -0800)]
mesa: Remove unnecessary headers from texgetimage.c.

14 years agomesa: Remove unnecessary header from teximage.c.
Vinson Lee [Mon, 18 Jan 2010 06:31:53 +0000 (22:31 -0800)]
mesa: Remove unnecessary header from teximage.c.

14 years agomesa: Remove unnecessary header from texobj.c.
Vinson Lee [Mon, 18 Jan 2010 04:50:15 +0000 (20:50 -0800)]
mesa: Remove unnecessary header from texobj.c.

14 years agomesa: Remove unnecessary header from texparam.c.
Vinson Lee [Mon, 18 Jan 2010 00:21:11 +0000 (16:21 -0800)]
mesa: Remove unnecessary header from texparam.c.

14 years agomesa: Remove unnecessary headers from texstate.c.
Vinson Lee [Mon, 18 Jan 2010 00:08:59 +0000 (16:08 -0800)]
mesa: Remove unnecessary headers from texstate.c.

14 years agomesa: Use preprocessor to comment out code.
Vinson Lee [Sun, 17 Jan 2010 23:48:39 +0000 (15:48 -0800)]
mesa: Use preprocessor to comment out code.

14 years agomesa: Remove unnecessary headers from vtxfmt.c.
Vinson Lee [Sun, 17 Jan 2010 09:49:16 +0000 (01:49 -0800)]
mesa: Remove unnecessary headers from vtxfmt.c.

14 years agomesa: Remove unnecessary headers from arbprogparse.c.
Vinson Lee [Sun, 17 Jan 2010 07:41:05 +0000 (23:41 -0800)]
mesa: Remove unnecessary headers from arbprogparse.c.

14 years agomesa: Remove unnecessary header from nvvertparse.c.
Vinson Lee [Sun, 17 Jan 2010 00:15:37 +0000 (16:15 -0800)]
mesa: Remove unnecessary header from nvvertparse.c.

14 years agoglsl: Remove unnecessary header from prog_execute.c.
Vinson Lee [Sun, 17 Jan 2010 00:06:58 +0000 (16:06 -0800)]
glsl: Remove unnecessary header from prog_execute.c.

14 years agoglsl: Remove unnecessary header from prog_statevars.c.
Vinson Lee [Sat, 16 Jan 2010 23:51:52 +0000 (15:51 -0800)]
glsl: Remove unnecessary header from prog_statevars.c.

14 years agoglsl: Remove unnecessary headers from shader_api.c.
Vinson Lee [Sat, 16 Jan 2010 23:35:56 +0000 (15:35 -0800)]
glsl: Remove unnecessary headers from shader_api.c.

14 years agoglsl: Remove unnecessary header from slang_emit.c.
Vinson Lee [Sat, 16 Jan 2010 23:00:29 +0000 (15:00 -0800)]
glsl: Remove unnecessary header from slang_emit.c.

14 years agost/mesa: Remove unnecessary header from st_cb_drawpixels.c.
Vinson Lee [Sat, 16 Jan 2010 21:29:15 +0000 (13:29 -0800)]
st/mesa: Remove unnecessary header from st_cb_drawpixels.c.

14 years agoglsl: Remove unnecessary header from slang_builtin.c.
Vinson Lee [Sat, 16 Jan 2010 10:20:51 +0000 (02:20 -0800)]
glsl: Remove unnecessary header from slang_builtin.c.

14 years agoglsl: Remove unnecessary headers from slang_compile.c.
Vinson Lee [Sat, 16 Jan 2010 10:16:24 +0000 (02:16 -0800)]
glsl: Remove unnecessary headers from slang_compile.c.

14 years agoglsl: Remove unnecessary header from slang_link.c.
Vinson Lee [Sat, 16 Jan 2010 10:02:49 +0000 (02:02 -0800)]
glsl: Remove unnecessary header from slang_link.c.

14 years agoglsl: Remove unnecessary header from slang_log.c.
Vinson Lee [Sat, 16 Jan 2010 09:50:08 +0000 (01:50 -0800)]
glsl: Remove unnecessary header from slang_log.c.

14 years agost/mesa: Remove unnecessary header from st_atom_framebuffer.c.
Vinson Lee [Sat, 16 Jan 2010 09:39:04 +0000 (01:39 -0800)]
st/mesa: Remove unnecessary header from st_atom_framebuffer.c.

14 years agost/mesa: Remove unnecessary header from st_atom_pixeltransfer.c.
Vinson Lee [Sat, 16 Jan 2010 08:52:34 +0000 (00:52 -0800)]
st/mesa: Remove unnecessary header from st_atom_pixeltransfer.c.

14 years agost/mesa: Remove unnecessary header from st_atom_sampler.c.
Vinson Lee [Sat, 16 Jan 2010 08:45:36 +0000 (00:45 -0800)]
st/mesa: Remove unnecessary header from st_atom_sampler.c.

14 years agost/mesa: Remove unnecessary header from st_atom_shader.c.
Vinson Lee [Sat, 16 Jan 2010 08:36:31 +0000 (00:36 -0800)]
st/mesa: Remove unnecessary header from st_atom_shader.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_accum.c.
Vinson Lee [Sat, 16 Jan 2010 08:30:25 +0000 (00:30 -0800)]
st/mesa: Remove unnecessary headers from st_cb_accum.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_bitmap.c.
Vinson Lee [Sat, 16 Jan 2010 08:08:54 +0000 (00:08 -0800)]
st/mesa: Remove unnecessary headers from st_cb_bitmap.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_blit.c.
Vinson Lee [Sat, 16 Jan 2010 07:17:00 +0000 (23:17 -0800)]
st/mesa: Remove unnecessary headers from st_cb_blit.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_clear.c.
Vinson Lee [Sat, 16 Jan 2010 07:02:07 +0000 (23:02 -0800)]
st/mesa: Remove unnecessary headers from st_cb_clear.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_drawpixels.c.
Vinson Lee [Sat, 16 Jan 2010 06:55:47 +0000 (22:55 -0800)]
st/mesa: Remove unnecessary headers from st_cb_drawpixels.c.

14 years agor600: fill in some missing XRGB tex formats
Alex Deucher [Sat, 16 Jan 2010 03:23:40 +0000 (22:23 -0500)]
r600: fill in some missing XRGB tex formats

14 years agor600: set tiling correctly for texturing from depth buffer
Alex Deucher [Sat, 16 Jan 2010 01:54:12 +0000 (20:54 -0500)]
r600: set tiling correctly for texturing from depth buffer

14 years agor600: fix typo in SQ setup
Alex Deucher [Sat, 16 Jan 2010 01:53:53 +0000 (20:53 -0500)]
r600: fix typo in SQ setup

14 years agost/mesa: Remove unnecessary header from st_cb_fbo.c.
Vinson Lee [Sat, 16 Jan 2010 02:24:12 +0000 (18:24 -0800)]
st/mesa: Remove unnecessary header from st_cb_fbo.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_feedback.c.
Vinson Lee [Sat, 16 Jan 2010 02:20:56 +0000 (18:20 -0800)]
st/mesa: Remove unnecessary headers from st_cb_feedback.c.

14 years agost/mesa: Remove unnecessary header from st_cb_program.c.
Vinson Lee [Sat, 16 Jan 2010 00:28:56 +0000 (16:28 -0800)]
st/mesa: Remove unnecessary header from st_cb_program.c.

14 years agost/mesa: Remove unnecessary header from st_cb_queryobj.c.
Vinson Lee [Sat, 16 Jan 2010 00:27:28 +0000 (16:27 -0800)]
st/mesa: Remove unnecessary header from st_cb_queryobj.c.

14 years agotgsi: fix detection of front-facing attribute
Brian Paul [Fri, 15 Jan 2010 21:57:55 +0000 (14:57 -0700)]
tgsi: fix detection of front-facing attribute

This code was not updated when we added TGSI_SEMANTIC_FACE a while ago.

14 years agoswrast: add missing call to _swrast_depth_bounds_test()
Brian Paul [Fri, 15 Jan 2010 21:25:30 +0000 (14:25 -0700)]
swrast: add missing call to _swrast_depth_bounds_test()

We were calling this from the CI span function, but not the RGBA
span function.

I don't know of a test program for the GL_EXT_depth_bounds_test
extension...

14 years agoswrast: fix broken _swrast_depth_clamp_span()
Brian Paul [Fri, 15 Jan 2010 21:19:23 +0000 (14:19 -0700)]
swrast: fix broken _swrast_depth_clamp_span()

The integer Z clamping range depends on the number of bits
in the Z buffer because that's the scale factor used when we
transform NDC coords by the viewport/depth range.

Fixes fd.o bug #25972 but only for Z buffers up to a depth
of 30 bits.  Beyond that we get into messy integer overflow
issues and things fall apart.

14 years agost/mesa: Remove unnecessary header from st_cb_rasterpos.c.
Vinson Lee [Fri, 15 Jan 2010 07:05:42 +0000 (23:05 -0800)]
st/mesa: Remove unnecessary header from st_cb_rasterpos.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_readpixels.c.
Vinson Lee [Fri, 15 Jan 2010 07:03:37 +0000 (23:03 -0800)]
st/mesa: Remove unnecessary headers from st_cb_readpixels.c.

14 years agost/mesa: Remove unnecessary header from st_cb_strings.c.
Vinson Lee [Fri, 15 Jan 2010 06:30:00 +0000 (22:30 -0800)]
st/mesa: Remove unnecessary header from st_cb_strings.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_texture.c.
Vinson Lee [Fri, 15 Jan 2010 06:27:13 +0000 (22:27 -0800)]
st/mesa: Remove unnecessary headers from st_cb_texture.c.

14 years agost/mesa: Remove unnecessary headers from st_cb_viewport.c.
Vinson Lee [Fri, 15 Jan 2010 03:00:27 +0000 (19:00 -0800)]
st/mesa: Remove unnecessary headers from st_cb_viewport.c.

14 years agost/mesa: Remove unnecessary headers from st_context.c.
Vinson Lee [Fri, 15 Jan 2010 02:53:51 +0000 (18:53 -0800)]
st/mesa: Remove unnecessary headers from st_context.c.

14 years agost/mesa: Remove unnecessary header from st_draw_feedback.c.
Vinson Lee [Fri, 15 Jan 2010 02:46:51 +0000 (18:46 -0800)]
st/mesa: Remove unnecessary header from st_draw_feedback.c.

14 years agost/mesa: Remove unnecessary header from st_extensions.c.
Vinson Lee [Fri, 15 Jan 2010 02:34:59 +0000 (18:34 -0800)]
st/mesa: Remove unnecessary header from st_extensions.c.

14 years agost/mesa: Remove unnecessary header from st_format.c.
Vinson Lee [Fri, 15 Jan 2010 02:19:39 +0000 (18:19 -0800)]
st/mesa: Remove unnecessary header from st_format.c.

14 years agost/mesa: Remove unnecessary headers from st_framebuffer.c.
Vinson Lee [Fri, 15 Jan 2010 02:10:06 +0000 (18:10 -0800)]
st/mesa: Remove unnecessary headers from st_framebuffer.c.

14 years agost/mesa: Remove unnecessary headers from st_gen_mipmap.c.
Vinson Lee [Fri, 15 Jan 2010 01:54:47 +0000 (17:54 -0800)]
st/mesa: Remove unnecessary headers from st_gen_mipmap.c.

14 years agost/mesa: Remove unnecessary header from st_program.c.
Vinson Lee [Thu, 14 Jan 2010 07:28:00 +0000 (23:28 -0800)]
st/mesa: Remove unnecessary header from st_program.c.

14 years agost/mesa: Remove unnecessary header from st_texture.c.
Vinson Lee [Thu, 14 Jan 2010 07:16:05 +0000 (23:16 -0800)]
st/mesa: Remove unnecessary header from st_texture.c.

14 years agoswrast: Remove unnecessary header from s_accum.c.
Vinson Lee [Thu, 14 Jan 2010 07:01:03 +0000 (23:01 -0800)]
swrast: Remove unnecessary header from s_accum.c.

14 years agoswrast: Remove unnecessary header from s_atifragshader.c.
Vinson Lee [Thu, 14 Jan 2010 06:58:07 +0000 (22:58 -0800)]
swrast: Remove unnecessary header from s_atifragshader.c.

14 years agoswrast: Remove unnecessary header from s_bitmap.c.
Vinson Lee [Thu, 14 Jan 2010 06:45:54 +0000 (22:45 -0800)]
swrast: Remove unnecessary header from s_bitmap.c.

14 years agoswrast: Remove unnecessary headers from s_copypix.c.
Vinson Lee [Thu, 14 Jan 2010 06:43:16 +0000 (22:43 -0800)]
swrast: Remove unnecessary headers from s_copypix.c.

14 years agoswrast: Remove unnecessary header from s_depth.c.
Vinson Lee [Thu, 14 Jan 2010 06:36:01 +0000 (22:36 -0800)]
swrast: Remove unnecessary header from s_depth.c.

14 years agoswrast: Remove unnecessary header from s_drawpix.c.
Vinson Lee [Thu, 14 Jan 2010 06:30:04 +0000 (22:30 -0800)]
swrast: Remove unnecessary header from s_drawpix.c.

14 years agoswrast: Remove unnecessary header from s_feedback.c.
Vinson Lee [Thu, 14 Jan 2010 06:20:44 +0000 (22:20 -0800)]
swrast: Remove unnecessary header from s_feedback.c.

14 years agost/dri: Make sure we always request a fake front.
Thomas Hellstrom [Wed, 13 Jan 2010 16:40:41 +0000 (17:40 +0100)]
st/dri: Make sure we always request a fake front.

This should be the correct, but sub-optimal way to handle things on
pre-1.7 servers. For servers that automatically adds a fake front
we should never request the fake front and handle the reply differently.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14 years agosvga: Fix compile_vs error code.
José Fonseca [Wed, 13 Jan 2010 13:40:09 +0000 (13:40 +0000)]
svga: Fix compile_vs error code.

It could erroneously return PIPE_OK in some circumstances.

Make compile_fs code identical.

14 years agoswrast: Remove unnecessary header from s_fragprog.c.
Vinson Lee [Wed, 13 Jan 2010 07:54:15 +0000 (23:54 -0800)]
swrast: Remove unnecessary header from s_fragprog.c.

14 years agoswrast: Remove unnecessary header in s_lines.c.
Vinson Lee [Wed, 13 Jan 2010 05:59:58 +0000 (21:59 -0800)]
swrast: Remove unnecessary header in s_lines.c.

14 years agoswrast: Remove unnecessary header from s_points.c.
Vinson Lee [Wed, 13 Jan 2010 05:51:19 +0000 (21:51 -0800)]
swrast: Remove unnecessary header from s_points.c.

14 years agoswrast: Remove unnecessary header from s_readpix.c.
Vinson Lee [Wed, 13 Jan 2010 05:41:09 +0000 (21:41 -0800)]
swrast: Remove unnecessary header from s_readpix.c.

14 years agoswrast: Remove unnecessary header from s_texcombine.c.
Vinson Lee [Wed, 13 Jan 2010 04:36:33 +0000 (20:36 -0800)]
swrast: Remove unnecessary header from s_texcombine.c.

14 years agotnl: Remove unnecessary header from t_context.c.
Vinson Lee [Wed, 13 Jan 2010 04:14:36 +0000 (20:14 -0800)]
tnl: Remove unnecessary header from t_context.c.

14 years agotnl: Remove unnecessary headers from t_draw.c.
Vinson Lee [Wed, 13 Jan 2010 04:02:44 +0000 (20:02 -0800)]
tnl: Remove unnecessary headers from t_draw.c.

14 years agotnl: Remove unnecessary header from t_pipeline.c.
Vinson Lee [Wed, 13 Jan 2010 03:55:24 +0000 (19:55 -0800)]
tnl: Remove unnecessary header from t_pipeline.c.

14 years agotnl: Remove unnecessary header from t_rasterpos.c.
Vinson Lee [Wed, 13 Jan 2010 03:49:19 +0000 (19:49 -0800)]
tnl: Remove unnecessary header from t_rasterpos.c.

14 years agotnl: Remove unnecessary header from t_vb_program.c.
Vinson Lee [Wed, 13 Jan 2010 03:45:25 +0000 (19:45 -0800)]
tnl: Remove unnecessary header from t_vb_program.c.

14 years agovbo: Remove unnecessary headers from vbo_exec.c.
Vinson Lee [Wed, 13 Jan 2010 01:07:24 +0000 (17:07 -0800)]
vbo: Remove unnecessary headers from vbo_exec.c.

14 years agovbo: Remove unnecessary header from vbo_exec_array.c.
Vinson Lee [Wed, 13 Jan 2010 00:55:36 +0000 (16:55 -0800)]
vbo: Remove unnecessary header from vbo_exec_array.c.

14 years agovbo: Remove unnecessary header from vbo_exec_draw.c.
Vinson Lee [Wed, 13 Jan 2010 00:37:30 +0000 (16:37 -0800)]
vbo: Remove unnecessary header from vbo_exec_draw.c.

14 years agovbo: Remove unnecessary headers from vbo_save.c.
Vinson Lee [Tue, 12 Jan 2010 08:50:05 +0000 (00:50 -0800)]
vbo: Remove unnecessary headers from vbo_save.c.

14 years agovbo: Remove unnecessary header from vbo_save_loopback.c.
Vinson Lee [Tue, 12 Jan 2010 07:53:13 +0000 (23:53 -0800)]
vbo: Remove unnecessary header from vbo_save_loopback.c.

14 years agovbo: Remove unnecessary header from vbo_split_copy.c.
Vinson Lee [Tue, 12 Jan 2010 06:46:30 +0000 (22:46 -0800)]
vbo: Remove unnecessary header from vbo_split_copy.c.

14 years agox86: Remove unnecessary header from x86_xform.c.
Vinson Lee [Tue, 12 Jan 2010 05:04:16 +0000 (21:04 -0800)]
x86: Remove unnecessary header from x86_xform.c.

14 years agoprogs/xdemos: Remove unnecessary header from corender.c.
Vinson Lee [Tue, 12 Jan 2010 04:24:57 +0000 (20:24 -0800)]
progs/xdemos: Remove unnecessary header from corender.c.

14 years agoprogs/trivial: Remove unnecessary headers from tri-fbo-tex.c.
Vinson Lee [Tue, 12 Jan 2010 04:21:50 +0000 (20:21 -0800)]
progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.

14 years agoprogs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
Vinson Lee [Tue, 12 Jan 2010 04:15:59 +0000 (20:15 -0800)]
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.

14 years agoprogs/tests: Remove duplicate included header in vparray.c.
Vinson Lee [Tue, 12 Jan 2010 03:57:46 +0000 (19:57 -0800)]
progs/tests: Remove duplicate included header in vparray.c.

14 years agoprogs/tests: Add newline to end of printf in vparray.c.
Vinson Lee [Tue, 12 Jan 2010 03:56:04 +0000 (19:56 -0800)]
progs/tests: Add newline to end of printf in vparray.c.

14 years agoprogs/redbook: Remove unnecessary header from aapoly.c.
Vinson Lee [Tue, 12 Jan 2010 03:52:22 +0000 (19:52 -0800)]
progs/redbook: Remove unnecessary header from aapoly.c.

14 years agoprogs/glsl: Remove duplicate included header from shtest.c.
Vinson Lee [Tue, 12 Jan 2010 03:42:55 +0000 (19:42 -0800)]
progs/glsl: Remove duplicate included header from shtest.c.

14 years agoprogs/demos: Remove unnecessary header from morph3d.c.
Vinson Lee [Tue, 12 Jan 2010 03:29:26 +0000 (19:29 -0800)]
progs/demos: Remove unnecessary header from morph3d.c.

14 years agoRevert "util: Build u_bitmask.o when using make."
Brian Paul [Tue, 12 Jan 2010 03:18:50 +0000 (20:18 -0700)]
Revert "util: Build u_bitmask.o when using make."

This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6.

u_bitmask.c was already in the C_SOURCES list.

14 years agoprogs/tests: Silence fprintf format warning.
Vinson Lee [Tue, 12 Jan 2010 03:15:54 +0000 (19:15 -0800)]
progs/tests: Silence fprintf format warning.

14 years agoprogs/demos: Remove unnecessary header from isosurf.c.
Vinson Lee [Tue, 12 Jan 2010 03:03:18 +0000 (19:03 -0800)]
progs/demos: Remove unnecessary header from isosurf.c.

14 years agost/xorg: move exaMoveInPixmap before trying to fetch it
Zack Rusin [Mon, 11 Jan 2010 23:27:59 +0000 (18:27 -0500)]
st/xorg: move exaMoveInPixmap before trying to fetch it

as Michel suggested, this is a cleaner way of fixing crashes caused
by exaGetPixmapDriverPrivate returning null since the data hasn't
been moved yet.

14 years agost/xorg: fix a rare video crash
Zack Rusin [Mon, 11 Jan 2010 23:03:49 +0000 (18:03 -0500)]
st/xorg: fix a rare video crash

sometimes dst isn't present if a window is in a middle of a resize, stop
crashing in those cases and just ignore a frame.

14 years agoRevert "pipebuffer: Multi-threading fixes for fencing."
Jakob Bornecrantz [Wed, 6 Jan 2010 16:31:46 +0000 (17:31 +0100)]
Revert "pipebuffer: Multi-threading fixes for fencing."

This reverts commit 5b64d94390e4805e1634f0c8b5e3156e12b8b872.

14 years agoRevert "st/dri: no need to request fake front buffer, only handle it being returned"
Thomas Hellstrom [Mon, 11 Jan 2010 20:32:13 +0000 (21:32 +0100)]
Revert "st/dri: no need to request fake front buffer, only handle it being returned"

This reverts commit 1336989ec60fff7bd590fefd28945a0e5dc536e3.

The commit breaks frontbuffer rendering and the possibility to do
on-demand frontbuffer requests on all Xservers prior to 1.7.

The commit should be conditioned on a dri2 version check.
I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian.

To be able to check the version from within the state tracker, we will
probably need another dri2 extension function that returns the server
version. The protocol has support for it.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14 years agoutil: Build u_bitmask.o when using make.
Thomas Hellstrom [Mon, 11 Jan 2010 20:00:59 +0000 (21:00 +0100)]
util: Build u_bitmask.o when using make.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14 years agoprogs/demos: Remove unnecessary header from fbotexture.c.
Vinson Lee [Mon, 11 Jan 2010 08:24:39 +0000 (00:24 -0800)]
progs/demos: Remove unnecessary header from fbotexture.c.