mesa.git
14 years agost/xorg: Use C-style comments.
Vinson Lee [Wed, 23 Dec 2009 22:52:06 +0000 (14:52 -0800)]
st/xorg: Use C-style comments.

14 years agost/vega: Move declaration outside for loop.
Vinson Lee [Wed, 23 Dec 2009 22:43:53 +0000 (14:43 -0800)]
st/vega: Move declaration outside for loop.

14 years agost/egl: Use C-style comments.
Vinson Lee [Wed, 23 Dec 2009 22:18:11 +0000 (14:18 -0800)]
st/egl: Use C-style comments.

14 years agoglx: Add XF86DRI[Open|Close]FullScreen prototypes to xf86dri.h.
Vinson Lee [Wed, 23 Dec 2009 22:09:36 +0000 (14:09 -0800)]
glx: Add XF86DRI[Open|Close]FullScreen prototypes to xf86dri.h.

14 years agoglx: Move declaration outside for loop.
Vinson Lee [Wed, 23 Dec 2009 20:42:38 +0000 (12:42 -0800)]
glx: Move declaration outside for loop.

14 years agoglu/sgi: Silence uninitialized variable warnings.
Vinson Lee [Wed, 23 Dec 2009 07:07:00 +0000 (23:07 -0800)]
glu/sgi: Silence uninitialized variable warnings.

14 years agoAdd gallium to darwin config.
Vinson Lee [Wed, 23 Dec 2009 02:21:41 +0000 (18:21 -0800)]
Add gallium to darwin config.

14 years agoxlib: Use C-style comments.
Vinson Lee [Wed, 23 Dec 2009 01:51:58 +0000 (17:51 -0800)]
xlib: Use C-style comments.

14 years agotrace: Silence uninitialized variable warnings.
Vinson Lee [Wed, 23 Dec 2009 01:34:39 +0000 (17:34 -0800)]
trace: Silence uninitialized variable warnings.

14 years agotrace: Add PIPE_OS_APPLE.
Vinson Lee [Wed, 23 Dec 2009 01:17:28 +0000 (17:17 -0800)]
trace: Add PIPE_OS_APPLE.

14 years agogallium/util: Add PIPE_OS_APPLE to u_stream_stdc.c.
Vinson Lee [Wed, 23 Dec 2009 00:23:00 +0000 (16:23 -0800)]
gallium/util: Add PIPE_OS_APPLE to u_stream_stdc.c.

14 years agogallium/util: Add PIPE_OS_APPLE to u_network.
Vinson Lee [Tue, 22 Dec 2009 23:59:50 +0000 (15:59 -0800)]
gallium/util: Add PIPE_OS_APPLE to u_network.

14 years agoi915g: Use C-style comment.
Vinson Lee [Tue, 22 Dec 2009 23:19:48 +0000 (15:19 -0800)]
i915g: Use C-style comment.

14 years agoglx: Compile dri2.c only if GLX_DIRECT_RENDERING is defined.
Vinson Lee [Tue, 22 Dec 2009 22:51:12 +0000 (14:51 -0800)]
glx: Compile dri2.c only if GLX_DIRECT_RENDERING is defined.

14 years agoffb: Silence compiler warnings.
Vinson Lee [Tue, 22 Dec 2009 22:28:40 +0000 (14:28 -0800)]
ffb: Silence compiler warnings.

14 years agoAdd MD5 checksums for 7.6.1 release
Ian Romanick [Tue, 22 Dec 2009 02:32:32 +0000 (18:32 -0800)]
Add MD5 checksums for 7.6.1 release

14 years agomesa: set version string to 7.6.1
Ian Romanick [Tue, 22 Dec 2009 02:25:30 +0000 (18:25 -0800)]
mesa: set version string to 7.6.1

14 years agoprogs/perf: Fix MSVC build.
Vinson Lee [Sat, 10 Oct 2009 16:45:16 +0000 (10:45 -0600)]
progs/perf: Fix MSVC build.
(cherry picked from commit cbf46ed670ef5a5c8a641730234dd7ae964c3170)

14 years agomesa: Fix missing finite symbol error on Windows.
José Fonseca [Thu, 24 Sep 2009 11:36:11 +0000 (12:36 +0100)]
mesa: Fix missing finite symbol error on Windows.

Caused by some weird logic regarding the __WIN32__ define which made
the finite definition dependent on the header include order.
(cherry picked from commit 622bdecabd73167d2f2f3aff0e223a8c64433f99)

14 years agomesa: Include <unistd.h> only when one is available.
Michal Krol [Mon, 7 Sep 2009 07:31:17 +0000 (09:31 +0200)]
mesa: Include <unistd.h> only when one is available.
(cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f)

14 years agoscons: Define _USE_MATH_DEFINES on MSVC.
Vinson Lee [Tue, 22 Dec 2009 01:25:03 +0000 (17:25 -0800)]
scons: Define _USE_MATH_DEFINES on MSVC.

14 years agoconfigure.ac: fix for libdrm_radeon API changes.
Fabio Pedretti [Tue, 22 Dec 2009 00:43:35 +0000 (10:43 +1000)]
configure.ac: fix for libdrm_radeon API changes.

14 years agoradeon/r600: use new libdrm_radeon api
Dave Airlie [Thu, 17 Dec 2009 04:29:04 +0000 (14:29 +1000)]
radeon/r600: use new libdrm_radeon api

14 years agoradeon: drop assert accessing cref which is meant to be hidden
Dave Airlie [Thu, 17 Dec 2009 04:19:27 +0000 (14:19 +1000)]
radeon: drop assert accessing cref which is meant to be hidden

14 years agoradeon: drop unused members of radeon_state.
Dave Airlie [Thu, 17 Dec 2009 04:18:54 +0000 (14:18 +1000)]
radeon: drop unused members of radeon_state.

14 years agor600: move structs for legacy cmdbuf into cmdbuf C file.
Dave Airlie [Thu, 17 Dec 2009 04:23:08 +0000 (14:23 +1000)]
r600: move structs for legacy cmdbuf into cmdbuf C file.

these really shouldn't be exposed here

14 years agoprogs/redbook: Silence compiler warnings.
Vinson Lee [Mon, 21 Dec 2009 23:20:01 +0000 (15:20 -0800)]
progs/redbook: Silence compiler warnings.

14 years agor600: fix glFrontFace(GL_CW)
Dave Airlie [Mon, 21 Dec 2009 00:21:28 +0000 (10:21 +1000)]
r600: fix glFrontFace(GL_CW)

fd.o bug #25290

Suggested fix from Rafael Monica

14 years agost/mesa: Check for single level mipmap trees.
Younes Manton [Mon, 21 Dec 2009 01:11:55 +0000 (20:11 -0500)]
st/mesa: Check for single level mipmap trees.

The assert in util_gen_mipmap() caught it, although
it does the right thing anyway.

14 years agodarwin: mklib: Use lipo rather than file to figure out architectures of object files
Jeremy Huddleston [Mon, 21 Dec 2009 05:34:27 +0000 (21:34 -0800)]
darwin: mklib: Use lipo rather than file to figure out architectures of object files
(cherry picked from commit ad7f9d71e22fb7667c90dbbc0558939b89a45154)

14 years agodarwin: Cleanup CPPFLAGS a bit
Jeremy Huddleston [Mon, 21 Dec 2009 05:32:35 +0000 (21:32 -0800)]
darwin: Cleanup CPPFLAGS a bit
(cherry picked from commit 4a1e103858a1db0fb037891b8d4a9426eff32b98)

14 years agoprogs/tests: Silence compiler warnings.
Vinson Lee [Sun, 20 Dec 2009 09:01:00 +0000 (01:01 -0800)]
progs/tests: Silence compiler warnings.

14 years agoprogs/trivial: Use C-style comments.
Vinson Lee [Sat, 19 Dec 2009 08:28:01 +0000 (00:28 -0800)]
progs/trivial: Use C-style comments.

14 years agoprogs/xdemos: Use C-style comment.
Vinson Lee [Sat, 19 Dec 2009 08:00:56 +0000 (00:00 -0800)]
progs/xdemos: Use C-style comment.

14 years agoprogs/demos: Silence compiler warning in morph3d.c.
Vinson Lee [Sat, 19 Dec 2009 07:46:14 +0000 (23:46 -0800)]
progs/demos: Silence compiler warning in morph3d.c.

14 years agoprogs/glsl: Use C-style comments.
Vinson Lee [Sat, 19 Dec 2009 07:38:15 +0000 (23:38 -0800)]
progs/glsl: Use C-style comments.

14 years agoprogs/demos: Use C-style comment.
Vinson Lee [Sat, 19 Dec 2009 07:34:28 +0000 (23:34 -0800)]
progs/demos: Use C-style comment.

14 years agoglsl: clear out shader code before compiling
Brian Paul [Fri, 18 Dec 2009 18:57:15 +0000 (11:57 -0700)]
glsl: clear out shader code before compiling

When we start compiling a shader, first free the existing gl_program.
This (mostly) fixes the piglit glsl-reload-source test.
Without this change, we were actually appending the new GPU code
onto the previous program.

14 years agor600: Invert front face winding when rendering to FBO
Alex Deucher [Wed, 16 Dec 2009 21:18:22 +0000 (16:18 -0500)]
r600: Invert front face winding when rendering to FBO

fixes fdo bug 25679

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
14 years agomesa: set version string to 7.6.1-rc4
Ian Romanick [Wed, 16 Dec 2009 17:01:58 +0000 (09:01 -0800)]
mesa: set version string to 7.6.1-rc4

14 years agomesa: add missing semicolon
Brian Paul [Wed, 16 Dec 2009 17:39:17 +0000 (10:39 -0700)]
mesa: add missing semicolon

See bug 25663.

14 years agodocs: document 7.6.1 BlueGene fixes
Brian Paul [Wed, 16 Dec 2009 15:17:43 +0000 (08:17 -0700)]
docs: document 7.6.1 BlueGene fixes

14 years agomesa: test for __blrts for CPU_TO_LE32()
Brian Paul [Wed, 16 Dec 2009 15:04:23 +0000 (08:04 -0700)]
mesa: test for __blrts for CPU_TO_LE32()

See bug 25663.

14 years agomesa: no dlopen on BlueGene
Brian Paul [Wed, 16 Dec 2009 15:02:52 +0000 (08:02 -0700)]
mesa: no dlopen on BlueGene

See bug 25663.

14 years agomesa: remove //-style comments
Brian Paul [Wed, 16 Dec 2009 14:58:42 +0000 (07:58 -0700)]
mesa: remove //-style comments

14 years agost/mesa: remove //-style comments
Brian Paul [Wed, 16 Dec 2009 14:58:31 +0000 (07:58 -0700)]
st/mesa: remove //-style comments

14 years agounichrome: Silence compiler warnings.
Vinson Lee [Wed, 16 Dec 2009 01:39:30 +0000 (17:39 -0800)]
unichrome: Silence compiler warnings.

14 years agosis: Silence compiler warnings.
Vinson Lee [Wed, 16 Dec 2009 01:06:01 +0000 (17:06 -0800)]
sis: Silence compiler warnings.

14 years agosavage: Silence compiler warnings.
Vinson Lee [Wed, 16 Dec 2009 00:32:51 +0000 (16:32 -0800)]
savage: Silence compiler warnings.

14 years agor128: Silence uninitialized variable warnings in r128_tris.c.
Vinson Lee [Tue, 15 Dec 2009 21:12:12 +0000 (13:12 -0800)]
r128: Silence uninitialized variable warnings in r128_tris.c.

14 years agodri: Initialize variable in driBindContext.
Vinson Lee [Tue, 15 Dec 2009 21:04:25 +0000 (13:04 -0800)]
dri: Initialize variable in driBindContext.

14 years agointel: Fallback to software if drawable size is > MaxRenderbufferSize
Ian Romanick [Tue, 15 Dec 2009 20:14:04 +0000 (12:14 -0800)]
intel: Fallback to software if drawable size is > MaxRenderbufferSize

This prevents the mystery blank window if, for example, glxgears is
resized larger than 2048 wide on 915.  Since the Intel drivers in Mesa
7.6 lack GTT mapped fallbacks, the performance is a slideshow at
best.  On Mesa 7.7 and later the performance is much better.

14 years agox86: ifdef out unused function cptr.
Vinson Lee [Tue, 15 Dec 2009 20:32:48 +0000 (12:32 -0800)]
x86: ifdef out unused function cptr.

14 years agomesa: Add missing $(DESTDIR) support to src/gallium/winsys/xlib/Makefile
Matthew Bell [Tue, 15 Dec 2009 04:58:19 +0000 (21:58 -0700)]
mesa: Add missing $(DESTDIR) support to src/gallium/winsys/xlib/Makefile

14 years agoprogs/trivial: Silence compiler warnings.
Vinson Lee [Tue, 15 Dec 2009 02:11:57 +0000 (18:11 -0800)]
progs/trivial: Silence compiler warnings.

14 years agomga: Silence uninitialized variable warnings.
Vinson Lee [Tue, 15 Dec 2009 01:30:15 +0000 (17:30 -0800)]
mga: Silence uninitialized variable warnings.

14 years agomach64: Silence uninitialized variable warnings.
Vinson Lee [Tue, 15 Dec 2009 01:20:34 +0000 (17:20 -0800)]
mach64: Silence uninitialized variable warnings.

14 years agoi810: Silence uninitialized variable warnings in i180tris.c
Vinson Lee [Sun, 13 Dec 2009 08:14:31 +0000 (00:14 -0800)]
i810: Silence uninitialized variable warnings in i180tris.c

14 years agoswrast: Silence uninitialized variable warnings in s_triangle.c
Vinson Lee [Sun, 13 Dec 2009 07:47:32 +0000 (23:47 -0800)]
swrast: Silence uninitialized variable warnings in s_triangle.c

14 years agost/mesa: Silence uninitialized variables warnings in st_draw.c.
Vinson Lee [Sun, 13 Dec 2009 06:17:16 +0000 (22:17 -0800)]
st/mesa: Silence uninitialized variables warnings in st_draw.c.

14 years agoswrast: Silence uninitialized variable warnings in ss_tritmp.h.
Vinson Lee [Sun, 13 Dec 2009 06:00:19 +0000 (22:00 -0800)]
swrast: Silence uninitialized variable warnings in ss_tritmp.h.

14 years agoglut: Prevent potential double free in menuVisualSetup.
Vinson Lee [Sun, 13 Dec 2009 05:46:13 +0000 (21:46 -0800)]
glut: Prevent potential double free in menuVisualSetup.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_poly_elts.
Vinson Lee [Sun, 13 Dec 2009 04:20:02 +0000 (20:20 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_poly_elts.

14 years agoglsl: Initialize member label of struct slang_operation to NULL.
Vinson Lee [Sun, 13 Dec 2009 02:42:18 +0000 (18:42 -0800)]
glsl: Initialize member label of struct slang_operation to NULL.

14 years agosoftpipe: Initialize source in blend_quad.
Vinson Lee [Sun, 13 Dec 2009 02:34:15 +0000 (18:34 -0800)]
softpipe: Initialize source in blend_quad.

14 years agot_dd_dmatmp2.h: Silence unused value warnings.
Vinson Lee [Sun, 13 Dec 2009 00:56:07 +0000 (16:56 -0800)]
t_dd_dmatmp2.h: Silence unused value warnings.

14 years agoi915g: Silence unused value warning in intel_drm_get_device_id.
Vinson Lee [Sun, 13 Dec 2009 00:24:25 +0000 (16:24 -0800)]
i915g: Silence unused value warning in intel_drm_get_device_id.

14 years agot_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
Vinson Lee [Sun, 13 Dec 2009 00:18:08 +0000 (16:18 -0800)]
t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.
Vinson Lee [Sun, 13 Dec 2009 00:02:09 +0000 (16:02 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.

14 years agoprogs/trivial: Silence compiler warnings in tri-blend-min.c.
Vinson Lee [Sat, 12 Dec 2009 23:47:17 +0000 (15:47 -0800)]
progs/trivial: Silence compiler warnings in tri-blend-min.c.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_poly_verts.
Vinson Lee [Sat, 12 Dec 2009 23:27:30 +0000 (15:27 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_poly_verts.

14 years agoswrast: Initialize tex_coords in handle_sample_op.
Vinson Lee [Sat, 12 Dec 2009 23:08:01 +0000 (15:08 -0800)]
swrast: Initialize tex_coords in handle_sample_op.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_quads_verts.
Vinson Lee [Sat, 12 Dec 2009 22:41:35 +0000 (14:41 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_quads_verts.

14 years agoprogs/trivial: Silence compiler warnings in tri-blend-max.c
Vinson Lee [Sat, 12 Dec 2009 22:20:17 +0000 (14:20 -0800)]
progs/trivial: Silence compiler warnings in tri-blend-max.c

14 years agot_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.
Vinson Lee [Sat, 12 Dec 2009 21:39:39 +0000 (13:39 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
Vinson Lee [Sat, 12 Dec 2009 20:52:02 +0000 (12:52 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.

14 years agoprogs/xdemos: Silence compiler warnings in glxinfo.c.
Vinson Lee [Sat, 12 Dec 2009 10:06:51 +0000 (02:06 -0800)]
progs/xdemos: Silence compiler warnings in glxinfo.c.

14 years agoprogs/tests: Silence compiler warnings in vpeval.c.
Vinson Lee [Sat, 12 Dec 2009 09:34:33 +0000 (01:34 -0800)]
progs/tests: Silence compiler warnings in vpeval.c.

14 years agoprogs/tests: Silence compiler warnings in cva.c.
Vinson Lee [Sat, 12 Dec 2009 09:11:56 +0000 (01:11 -0800)]
progs/tests: Silence compiler warnings in cva.c.

14 years agoprogs/redbook: Silence compiler warnings in aaindex.c.
Vinson Lee [Sat, 12 Dec 2009 09:02:16 +0000 (01:02 -0800)]
progs/redbook: Silence compiler warnings in aaindex.c.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
Vinson Lee [Sat, 12 Dec 2009 08:33:42 +0000 (00:33 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.

14 years agodocs: updated 7.6.1 relnotes with GLSL fixes
Brian Paul [Fri, 11 Dec 2009 16:41:34 +0000 (09:41 -0700)]
docs: updated 7.6.1 relnotes with GLSL fixes

14 years agomesa: remove unnecessary loop in _mesa_remove_output_reads()
Brian Paul [Fri, 11 Dec 2009 16:40:33 +0000 (09:40 -0700)]
mesa: remove unnecessary loop in _mesa_remove_output_reads()

14 years agomesa: check dst reg in _mesa_find_free_register()
Brian Paul [Fri, 11 Dec 2009 16:16:25 +0000 (09:16 -0700)]
mesa: check dst reg in _mesa_find_free_register()

If a register was only being used as a destination (as will happen when
generated condition-codes) we missed its use.  So we'd errantly return
a register index that was really in-use, not free.

Fixes bug 25579.

14 years agosparc: additional preprocessor test for SPARC 64-bit
Aurelien Jarno [Fri, 11 Dec 2009 15:46:54 +0000 (08:46 -0700)]
sparc: additional preprocessor test for SPARC 64-bit

14 years agomesa: Initialize variable in MatchInstruction.
Vinson Lee [Fri, 11 Dec 2009 02:51:51 +0000 (18:51 -0800)]
mesa: Initialize variable in MatchInstruction.

14 years agomesa: Assign _mesa_lookup_parameter_index return value to GLint.
Vinson Lee [Fri, 11 Dec 2009 02:32:33 +0000 (18:32 -0800)]
mesa: Assign _mesa_lookup_parameter_index return value to GLint.

14 years agoi915: Add missing break statement in i915_debug_packet.
Vinson Lee [Fri, 11 Dec 2009 02:21:59 +0000 (18:21 -0800)]
i915: Add missing break statement in i915_debug_packet.

14 years agoglsl: Increase size of array in_slang_lookup_constant from 4 to 16.
Vinson Lee [Fri, 11 Dec 2009 01:50:35 +0000 (17:50 -0800)]
glsl: Increase size of array in_slang_lookup_constant from 4 to 16.

For some cases, _mesa_GetIntegerv reads up to params[15].

14 years agoprogs/samples: Byte swap individual members of struct _rawImageRec.
Vinson Lee [Thu, 10 Dec 2009 23:41:13 +0000 (15:41 -0800)]
progs/samples: Byte swap individual members of struct _rawImageRec.

14 years agoprogs/util: Byte swap individual members of struct _rawImageRec.
Vinson Lee [Thu, 10 Dec 2009 21:24:15 +0000 (13:24 -0800)]
progs/util: Byte swap individual members of struct _rawImageRec.

14 years agoglsl: Fix array out-of-bounds access by _slang_lookup_constant.
Vinson Lee [Thu, 10 Dec 2009 20:37:10 +0000 (12:37 -0800)]
glsl: Fix array out-of-bounds access by _slang_lookup_constant.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameteriv.
Vinson Lee [Thu, 10 Dec 2009 20:11:09 +0000 (12:11 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexGend.
Vinson Lee [Thu, 10 Dec 2009 01:59:23 +0000 (17:59 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexGend.

_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Lighti.
Vinson Lee [Thu, 10 Dec 2009 01:34:50 +0000 (17:34 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Lighti.

_mesa_Lighti calls _mesa_Lightiv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Lightf.
Vinson Lee [Thu, 10 Dec 2009 01:11:30 +0000 (17:11 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Lightf.

14 years agomesa: Fix array out-of-bounds access by _mesa_PointParameteri.
Vinson Lee [Wed, 9 Dec 2009 21:15:05 +0000 (13:15 -0800)]
mesa: Fix array out-of-bounds access by _mesa_PointParameteri.

_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_PointParameterf.
Vinson Lee [Wed, 9 Dec 2009 21:00:22 +0000 (13:00 -0800)]
mesa: Fix array out-of-bounds access by _mesa_PointParameterf.

_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_LightModelf.
Vinson Lee [Wed, 9 Dec 2009 20:43:28 +0000 (12:43 -0800)]
mesa: Fix array out-of-bounds access by _mesa_LightModelf.

_mesa_LightModelf calls _mesa_LightModelfv, which uses the
params argument as an array.

14 years agoglsl: Remove unused member x from struct slang_operation.
Vinson Lee [Wed, 9 Dec 2009 19:26:24 +0000 (11:26 -0800)]
glsl: Remove unused member x from struct slang_operation.