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.
Vinson Lee [Sat, 16 Jan 2010 07:02:07 +0000 (23:02 -0800)]
st/mesa: Remove unnecessary headers from st_cb_clear.c.
Vinson Lee [Sat, 16 Jan 2010 06:55:47 +0000 (22:55 -0800)]
st/mesa: Remove unnecessary headers from st_cb_drawpixels.c.
Alex Deucher [Sat, 16 Jan 2010 03:23:40 +0000 (22:23 -0500)]
r600: fill in some missing XRGB tex formats
Alex Deucher [Sat, 16 Jan 2010 01:54:12 +0000 (20:54 -0500)]
r600: set tiling correctly for texturing from depth buffer
Alex Deucher [Sat, 16 Jan 2010 01:53:53 +0000 (20:53 -0500)]
r600: fix typo in SQ setup
Vinson Lee [Sat, 16 Jan 2010 02:24:12 +0000 (18:24 -0800)]
st/mesa: Remove unnecessary header from st_cb_fbo.c.
Vinson Lee [Sat, 16 Jan 2010 02:20:56 +0000 (18:20 -0800)]
st/mesa: Remove unnecessary headers from st_cb_feedback.c.
Vinson Lee [Sat, 16 Jan 2010 00:28:56 +0000 (16:28 -0800)]
st/mesa: Remove unnecessary header from st_cb_program.c.
Vinson Lee [Sat, 16 Jan 2010 00:27:28 +0000 (16:27 -0800)]
st/mesa: Remove unnecessary header from st_cb_queryobj.c.
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.
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...
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.
Vinson Lee [Fri, 15 Jan 2010 07:05:42 +0000 (23:05 -0800)]
st/mesa: Remove unnecessary header from st_cb_rasterpos.c.
Vinson Lee [Fri, 15 Jan 2010 07:03:37 +0000 (23:03 -0800)]
st/mesa: Remove unnecessary headers from st_cb_readpixels.c.
Vinson Lee [Fri, 15 Jan 2010 06:30:00 +0000 (22:30 -0800)]
st/mesa: Remove unnecessary header from st_cb_strings.c.
Vinson Lee [Fri, 15 Jan 2010 06:27:13 +0000 (22:27 -0800)]
st/mesa: Remove unnecessary headers from st_cb_texture.c.
Vinson Lee [Fri, 15 Jan 2010 03:00:27 +0000 (19:00 -0800)]
st/mesa: Remove unnecessary headers from st_cb_viewport.c.
Vinson Lee [Fri, 15 Jan 2010 02:53:51 +0000 (18:53 -0800)]
st/mesa: Remove unnecessary headers from st_context.c.
Vinson Lee [Fri, 15 Jan 2010 02:46:51 +0000 (18:46 -0800)]
st/mesa: Remove unnecessary header from st_draw_feedback.c.
Vinson Lee [Fri, 15 Jan 2010 02:34:59 +0000 (18:34 -0800)]
st/mesa: Remove unnecessary header from st_extensions.c.
Vinson Lee [Fri, 15 Jan 2010 02:19:39 +0000 (18:19 -0800)]
st/mesa: Remove unnecessary header from st_format.c.
Vinson Lee [Fri, 15 Jan 2010 02:10:06 +0000 (18:10 -0800)]
st/mesa: Remove unnecessary headers from st_framebuffer.c.
Vinson Lee [Fri, 15 Jan 2010 01:54:47 +0000 (17:54 -0800)]
st/mesa: Remove unnecessary headers from st_gen_mipmap.c.
Vinson Lee [Thu, 14 Jan 2010 07:28:00 +0000 (23:28 -0800)]
st/mesa: Remove unnecessary header from st_program.c.
Vinson Lee [Thu, 14 Jan 2010 07:16:05 +0000 (23:16 -0800)]
st/mesa: Remove unnecessary header from st_texture.c.
Vinson Lee [Thu, 14 Jan 2010 07:01:03 +0000 (23:01 -0800)]
swrast: Remove unnecessary header from s_accum.c.
Vinson Lee [Thu, 14 Jan 2010 06:58:07 +0000 (22:58 -0800)]
swrast: Remove unnecessary header from s_atifragshader.c.
Vinson Lee [Thu, 14 Jan 2010 06:45:54 +0000 (22:45 -0800)]
swrast: Remove unnecessary header from s_bitmap.c.
Vinson Lee [Thu, 14 Jan 2010 06:43:16 +0000 (22:43 -0800)]
swrast: Remove unnecessary headers from s_copypix.c.
Vinson Lee [Thu, 14 Jan 2010 06:36:01 +0000 (22:36 -0800)]
swrast: Remove unnecessary header from s_depth.c.
Vinson Lee [Thu, 14 Jan 2010 06:30:04 +0000 (22:30 -0800)]
swrast: Remove unnecessary header from s_drawpix.c.
Vinson Lee [Thu, 14 Jan 2010 06:20:44 +0000 (22:20 -0800)]
swrast: Remove unnecessary header from s_feedback.c.
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>
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.
Vinson Lee [Wed, 13 Jan 2010 07:54:15 +0000 (23:54 -0800)]
swrast: Remove unnecessary header from s_fragprog.c.
Vinson Lee [Wed, 13 Jan 2010 05:59:58 +0000 (21:59 -0800)]
swrast: Remove unnecessary header in s_lines.c.
Vinson Lee [Wed, 13 Jan 2010 05:51:19 +0000 (21:51 -0800)]
swrast: Remove unnecessary header from s_points.c.
Vinson Lee [Wed, 13 Jan 2010 05:41:09 +0000 (21:41 -0800)]
swrast: Remove unnecessary header from s_readpix.c.
Vinson Lee [Wed, 13 Jan 2010 04:36:33 +0000 (20:36 -0800)]
swrast: Remove unnecessary header from s_texcombine.c.
Vinson Lee [Wed, 13 Jan 2010 04:14:36 +0000 (20:14 -0800)]
tnl: Remove unnecessary header from t_context.c.
Vinson Lee [Wed, 13 Jan 2010 04:02:44 +0000 (20:02 -0800)]
tnl: Remove unnecessary headers from t_draw.c.
Vinson Lee [Wed, 13 Jan 2010 03:55:24 +0000 (19:55 -0800)]
tnl: Remove unnecessary header from t_pipeline.c.
Vinson Lee [Wed, 13 Jan 2010 03:49:19 +0000 (19:49 -0800)]
tnl: Remove unnecessary header from t_rasterpos.c.
Vinson Lee [Wed, 13 Jan 2010 03:45:25 +0000 (19:45 -0800)]
tnl: Remove unnecessary header from t_vb_program.c.
Vinson Lee [Wed, 13 Jan 2010 01:07:24 +0000 (17:07 -0800)]
vbo: Remove unnecessary headers from vbo_exec.c.
Vinson Lee [Wed, 13 Jan 2010 00:55:36 +0000 (16:55 -0800)]
vbo: Remove unnecessary header from vbo_exec_array.c.
Vinson Lee [Wed, 13 Jan 2010 00:37:30 +0000 (16:37 -0800)]
vbo: Remove unnecessary header from vbo_exec_draw.c.
Vinson Lee [Tue, 12 Jan 2010 08:50:05 +0000 (00:50 -0800)]
vbo: Remove unnecessary headers from vbo_save.c.
Vinson Lee [Tue, 12 Jan 2010 07:53:13 +0000 (23:53 -0800)]
vbo: Remove unnecessary header from vbo_save_loopback.c.
Vinson Lee [Tue, 12 Jan 2010 06:46:30 +0000 (22:46 -0800)]
vbo: Remove unnecessary header from vbo_split_copy.c.
Vinson Lee [Tue, 12 Jan 2010 05:04:16 +0000 (21:04 -0800)]
x86: Remove unnecessary header from x86_xform.c.
Vinson Lee [Tue, 12 Jan 2010 04:24:57 +0000 (20:24 -0800)]
progs/xdemos: Remove unnecessary header from corender.c.
Vinson Lee [Tue, 12 Jan 2010 04:21:50 +0000 (20:21 -0800)]
progs/trivial: Remove unnecessary headers from tri-fbo-tex.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.
Vinson Lee [Tue, 12 Jan 2010 03:57:46 +0000 (19:57 -0800)]
progs/tests: Remove duplicate included header 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.
Vinson Lee [Tue, 12 Jan 2010 03:52:22 +0000 (19:52 -0800)]
progs/redbook: Remove unnecessary header from aapoly.c.
Vinson Lee [Tue, 12 Jan 2010 03:42:55 +0000 (19:42 -0800)]
progs/glsl: Remove duplicate included header from shtest.c.
Vinson Lee [Tue, 12 Jan 2010 03:29:26 +0000 (19:29 -0800)]
progs/demos: Remove unnecessary header from morph3d.c.
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.
Vinson Lee [Tue, 12 Jan 2010 03:15:54 +0000 (19:15 -0800)]
progs/tests: Silence fprintf format warning.
Vinson Lee [Tue, 12 Jan 2010 03:03:18 +0000 (19:03 -0800)]
progs/demos: Remove unnecessary header from isosurf.c.
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.
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.
Jakob Bornecrantz [Wed, 6 Jan 2010 16:31:46 +0000 (17:31 +0100)]
Revert "pipebuffer: Multi-threading fixes for fencing."
This reverts commit
5b64d94390e4805e1634f0c8b5e3156e12b8b872.
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>
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>
Vinson Lee [Mon, 11 Jan 2010 08:24:39 +0000 (00:24 -0800)]
progs/demos: Remove unnecessary header from fbotexture.c.
Dave Airlie [Mon, 11 Jan 2010 03:21:47 +0000 (13:21 +1000)]
radeon: fix prediction for r100 inline vert/elt emits.
On r100 we emit the indices inline so we need to account
for that in the emission size.
Dave Airlie [Mon, 11 Jan 2010 03:21:02 +0000 (13:21 +1000)]
radeon: fix bug in realloc code.
This bug was fixed in libdrm ages ago, port to non-kms
Vinson Lee [Mon, 11 Jan 2010 00:09:41 +0000 (16:09 -0800)]
glu/sgi: Initialize members of class Mesher.
Vinson Lee [Sun, 10 Jan 2010 23:55:52 +0000 (15:55 -0800)]
glu/sgi: Initialize members of class Slicer.
Vinson Lee [Sun, 10 Jan 2010 11:03:14 +0000 (03:03 -0800)]
glu/sgi: Include missing header file.
Vinson Lee [Sun, 10 Jan 2010 09:57:13 +0000 (01:57 -0800)]
progs/demos: Check upper bounds of input in manywin.c.
Vinson Lee [Sun, 10 Jan 2010 08:40:46 +0000 (00:40 -0800)]
progs/demos: Bounds check input to fire.c.
Vinson Lee [Sun, 10 Jan 2010 08:14:33 +0000 (00:14 -0800)]
glu/sgi: Initialize members of class Renderhints.
Vinson Lee [Sun, 10 Jan 2010 07:55:05 +0000 (23:55 -0800)]
glu/sgi: Initialize members of class StoredVertex.
Vinson Lee [Sun, 10 Jan 2010 07:53:54 +0000 (23:53 -0800)]
glu/sgi: Include missing header file.
Vinson Lee [Sun, 10 Jan 2010 07:25:49 +0000 (23:25 -0800)]
glu/sgi: Initialize member of class O_pwlcurve.
Vinson Lee [Sat, 9 Jan 2010 07:08:57 +0000 (23:08 -0800)]
progs/tests: Silence 'missing initializer' warnings.
Vinson Lee [Sat, 9 Jan 2010 06:10:52 +0000 (22:10 -0800)]
progs/glsl: Silence uninitialized variable warning.
Vinson Lee [Sat, 9 Jan 2010 06:02:21 +0000 (22:02 -0800)]
progs/demos: Add missing initializers in engine.c.
Vinson Lee [Sat, 9 Jan 2010 05:43:54 +0000 (21:43 -0800)]
r300g: Silence unused variable warnings.
Vinson Lee [Sat, 9 Jan 2010 04:22:17 +0000 (20:22 -0800)]
tgsi: Silence uninitialized variable warnings.
Jakob Bornecrantz [Tue, 5 Jan 2010 16:51:02 +0000 (17:51 +0100)]
util: Add u_bitmask to make build
Dan Nicholson [Fri, 8 Jan 2010 13:59:55 +0000 (05:59 -0800)]
mesa: Ensure libmesagallium.a is finished building before descending
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Vinson Lee [Fri, 8 Jan 2010 09:13:46 +0000 (01:13 -0800)]
r300: Move initial declaration outside for loop.
Brian Paul [Thu, 7 Jan 2010 21:55:27 +0000 (14:55 -0700)]
docs: document Gallium SSE codegen for XPD bug fix
Brian Paul [Thu, 7 Jan 2010 21:49:12 +0000 (14:49 -0700)]
tgsi: fix SSE code emit for XPD
Rearrange things so that the writes to the dest registers happen
after we've fetched/used all src registers.
The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2];
Note that the dst reg is also a src reg.
This fixes bad shading with progs/glsl/bump.c since Eric's changes to the
Mesa program optimizer in commit
d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904.
The optimizer rearranges some registers so we occasionally wind up with
something like the above.
Brian Paul [Thu, 7 Jan 2010 15:22:37 +0000 (08:22 -0700)]
progs/fp: remove invalid tri-inv.c test
INV is not a valid instruction.
Vinson Lee [Thu, 7 Jan 2010 05:39:44 +0000 (21:39 -0800)]
progs/demos: Assert that input to malloc is valid.
Vinson Lee [Thu, 7 Jan 2010 02:18:49 +0000 (18:18 -0800)]
progs/xdemos: Check for string overflow.
Vinson Lee [Thu, 7 Jan 2010 02:08:17 +0000 (18:08 -0800)]
progs/xdemos: Check for string overflow.
Vinson Lee [Thu, 7 Jan 2010 01:51:08 +0000 (17:51 -0800)]
svga: Silence uninitialized variable warning.
Brian Paul [Thu, 7 Jan 2010 01:22:05 +0000 (18:22 -0700)]
meta: remove F suffix from _mesa_Ortho() params
_mesa_Ortho() takes GLdoubles.
Brian Paul [Thu, 7 Jan 2010 01:19:42 +0000 (18:19 -0700)]
docs: document a mipmap generation bug fix
Brian Paul [Thu, 7 Jan 2010 01:18:04 +0000 (18:18 -0700)]
meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmap
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
Brian Paul [Thu, 7 Jan 2010 01:12:42 +0000 (18:12 -0700)]
meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap
This fixes mipmap levels being clipped to the last viewport.
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>