mesa.git
14 years agoprogs/samples: 'Silence no previous prototype' warnings.
Vinson Lee [Sat, 2 Jan 2010 01:54:11 +0000 (17:54 -0800)]
progs/samples: 'Silence no previous prototype' warnings.

14 years agoglu/sgi: Initialize member of struct Dlnode.
Vinson Lee [Sat, 2 Jan 2010 01:25:16 +0000 (17:25 -0800)]
glu/sgi: Initialize member of struct Dlnode.

14 years agoglu/sgi: Initialize members of struct O_nurbscurve.
Vinson Lee [Sat, 2 Jan 2010 01:19:27 +0000 (17:19 -0800)]
glu/sgi: Initialize members of struct O_nurbscurve.

14 years agox86: Silence printf format warnings.
Vinson Lee [Sat, 2 Jan 2010 01:06:16 +0000 (17:06 -0800)]
x86: Silence printf format warnings.

14 years agoprogs/rbug: s/wait/rbug_wait/
Vinson Lee [Sat, 2 Jan 2010 00:25:37 +0000 (16:25 -0800)]
progs/rbug: s/wait/rbug_wait/

wait conflicts with wait in /usr/include/sys/wait.h.

14 years agollvmpipe: Silence uninitialized variable warning.
Vinson Lee [Sat, 2 Jan 2010 00:03:53 +0000 (16:03 -0800)]
llvmpipe: Silence uninitialized variable warning.

14 years agollvmpipe: Use C-style comment.
Vinson Lee [Fri, 1 Jan 2010 23:38:19 +0000 (15:38 -0800)]
llvmpipe: Use C-style comment.

14 years agogallium/util: Silence format warnings.
Vinson Lee [Fri, 1 Jan 2010 23:32:52 +0000 (15:32 -0800)]
gallium/util: Silence format warnings.

14 years agoARB prog parser: Silence unused variable warnings.
Vinson Lee [Fri, 1 Jan 2010 23:12:58 +0000 (15:12 -0800)]
ARB prog parser: Silence unused variable warnings.

14 years agogallium/util: Replace h_addr with h_addr_list[0].
Vinson Lee [Fri, 1 Jan 2010 23:01:22 +0000 (15:01 -0800)]
gallium/util: Replace h_addr with h_addr_list[0].

Fixes compilation error on Mac OS.

14 years agoglu/sgi: Initialize members of class Knotvector.
Vinson Lee [Fri, 1 Jan 2010 22:46:11 +0000 (14:46 -0800)]
glu/sgi: Initialize members of class Knotvector.

14 years agoglu/sgi: Initialize member of struct Property.
Vinson Lee [Fri, 1 Jan 2010 22:39:16 +0000 (14:39 -0800)]
glu/sgi: Initialize member of struct Property.

14 years agoswrast: use different temp array in _swrast_get_dest_rgba()
Brian Paul [Thu, 31 Dec 2009 15:44:24 +0000 (08:44 -0700)]
swrast: use different temp array in _swrast_get_dest_rgba()

When using multiple color drawbuffers with blending/logicop/masking we
were overwriting color values which we still needed.

14 years agomesa: Silence unused variable warning.
Vinson Lee [Thu, 31 Dec 2009 08:07:47 +0000 (00:07 -0800)]
mesa: Silence unused variable warning.

14 years agoprogs/glsl: Provide a better fix for fgets warning.
Vinson Lee [Wed, 30 Dec 2009 20:38:21 +0000 (12:38 -0800)]
progs/glsl: Provide a better fix for fgets warning.

14 years agost/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()
Brian Paul [Wed, 30 Dec 2009 06:24:04 +0000 (23:24 -0700)]
st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()

Fixes progs/demos/fbotexture on Nouveau.
Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.

14 years agoglu/sgi: Initialize members of struct O_nurbssurface.
Vinson Lee [Wed, 30 Dec 2009 06:29:53 +0000 (22:29 -0800)]
glu/sgi: Initialize members of struct O_nurbssurface.

14 years agotdfx: Silence uninitialized variable warning.
Vinson Lee [Wed, 30 Dec 2009 05:34:06 +0000 (21:34 -0800)]
tdfx: Silence uninitialized variable warning.

14 years agoprogs/glsl: Silence compiler warnings.
Vinson Lee [Wed, 30 Dec 2009 05:11:37 +0000 (21:11 -0800)]
progs/glsl: Silence compiler warnings.

14 years agoglu/sgi: Silence warn_unused_result warnings.
Vinson Lee [Wed, 30 Dec 2009 05:03:23 +0000 (21:03 -0800)]
glu/sgi: Silence warn_unused_result warnings.

14 years agost/xorg: Use C-style comments.
Vinson Lee [Wed, 30 Dec 2009 04:56:47 +0000 (20:56 -0800)]
st/xorg: Use C-style comments.

14 years agoglu/sgi: Initialize member of struct GridVertex.
Vinson Lee [Wed, 30 Dec 2009 04:45:24 +0000 (20:45 -0800)]
glu/sgi: Initialize member of struct GridVertex.

14 years agost/xorg: Fix warning and add a TODO comment
Jakob Bornecrantz [Wed, 30 Dec 2009 04:08:09 +0000 (05:08 +0100)]
st/xorg: Fix warning and add a TODO comment

14 years agost/xorg: On close wait on fences and then destroy the screen
Jakob Bornecrantz [Wed, 30 Dec 2009 03:46:12 +0000 (04:46 +0100)]
st/xorg: On close wait on fences and then destroy the screen

14 years agost/xorg: Be proper with pipe pointers on close in exa
Jakob Bornecrantz [Wed, 30 Dec 2009 03:58:25 +0000 (04:58 +0100)]
st/xorg: Be proper with pipe pointers on close in exa

14 years agost/xorg: Make sure we don't overrun the fence array in block handler
Jakob Bornecrantz [Wed, 30 Dec 2009 03:22:12 +0000 (04:22 +0100)]
st/xorg: Make sure we don't overrun the fence array in block handler

14 years agoglu/sgi: Initialize member variables in class Varray.
Vinson Lee [Wed, 30 Dec 2009 01:46:42 +0000 (17:46 -0800)]
glu/sgi: Initialize member variables in class Varray.

14 years agoglu/sgi: Initialize member of class monoChain.
Vinson Lee [Wed, 30 Dec 2009 01:35:22 +0000 (17:35 -0800)]
glu/sgi: Initialize member of class monoChain.

14 years agoglu/sgi: Initialize members of class sampledLine.
Vinson Lee [Wed, 30 Dec 2009 01:22:11 +0000 (17:22 -0800)]
glu/sgi: Initialize members of class sampledLine.

14 years agoglu/sgi: Initialize members of class directedLine.
Vinson Lee [Tue, 29 Dec 2009 22:28:33 +0000 (14:28 -0800)]
glu/sgi: Initialize members of class directedLine.

14 years agomesa: Initialize variable in get_tex_color_index.
Vinson Lee [Tue, 29 Dec 2009 21:38:02 +0000 (13:38 -0800)]
mesa: Initialize variable in get_tex_color_index.

14 years agoglsl: added uniform initializer check
Brian Paul [Tue, 29 Dec 2009 17:11:26 +0000 (10:11 -0700)]
glsl: added uniform initializer check

GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later
allows them.  This patch uses the #version directive to allow/disallow
uniform initializers.

This addresses bug 25807, but piglit also needs to be fixed to specify
the GLSL version in the shader.

14 years agoARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slots
Brian Paul [Tue, 29 Dec 2009 16:06:00 +0000 (09:06 -0700)]
ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slots

This function will search the constant parameters in an effort to re-use
constant slots.  For example, {1,2,3,4} and {4,1,1,2} can be stored in
one constant slot and accessed with different swizzles.  The swizzle info
must be propogated though the parsing code in a few places.

Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.

14 years agost/egl: Move declaration before code.
Vinson Lee [Tue, 29 Dec 2009 03:09:33 +0000 (19:09 -0800)]
st/egl: Move declaration before code.

14 years agointel: Silence compiler warnings.
Vinson Lee [Tue, 29 Dec 2009 02:46:15 +0000 (18:46 -0800)]
intel: Silence compiler warnings.

14 years agollvmpipe: Fix assert.
Vinson Lee [Tue, 29 Dec 2009 02:07:09 +0000 (18:07 -0800)]
llvmpipe: Fix assert.

14 years agollvmpipe: Silence compiler warnings.
Vinson Lee [Tue, 29 Dec 2009 02:05:30 +0000 (18:05 -0800)]
llvmpipe: Silence compiler warnings.

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.