mesa.git
14 years agoutil: better fix for unused variable warnings with asserts
Keith Whitwell [Mon, 28 Dec 2009 11:05:06 +0000 (11:05 +0000)]
util: better fix for unused variable warnings with asserts

Modify the non-debug (ie disabled) version of assert to expose the
value in the expression to the compiler (avoiding the unused variable
messages) while still expanding to a noop.

14 years agollvmpipe: Silence compiler warnings.
Vinson Lee [Mon, 28 Dec 2009 08:44:30 +0000 (00:44 -0800)]
llvmpipe: Silence compiler warnings.

14 years agost/xorg: Silence unused variable warnings.
Vinson Lee [Mon, 28 Dec 2009 07:02:55 +0000 (23:02 -0800)]
st/xorg: Silence unused variable warnings.

14 years agog3dvl: Silence compiler warnings.
Vinson Lee [Mon, 28 Dec 2009 06:49:49 +0000 (22:49 -0800)]
g3dvl: Silence compiler warnings.

14 years agost/vega: Silence compiler warnings.
Vinson Lee [Mon, 28 Dec 2009 06:39:31 +0000 (22:39 -0800)]
st/vega: Silence compiler warnings.

14 years agogallium/xlib: Silence unused variable warning.
Vinson Lee [Mon, 28 Dec 2009 06:18:18 +0000 (22:18 -0800)]
gallium/xlib: Silence unused variable warning.

14 years agotrace: Silence unused variable warnings.
Vinson Lee [Mon, 28 Dec 2009 02:12:58 +0000 (18:12 -0800)]
trace: Silence unused variable warnings.

14 years agoi915g: Silence unused variable warning.
Vinson Lee [Mon, 28 Dec 2009 02:09:58 +0000 (18:09 -0800)]
i915g: Silence unused variable warning.

14 years agosoftpipe: Silence unintialized variable warnings.
Vinson Lee [Mon, 28 Dec 2009 02:06:02 +0000 (18:06 -0800)]
softpipe: Silence unintialized variable warnings.

14 years agosoftpipe: Silence unused variable warning.
Vinson Lee [Mon, 28 Dec 2009 01:52:47 +0000 (17:52 -0800)]
softpipe: Silence unused variable warning.

14 years agotgsi/ureg: Silence uninitialized variable warnings.
Vinson Lee [Mon, 28 Dec 2009 01:40:48 +0000 (17:40 -0800)]
tgsi/ureg: Silence uninitialized variable warnings.

14 years agodocs: insert 7.7 release date
Brian Paul [Sun, 27 Dec 2009 22:33:25 +0000 (15:33 -0700)]
docs: insert 7.7 release date

14 years agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Brian Paul [Sun, 27 Dec 2009 22:31:08 +0000 (15:31 -0700)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
src/gallium/auxiliary/util/u_network.c
src/gallium/auxiliary/util/u_network.h
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/trace/tr_rbug.c
src/gallium/state_trackers/vega/bezier.c
src/gallium/state_trackers/vega/vg_context.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/winsys/xlib/xlib_brw_context.c
src/mesa/main/mtypes.h

14 years agodocs: insert 7.6.1 release date
Brian Paul [Sun, 27 Dec 2009 22:14:25 +0000 (15:14 -0700)]
docs: insert 7.6.1 release date

14 years agost/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM
Brian Paul [Sun, 27 Dec 2009 17:09:24 +0000 (10:09 -0700)]
st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM

14 years agogallium/util: Remove comma at end of enumerator list.
Vinson Lee [Sun, 27 Dec 2009 00:22:25 +0000 (16:22 -0800)]
gallium/util: Remove comma at end of enumerator list.

14 years agorbug: Remove comma at end of enumerator list.
Vinson Lee [Sun, 27 Dec 2009 00:18:47 +0000 (16:18 -0800)]
rbug: Remove comma at end of enumerator list.

14 years agorbug: Remove comma at end of enumerator list.
Vinson Lee [Sun, 27 Dec 2009 00:14:39 +0000 (16:14 -0800)]
rbug: Remove comma at end of enumerator list.

14 years agomesa: Remove comma at end of enumerator list.
Vinson Lee [Sun, 27 Dec 2009 00:09:41 +0000 (16:09 -0800)]
mesa: Remove comma at end of enumerator list.

14 years agoi915: Fix assert.
Vinson Lee [Sat, 26 Dec 2009 23:55:38 +0000 (15:55 -0800)]
i915: Fix assert.

14 years agoprogs/demos: Silence warn_unused_result warnings.
Vinson Lee [Sat, 26 Dec 2009 09:08:26 +0000 (01:08 -0800)]
progs/demos: Silence warn_unused_result warnings.

14 years agoprogs/util: Silence warn_unused_result warnings.
Vinson Lee [Sat, 26 Dec 2009 07:13:50 +0000 (23:13 -0800)]
progs/util: Silence warn_unused_result warnings.

14 years agointel: Silence implicit function declaration warning.
Vinson Lee [Sat, 26 Dec 2009 06:34:35 +0000 (22:34 -0800)]
intel: Silence implicit function declaration warning.

14 years agoglu/sgi: Fix include recursion.
Vinson Lee [Fri, 25 Dec 2009 22:23:10 +0000 (14:23 -0800)]
glu/sgi: Fix include recursion.

arcsorter.h should not include itself.

14 years agoi965: Fix assert.
Vinson Lee [Fri, 25 Dec 2009 06:58:05 +0000 (22:58 -0800)]
i965: Fix assert.

14 years agoi965: Add missing va_end.
Vinson Lee [Fri, 25 Dec 2009 00:26:09 +0000 (16:26 -0800)]
i965: Add missing va_end.

14 years agoglsl: Initialize member a_obj of struct slang_operation.
Vinson Lee [Thu, 24 Dec 2009 02:00:06 +0000 (18:00 -0800)]
glsl: Initialize member a_obj of struct slang_operation.

14 years agoglu/sgi: Initialize variable in directedLine.
Vinson Lee [Thu, 24 Dec 2009 01:50:02 +0000 (17:50 -0800)]
glu/sgi: Initialize variable in directedLine.

14 years agogallium/util: Initialize variable in util_clear.
Vinson Lee [Thu, 24 Dec 2009 00:22:03 +0000 (16:22 -0800)]
gallium/util: Initialize variable in util_clear.

14 years agoglu/sgi: Silence compiler warnings.
Vinson Lee [Thu, 24 Dec 2009 00:11:10 +0000 (16:11 -0800)]
glu/sgi: Silence compiler warnings.

14 years agoutil: Ensure debug_dump_flags generates a null-terminated string.
Vinson Lee [Wed, 23 Dec 2009 23:19:45 +0000 (15:19 -0800)]
util: Ensure debug_dump_flags generates a null-terminated string.

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 agoRegenerate gl_mangle.h.
Tom Fogal [Wed, 23 Dec 2009 18:24:52 +0000 (11:24 -0700)]
Regenerate gl_mangle.h.

Signed-off-by: Brian Paul <brianp@vmware.com>
14 years agogallium: only create pipe buffer when size is nonzero
Maarten Maathuis [Sun, 20 Dec 2009 13:03:03 +0000 (05:03 -0800)]
gallium: only create pipe buffer when size is nonzero

- This fixes a crash upon starting spring (a rts engine/game).

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
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 agomesa: fix binary() function, printf format string
Brian Paul [Tue, 22 Dec 2009 20:28:39 +0000 (13:28 -0700)]
mesa: fix binary() function, printf format string

Need to use the constant 1ULL and 0xllx format string.  This fixes incorrect
results and a NULL pointer/parameter bug.

14 years agoprogs/tests: Fix build.
Vinson Lee [Tue, 22 Dec 2009 08:54:34 +0000 (00:54 -0800)]
progs/tests: Fix build.

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 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 agoAdd MD5 checksums for 7.7 release
Ian Romanick [Tue, 22 Dec 2009 02:30:35 +0000 (18:30 -0800)]
Add MD5 checksums for 7.7 release

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

14 years agointel: Bump driver date to reflect status as final Q4 driver RC
Ian Romanick [Tue, 22 Dec 2009 02:27:50 +0000 (18:27 -0800)]
intel: Bump driver date to reflect status as final Q4 driver RC

14 years agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Ian Romanick [Tue, 22 Dec 2009 02:27:24 +0000 (18:27 -0800)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
scons/gallium.py
scons/generic.py
src/mesa/main/version.h

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 agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Brian Paul [Tue, 22 Dec 2009 01:23:53 +0000 (18:23 -0700)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
configure.ac
progs/demos/morph3d.c
progs/demos/textures.c
progs/glsl/shtest.c
progs/glsl/texaaline.c
progs/tests/packedpixels.c
progs/xdemos/corender.c
src/mesa/main/version.h

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 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 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 agoprogs/perf: added check for GL_ARB_framebuffer_object
Brian Paul [Mon, 21 Dec 2009 20:48:58 +0000 (13:48 -0700)]
progs/perf: added check for GL_ARB_framebuffer_object

14 years agoprogs/demos: report pixel rate in million pixels / sec
Brian Paul [Fri, 11 Dec 2009 22:22:17 +0000 (15:22 -0700)]
progs/demos: report pixel rate in million pixels / sec

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.