mesa.git
15 years agoscons: Indent abbreviated command line strings, so command messages stand out.
Michel Dänzer [Thu, 11 Jun 2009 10:11:37 +0000 (12:11 +0200)]
scons: Indent abbreviated command line strings, so command messages stand out.

Also add ASPPCOMSTR.

15 years agointel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.
Michel Dänzer [Thu, 11 Jun 2009 10:09:10 +0000 (12:09 +0200)]
intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.

Fixes glean depthStencil test.

15 years agoglsl: fix warnings, update comments, s/TRUE/GL_TRUE/
Brian Paul [Wed, 10 Jun 2009 18:16:15 +0000 (12:16 -0600)]
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/

15 years agoglsl: Handle continuation characters in preprocessor.
Michal Krol [Wed, 10 Jun 2009 17:45:00 +0000 (19:45 +0200)]
glsl: Handle continuation characters in preprocessor.

15 years agogallium: updated PIPE_CAP_x comments
Brian Paul [Tue, 9 Jun 2009 17:10:09 +0000 (11:10 -0600)]
gallium: updated PIPE_CAP_x comments

15 years agoMerge branch 'mesa_7_5_branch'
Jakob Bornecrantz [Tue, 9 Jun 2009 05:53:25 +0000 (07:53 +0200)]
Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/mesa/main/version.h
src/mesa/shader/slang/slang_preprocess.c
src/mesa/state_tracker/st_cb_bufferobjects.c

15 years agoglsl: Fix symbol replacement handling in preprocessor.
Michal Krol [Wed, 10 Jun 2009 10:15:13 +0000 (12:15 +0200)]
glsl: Fix symbol replacement handling in preprocessor.

15 years agowinsys/gdi: Link to ws2_32 library.
Michal Krol [Wed, 10 Jun 2009 10:01:13 +0000 (12:01 +0200)]
winsys/gdi: Link to ws2_32 library.

15 years agotrace: __func__ --> __FUNCTION__.
Michal Krol [Wed, 10 Jun 2009 09:56:38 +0000 (11:56 +0200)]
trace: __func__ --> __FUNCTION__.

15 years agoi915: Add an option for testing the effect of early Z in classic mode.
Eric Anholt [Tue, 9 Jun 2009 23:12:43 +0000 (16:12 -0700)]
i915: Add an option for testing the effect of early Z in classic mode.

The early Z stuff is supposed to be unsafe without some more work in the
enable/disable path (in particular, how do we want to get it disabled on
the way out to the X Server?), but at the moment is 6% in OA.

15 years agointel: Remove an unneeded hunk that slipped in with texture tiling.
Eric Anholt [Sat, 6 Jun 2009 07:22:00 +0000 (07:22 +0000)]
intel: Remove an unneeded hunk that slipped in with texture tiling.

intel_miptree_pitch_align does this later on.

15 years agointel: Base tri clearing depth on Y tiling, not IS_I965().
Eric Anholt [Sat, 6 Jun 2009 00:52:21 +0000 (00:52 +0000)]
intel: Base tri clearing depth on Y tiling, not IS_I965().

Y tiling is why the 965 check was there, but I wanted to experiment with Y
on pre-965 as well.

15 years agointel: Fix intel_region_unmap to do unmap, not map.
Eric Anholt [Fri, 5 Jun 2009 15:14:15 +0000 (15:14 +0000)]
intel: Fix intel_region_unmap to do unmap, not map.

Thanks to Shuang He for catching this.

15 years agoi965: added intelFlush() call in intel_get_tex_image()
Brian Paul [Tue, 9 Jun 2009 21:07:39 +0000 (15:07 -0600)]
i965: added intelFlush() call in intel_get_tex_image()

Fixes the render-to-texture test in progs/tests/getteximage.c

15 years agotests: check for GL_EXT/ARB_framebuffer_object
Brian Paul [Tue, 9 Jun 2009 21:06:41 +0000 (15:06 -0600)]
tests: check for GL_EXT/ARB_framebuffer_object

15 years agotests: also test glGetTexImage with render to texture
Brian Paul [Tue, 9 Jun 2009 21:05:36 +0000 (15:05 -0600)]
tests: also test glGetTexImage with render to texture

Also, adjust texture dims for the original test.
And use GLEW.

15 years agotests: quick and dirty glGetTexImage() test program
Brian Paul [Tue, 9 Jun 2009 20:03:25 +0000 (14:03 -0600)]
tests: quick and dirty glGetTexImage() test program

15 years agointel: use GLboolean, not int, for compressed parameter
Brian Paul [Tue, 9 Jun 2009 19:28:20 +0000 (13:28 -0600)]
intel: use GLboolean, not int, for compressed parameter

15 years agointel: make a bunch of glTexImage-related functions static
Brian Paul [Tue, 9 Jun 2009 19:21:22 +0000 (13:21 -0600)]
intel: make a bunch of glTexImage-related functions static

15 years agointel: whitespace clean-ups
Brian Paul [Tue, 9 Jun 2009 19:09:05 +0000 (13:09 -0600)]
intel: whitespace clean-ups

15 years agovbo: more glDrawElements debug code (disabled)
Brian Paul [Tue, 9 Jun 2009 18:17:19 +0000 (12:17 -0600)]
vbo: more glDrawElements debug code (disabled)

15 years agomesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)
Brian Paul [Tue, 9 Jun 2009 17:53:19 +0000 (11:53 -0600)]
mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)

15 years agotrace/rbug: Add support for draw block rule
Jakob Bornecrantz [Tue, 9 Jun 2009 18:24:06 +0000 (19:24 +0100)]
trace/rbug: Add support for draw block rule

15 years agorbug: Change block protocol around a bit
Jakob Bornecrantz [Tue, 9 Jun 2009 18:22:40 +0000 (19:22 +0100)]
rbug: Change block protocol around a bit

15 years agomesa/st: fix tracking of mapped buffer ranges
Keith Whitwell [Tue, 9 Jun 2009 17:32:18 +0000 (18:32 +0100)]
mesa/st: fix tracking of mapped buffer ranges

In st_bufferobj_map_range(), set obj->Offset consistently with its
usage elsewhere.

15 years agostw: ignore swapbuffer requests on singlebuffer
Keith Whitwell [Tue, 9 Jun 2009 15:35:55 +0000 (16:35 +0100)]
stw: ignore swapbuffer requests on singlebuffer

Return TRUE in this case.  Returning FALSE seems to result in
mis-rendering -- possibly opengl32.dll is trying to compensate by
doing a software blit??

15 years agoglsl: Expand nested preprocessor macros.
Brian Paul [Tue, 9 Jun 2009 15:14:38 +0000 (09:14 -0600)]
glsl: Expand nested preprocessor macros.

(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)

15 years agotrace/rbug: Return textures currently bound to context
Jakob Bornecrantz [Tue, 9 Jun 2009 14:59:29 +0000 (15:59 +0100)]
trace/rbug: Return textures currently bound to context

15 years agorbug: Extend context info and block ops
Jakob Bornecrantz [Tue, 9 Jun 2009 14:58:14 +0000 (15:58 +0100)]
rbug: Extend context info and block ops

15 years agointel: remove extra \n from warning string
Brian Paul [Mon, 8 Jun 2009 20:41:54 +0000 (14:41 -0600)]
intel: remove extra \n from warning string

15 years agomesa: reorder fields, update comments for gl_buffer_object
Brian Paul [Mon, 8 Jun 2009 21:27:10 +0000 (15:27 -0600)]
mesa: reorder fields, update comments for gl_buffer_object

15 years agoglsl: Expand nested preprocessor macros.
Michal Krol [Tue, 9 Jun 2009 10:14:40 +0000 (12:14 +0200)]
glsl: Expand nested preprocessor macros.

15 years agor300-gallium: HW TCL glxgears. (Read the rest of the log.)
Corbin Simpson [Tue, 9 Jun 2009 03:23:34 +0000 (20:23 -0700)]
r300-gallium: HW TCL glxgears. (Read the rest of the log.)

Um. So, yeah. Two massive WTF moments here. The first one is that, somehow,
I never actually hooked up vertex shader emission, so the only time that the
VAP gets set up is during surface_copy/surface_fill. That's why acidgears
was happening.

The second one is that, somehow, once I actually hooked it up, glxgears just
magically worked. Without any actual, real testing, I somehow accidentally
made the shader compiler work. Go figure.

15 years agor300-gallium: Make UCP and clip work again for SW TCL.
Corbin Simpson [Tue, 9 Jun 2009 03:01:57 +0000 (20:01 -0700)]
r300-gallium: Make UCP and clip work again for SW TCL.

SW TCL: tri-clip works, tri-userclip works
HW TCL: tri-clip fails, tri-userclip works

That is a 200% improvement over the previous situation. Woot.

15 years agor300-gallium: Don't emit UCP planes for SW TCL.
Corbin Simpson [Tue, 9 Jun 2009 02:55:33 +0000 (19:55 -0700)]
r300-gallium: Don't emit UCP planes for SW TCL.

15 years agost/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion
Brian Paul [Mon, 8 Jun 2009 22:11:17 +0000 (16:11 -0600)]
st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion

15 years agoCygwin build fixes
Jon TURNEY [Mon, 8 Jun 2009 15:02:18 +0000 (16:02 +0100)]
Cygwin build fixes

Fix mklib to deal with NOPREFIX and use --enable-auto-image-base for cygwin
Teach configure.ac some basic facts about cygwin

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
15 years agoglsl: Fix preprocessor define argument parsing for dead sections.
Brian Paul [Mon, 8 Jun 2009 19:53:33 +0000 (13:53 -0600)]
glsl: Fix preprocessor define argument parsing for dead sections.

(cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)

15 years agoglsl: Fix preprocessor define argument parsing for dead sections.
Michal Krol [Mon, 8 Jun 2009 18:52:47 +0000 (20:52 +0200)]
glsl: Fix preprocessor define argument parsing for dead sections.

15 years agopipebuffer: Silence out of heap space debug print
Jakob Bornecrantz [Mon, 8 Jun 2009 14:46:06 +0000 (16:46 +0200)]
pipebuffer: Silence out of heap space debug print

15 years agoglsl: preprocessor debug code (disabled)
Brian Paul [Mon, 8 Jun 2009 16:58:04 +0000 (10:58 -0600)]
glsl: preprocessor debug code (disabled)

15 years agodocs: document MESA_EXTENSION_OVERRIDE env var
Brian Paul [Mon, 8 Jun 2009 16:56:51 +0000 (10:56 -0600)]
docs: document MESA_EXTENSION_OVERRIDE env var

15 years agosoftpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0
Brian Paul [Mon, 8 Jun 2009 16:55:34 +0000 (10:55 -0600)]
softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0

Note that this doesn't have any real significance since
PIPE_CAP_ANISOTROPIC_FILTER still returns 0.

15 years agomesa: new MESA_EXTENSION_OVERRIDE env var
Brian Paul [Mon, 8 Jun 2009 16:52:16 +0000 (10:52 -0600)]
mesa: new MESA_EXTENSION_OVERRIDE env var

Can be used to enable/disable extensions as reported by
glGetString(GL_EXTENSIONS).

If a name is preceeded by '-' it's disabled.  Otherwise, the named
extension is enabled.

Intended for debug/test purposes.

15 years agost/mesa: remove invalid assertion
Brian Paul [Mon, 8 Jun 2009 16:44:48 +0000 (10:44 -0600)]
st/mesa: remove invalid assertion

It's legal for ARB_vertex_program programs to not write to result.position.
The results are undefined in that case.  This assertion was causing us to
abort/exit though.

15 years agomesa: Use matching signedness for the counter as upper bound.
José Fonseca [Mon, 8 Jun 2009 15:29:46 +0000 (16:29 +0100)]
mesa: Use matching signedness for the counter as upper bound.

15 years agomesa: Allocate tokens from the heap.
José Fonseca [Mon, 8 Jun 2009 15:27:59 +0000 (16:27 +0100)]
mesa: Allocate tokens from the heap.

The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on
windows.

Failure to allocate is not being propagated to the caller. This is not
a regression since the previous _mesa_malloc result wasn't being
checked as well. Unfortunately it is not easy to fix, as the callers of
these functions do not have failure propagation mechanism either, and
so on. So leaving a just fixme note for now.

15 years agomesa: better error message for invalid texture unit index
Brian Paul [Mon, 8 Jun 2009 15:52:31 +0000 (09:52 -0600)]
mesa: better error message for invalid texture unit index

15 years agomesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256
Brian Paul [Mon, 8 Jun 2009 15:42:04 +0000 (09:42 -0600)]
mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256

Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).

15 years agomesa/vbo: drop all references to vbo on destroy
Keith Whitwell [Mon, 8 Jun 2009 15:11:29 +0000 (16:11 +0100)]
mesa/vbo: drop all references to vbo on destroy

We were adding references to the input arrays, but failing to drop
them on destruction.  This could lead to a 64kb buffer being leaked
each context destruction.

15 years agomesa: EXT_vertex_array_bgra fixes
Brian Paul [Mon, 8 Jun 2009 13:25:24 +0000 (07:25 -0600)]
mesa: EXT_vertex_array_bgra fixes

1) Pass the correct format when calling update_array in
   _mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
   false in glVertexAttribPointerARB

(cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)

15 years agomesa: EXT_vertex_array_bgra fixes
Maciej Cencora [Mon, 8 Jun 2009 13:23:56 +0000 (07:23 -0600)]
mesa: EXT_vertex_array_bgra fixes

1) Pass the correct format when calling update_array in
   _mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
   false in glVertexAttribPointerARB

15 years agotrace/rbug: Sleep on windows when blocked
Jakob Bornecrantz [Mon, 8 Jun 2009 12:33:55 +0000 (14:33 +0200)]
trace/rbug: Sleep on windows when blocked

15 years agostw: If stfb not set don't call into mesa
Jakob Bornecrantz [Mon, 8 Jun 2009 12:34:16 +0000 (14:34 +0200)]
stw: If stfb not set don't call into mesa

15 years agoprogs/tests: Add some scissor tests
Jakob Bornecrantz [Wed, 3 Jun 2009 14:33:56 +0000 (16:33 +0200)]
progs/tests: Add some scissor tests

15 years agoRevert "scons: Less aggressive optimizations for MSVC 64bit compiler."
José Fonseca [Thu, 4 Jun 2009 17:34:02 +0000 (10:34 -0700)]
Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."

This reverts commit fc7f92478286041a018ac4e72d2ccedeea7c0eca.

15 years agollvm: fix compile on gcc 4.4
Dave Airlie [Mon, 8 Jun 2009 08:17:21 +0000 (18:17 +1000)]
llvm: fix compile on gcc 4.4

15 years agonouveau: forgotten makefile...
Ben Skeggs [Sun, 7 Jun 2009 09:29:29 +0000 (19:29 +1000)]
nouveau: forgotten makefile...

15 years agonv50: fix multi-texturing
Ben Skeggs [Sat, 6 Jun 2009 04:00:45 +0000 (14:00 +1000)]
nv50: fix multi-texturing

15 years agonv50: support non-normalized texture coords
Ben Skeggs [Sat, 6 Jun 2009 00:57:19 +0000 (10:57 +1000)]
nv50: support non-normalized texture coords

15 years agomesa: bump version to 7.5-rc3
Brian Paul [Fri, 5 Jun 2009 23:16:47 +0000 (17:16 -0600)]
mesa: bump version to 7.5-rc3

15 years agor300-gallium: Use VAP_CLIP_CNTL.
Corbin Simpson [Fri, 5 Jun 2009 20:46:59 +0000 (13:46 -0700)]
r300-gallium: Use VAP_CLIP_CNTL.

Makes tri-userclip work with HW TCL.

15 years agor300-gallium: Emit UCP.
Corbin Simpson [Fri, 5 Jun 2009 18:21:09 +0000 (11:21 -0700)]
r300-gallium: Emit UCP.

15 years agor300-gallium: Improve vs emit.
Corbin Simpson [Fri, 5 Jun 2009 17:18:20 +0000 (10:18 -0700)]
r300-gallium: Improve vs emit.

15 years agomesa: Fix wglext.h prototypes.
Michal Krol [Fri, 5 Jun 2009 13:00:15 +0000 (15:00 +0200)]
mesa: Fix wglext.h prototypes.

15 years agonv50: use larger tile sizes
Ben Skeggs [Fri, 5 Jun 2009 12:04:07 +0000 (22:04 +1000)]
nv50: use larger tile sizes

15 years agonv50: use nouveau_bo for query buffers
Ben Skeggs [Fri, 5 Jun 2009 10:45:58 +0000 (20:45 +1000)]
nv50: use nouveau_bo for query buffers

15 years agonv50: create textures with nouveau_bo, for flexibility with tiling later
Ben Skeggs [Fri, 5 Jun 2009 10:32:32 +0000 (20:32 +1000)]
nv50: create textures with nouveau_bo, for flexibility with tiling later

15 years agoutil: Fix winsock include.
Michal Krol [Fri, 5 Jun 2009 12:32:31 +0000 (14:32 +0200)]
util: Fix winsock include.

15 years agor300-gallium: Mute some debug info.
Corbin Simpson [Fri, 5 Jun 2009 07:12:26 +0000 (00:12 -0700)]
r300-gallium: Mute some debug info.

Most of it is no longer interesting.

15 years agor300-gallium: vs: Fix negation calculation.
Corbin Simpson [Fri, 5 Jun 2009 06:56:32 +0000 (23:56 -0700)]
r300-gallium: vs: Fix negation calculation.

Still doesn't draw right, but at least it's the right numbers now.
Thanks to taiu in #dri-devel.

15 years agor300-gallium: Fix pasta.
Corbin Simpson [Fri, 5 Jun 2009 06:56:08 +0000 (23:56 -0700)]
r300-gallium: Fix pasta.

Trivial but annoying.

15 years agor300-gallium: Improve vs debug more.
Corbin Simpson [Fri, 5 Jun 2009 06:25:46 +0000 (23:25 -0700)]
r300-gallium: Improve vs debug more.

Still not showing me why my stuff's failing, but getting there.

15 years agor300-gallium: vs: Add negation, SUB.
Corbin Simpson [Fri, 5 Jun 2009 05:41:33 +0000 (22:41 -0700)]
r300-gallium: vs: Add negation, SUB.

Doesn't work. WTF.

15 years agor300: Moar vs debug.
Corbin Simpson [Fri, 5 Jun 2009 04:38:33 +0000 (21:38 -0700)]
r300: Moar vs debug.

15 years agonouveau: plug in our map_buffer_range and friends
Ben Skeggs [Fri, 5 Jun 2009 04:48:45 +0000 (14:48 +1000)]
nouveau: plug in our map_buffer_range and friends

15 years agonouveau: fix build with libdrm_nouveau 0.6
Ben Skeggs [Fri, 5 Jun 2009 02:27:42 +0000 (12:27 +1000)]
nouveau: fix build with libdrm_nouveau 0.6

15 years agonouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->
Ben Skeggs [Fri, 5 Jun 2009 01:21:08 +0000 (11:21 +1000)]
nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->

15 years agonouveau: move channel creation into pipe drivers
Ben Skeggs [Fri, 5 Jun 2009 00:28:13 +0000 (10:28 +1000)]
nouveau: move channel creation into pipe drivers

15 years agonouveau: call notifier/grobj etc funcs directly
Ben Skeggs [Thu, 4 Jun 2009 22:47:42 +0000 (08:47 +1000)]
nouveau: call notifier/grobj etc funcs directly

libdrm_nouveau is linked with the winsys, there's no good reason to do all
this through yet another layer.

15 years agonv04: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:57:53 +0000 (21:57 +1000)]
nv04: remove u_simple_screen usage

15 years agonv10: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:53:57 +0000 (21:53 +1000)]
nv10: remove u_simple_screen usage

15 years agonv20: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:44:20 +0000 (21:44 +1000)]
nv20: remove u_simple_screen usage

15 years agonv30: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:37:59 +0000 (21:37 +1000)]
nv30: remove u_simple_screen usage

15 years agonv40: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:30:41 +0000 (21:30 +1000)]
nv40: remove u_simple_screen usage

15 years agonouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over
Ben Skeggs [Thu, 4 Jun 2009 00:19:04 +0000 (10:19 +1000)]
nouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over

15 years agonouveau: pass nouveau_bo instead of pipe_buffer to so_ calls
Ben Skeggs [Thu, 4 Jun 2009 06:13:56 +0000 (16:13 +1000)]
nouveau: pass nouveau_bo instead of pipe_buffer to so_ calls

15 years agonouveau: call nouveau_pushbuf directly rather than going through nvws
Ben Skeggs [Thu, 4 Jun 2009 05:26:07 +0000 (15:26 +1000)]
nouveau: call nouveau_pushbuf directly rather than going through nvws

15 years agoosmesa: Link with -ldl for dlopen code
Dan Nicholson [Fri, 5 Jun 2009 02:42:08 +0000 (19:42 -0700)]
osmesa: Link with -ldl for dlopen code

Now that the dlopen wrappers are built into libmesa.a, we need to link
standalone libOSMesa with libdl to resolve dlopen and friends on
platforms that need it.
(cherry picked from commit 4795dd5950d4dcd7c8d421c8fb4851c193297ba1)

15 years agoosmesa: Allow building standalone in all three channel widths
Dan Nicholson [Thu, 4 Jun 2009 13:21:10 +0000 (06:21 -0700)]
osmesa: Allow building standalone in all three channel widths

autoconf had been designating the 8 bit libOSMesa as the default
standalone osmesa, but the Makefile expected it to be linked to libGL.
Fix up the osmesa Makefile so that it allows any of the combinations of
standalone and channel width to be built.

Fixes bug #21980.
(cherry picked from commit 7441dcd90b01df8351026af8bbb50e11bb86071a)

15 years agoosmesa: Link with -ldl for dlopen code
Dan Nicholson [Fri, 5 Jun 2009 02:42:08 +0000 (19:42 -0700)]
osmesa: Link with -ldl for dlopen code

Now that the dlopen wrappers are built into libmesa.a, we need to link
standalone libOSMesa with libdl to resolve dlopen and friends on
platforms that need it.

15 years agoosmesa: Allow building standalone in all three channel widths
Dan Nicholson [Thu, 4 Jun 2009 13:21:10 +0000 (06:21 -0700)]
osmesa: Allow building standalone in all three channel widths

autoconf had been designating the 8 bit libOSMesa as the default
standalone osmesa, but the Makefile expected it to be linked to libGL.
Fix up the osmesa Makefile so that it allows any of the combinations of
standalone and channel width to be built.

Fixes bug #21980.

15 years agotrace/rbug: Use condvar on system that has it for blocking
Jakob Bornecrantz [Fri, 5 Jun 2009 02:01:34 +0000 (03:01 +0100)]
trace/rbug: Use condvar on system that has it for blocking

15 years agogallium: Make pipe thread say if it has condvars or not
Jakob Bornecrantz [Fri, 5 Jun 2009 01:57:19 +0000 (02:57 +0100)]
gallium: Make pipe thread say if it has condvars or not

15 years agotrace/rbug: Add new contexts functions to trace rbug
Jakob Bornecrantz [Thu, 4 Jun 2009 22:40:10 +0000 (23:40 +0100)]
trace/rbug: Add new contexts functions to trace rbug

15 years agorbug: Update rbug protocol with new context calls
Jakob Bornecrantz [Thu, 4 Jun 2009 13:36:10 +0000 (14:36 +0100)]
rbug: Update rbug protocol with new context calls

15 years agomesa: call _mesa_ funcs, not gl funcs for debugging
Brian Paul [Thu, 4 Jun 2009 20:26:51 +0000 (14:26 -0600)]
mesa: call _mesa_ funcs, not gl funcs for debugging

15 years agoMerge branch 'mesa_7_5_branch'
Brian Paul [Thu, 4 Jun 2009 19:16:13 +0000 (13:16 -0600)]
Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/main/context.c

15 years agosoftpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()
Brian Paul [Thu, 4 Jun 2009 19:13:14 +0000 (13:13 -0600)]
softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()

Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.

(cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)

15 years agosoftpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering
Brian Paul [Thu, 4 Jun 2009 19:12:13 +0000 (13:12 -0600)]
softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering

This fixes incorrect front/back-face orientation.

(cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)