mesa.git
15 years agomesa: minor tweak to printf string
Brian Paul [Tue, 13 Oct 2009 22:33:17 +0000 (16:33 -0600)]
mesa: minor tweak to printf string

15 years agomesa: rework _mesa_read_shader() debug hook
Brian Paul [Tue, 13 Oct 2009 22:32:15 +0000 (16:32 -0600)]
mesa: rework _mesa_read_shader() debug hook

Look for shaders named "newshader_<CHECKSUM>" to replace the incoming
shader text.  For debug purposes.

15 years agomesa: don't print pointer in _mesa_fprint_parameter_list()
Brian Paul [Tue, 13 Oct 2009 22:18:06 +0000 (16:18 -0600)]
mesa: don't print pointer in _mesa_fprint_parameter_list()

15 years agoStore clipping distance for user clip planes as part of vertex processing
Ian Romanick [Fri, 9 Oct 2009 00:28:02 +0000 (17:28 -0700)]
Store clipping distance for user clip planes as part of vertex processing

Once the clipping distance is calculated and stored per vertex, the
distances can be re-used when clipping is actually performed.  This
doesn't have any immediate benefit, but it paves the way for
implementing gl_ClipDistance in vertex shaders and result.clip[] in
vertex programs.

This has not produces any oglconform regressions on my G31 system
which uses software TNL.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
15 years agonouveau: nv30: use texture width,height for render target dimensions
Patrice Mandin [Tue, 13 Oct 2009 20:53:32 +0000 (22:53 +0200)]
nouveau: nv30: use texture width,height for render target dimensions

15 years agoegl: Improve logging facility.
Chia-I Wu [Tue, 29 Sep 2009 08:11:06 +0000 (16:11 +0800)]
egl: Improve logging facility.

Add _eglSetLogger and _eglSetLogLevel to allow drivers to change the
message logger or report level.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
15 years agoegl: Allow binding to any client API.
Chia-I Wu [Mon, 17 Aug 2009 07:53:54 +0000 (15:53 +0800)]
egl: Allow binding to any client API.

As a result, EGL_NONE is no longer a valid client API.  And it is
possible that no config supports the current bound API.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
15 years agoegl: Preload a driver if eglGetProcAddress is called early.
Chia-I Wu [Mon, 28 Sep 2009 09:39:07 +0000 (17:39 +0800)]
egl: Preload a driver if eglGetProcAddress is called early.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
15 years agoegl: Remove core functions from eglGetProcAddress.
Chia-I Wu [Sat, 15 Aug 2009 14:44:46 +0000 (22:44 +0800)]
egl: Remove core functions from eglGetProcAddress.

eglGetProcAddress may not be used to query core (non-extension)
functions.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
15 years agoegl: Add support for driver built-in.
Chia-I Wu [Mon, 28 Sep 2009 09:25:48 +0000 (17:25 +0800)]
egl: Add support for driver built-in.

This allows an EGL driver to be compiled together with libEGL.so.  It
eliminates the need to specify a driver, or support module loading on
new platforms.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
15 years agost/xorg: solid fills with masks are supported
Zack Rusin [Sat, 10 Oct 2009 09:24:32 +0000 (05:24 -0400)]
st/xorg: solid fills with masks are supported

gradients are supported, but not enabled by default due to little
testing they got

15 years agointel: fix broken sw generate mipmap path
Brian Paul [Tue, 13 Oct 2009 16:37:39 +0000 (10:37 -0600)]
intel: fix broken sw generate mipmap path

Need to restore code that fixed up the intel_texture_image state.

15 years agost/xorg: fix and enable by default xrender acceleration
Zack Rusin [Sat, 10 Oct 2009 08:45:41 +0000 (04:45 -0400)]
st/xorg: fix and enable by default xrender acceleration

src in mask was broken

15 years agomesa: whitespace fixes
Brian Paul [Tue, 13 Oct 2009 15:04:54 +0000 (09:04 -0600)]
mesa: whitespace fixes

15 years agomesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()
Brian Paul [Tue, 13 Oct 2009 15:04:14 +0000 (09:04 -0600)]
mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()

We need to check that we can actually render to the texture's format
before doing mipmap generation.

This may fix bug 24219.

15 years agor300g: More debug flags.
Corbin Simpson [Tue, 13 Oct 2009 04:26:46 +0000 (21:26 -0700)]
r300g: More debug flags.

15 years agor300g: Surface debug.
Corbin Simpson [Tue, 13 Oct 2009 03:55:57 +0000 (20:55 -0700)]
r300g: Surface debug.

It gets really annoying watching r300g tell me how it's filling surfaces.
Or falling back during filling surfaces.

15 years agor300g: Fallback on surfaces we can't render to or from.
Corbin Simpson [Tue, 13 Oct 2009 03:47:00 +0000 (20:47 -0700)]
r300g: Fallback on surfaces we can't render to or from.

Still not sure why st keeps handing down things we can't render to.

15 years agor300g: Prevent multiple-use textures from getting incorrectly approved.
Corbin Simpson [Tue, 6 Oct 2009 23:00:27 +0000 (16:00 -0700)]
r300g: Prevent multiple-use textures from getting incorrectly approved.

15 years agor300g: Clean up texture formats.
Corbin Simpson [Tue, 6 Oct 2009 22:30:39 +0000 (15:30 -0700)]
r300g: Clean up texture formats.

15 years agomesa: save/set/restore texture base/wrap state in blitframebuffer_texture()
Brian Paul [Tue, 13 Oct 2009 00:11:31 +0000 (18:11 -0600)]
mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()

15 years agomesa: minor clean up in check_begin_texture_render()
Brian Paul [Tue, 13 Oct 2009 00:09:32 +0000 (18:09 -0600)]
mesa: minor clean up in check_begin_texture_render()

15 years agointel: whitespace/formatting clean-up
Brian Paul [Tue, 13 Oct 2009 00:08:42 +0000 (18:08 -0600)]
intel: whitespace/formatting clean-up

15 years agointel: replace extern decl with #include
Brian Paul [Mon, 12 Oct 2009 23:41:47 +0000 (17:41 -0600)]
intel: replace extern decl with #include

15 years agointel: added INLINE keyword to minify()
Brian Paul [Mon, 12 Oct 2009 23:41:14 +0000 (17:41 -0600)]
intel: added INLINE keyword to minify()

This is mainly just to silence some warnings.

15 years agointel: code clean-ups
Brian Paul [Mon, 12 Oct 2009 23:40:33 +0000 (17:40 -0600)]
intel: code clean-ups

15 years agointel: pass zslice to intel_miptree_image_offset()
Brian Paul [Mon, 12 Oct 2009 23:37:06 +0000 (17:37 -0600)]
intel: pass zslice to intel_miptree_image_offset()

This lets us get rid of intel_miptree_depth_offsets() and simplify all
of the calling code.

15 years agoi965: remove unused var
Brian Paul [Mon, 12 Oct 2009 23:32:16 +0000 (17:32 -0600)]
i965: remove unused var

15 years agoprog/tests: Fix MSVC build.
Vinson Lee [Tue, 13 Oct 2009 00:05:05 +0000 (18:05 -0600)]
prog/tests: Fix MSVC build.

15 years agomesa: print program Id when printing
Brian Paul [Fri, 9 Oct 2009 14:29:28 +0000 (08:29 -0600)]
mesa: print program Id when printing

15 years agoAdd support for more 8 and 16 bits formats
Patrice Mandin [Mon, 12 Oct 2009 19:03:26 +0000 (21:03 +0200)]
Add support for more 8 and 16 bits formats

15 years agor600: implement ProgramStringNotify
Andre Maasikas [Mon, 12 Oct 2009 11:57:45 +0000 (14:57 +0300)]
r600: implement ProgramStringNotify

need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...

15 years agor600: LIT dst.y gets value from src.x
Andre Maasikas [Mon, 12 Oct 2009 09:58:40 +0000 (12:58 +0300)]
r600: LIT dst.y gets value from src.x

seems I overlooked this when removing hardcoded swizzles for this
one previously

15 years agor600: DPH adds w comp of second operand, so set first one to 1 instead
Andre Maasikas [Mon, 12 Oct 2009 09:20:26 +0000 (12:20 +0300)]
r600: DPH adds w comp of second operand, so set first one to 1 instead

15 years agost/xorg: initialize pipe in the renderer
Zack Rusin [Mon, 12 Oct 2009 01:52:10 +0000 (21:52 -0400)]
st/xorg: initialize pipe in the renderer

15 years agost/xorg: lots of rendering and xv changes
Zack Rusin [Fri, 9 Oct 2009 13:52:17 +0000 (09:52 -0400)]
st/xorg: lots of rendering and xv changes

extract all the rendering code to xorg_rendedrer, make both exa and xv
share that code. in the process cleanup the rendering code and implement
a lot more of the xv infrastructure.

15 years agoconfigs: fix some remains of the i915simple driver
Zack Rusin [Tue, 6 Oct 2009 16:38:47 +0000 (12:38 -0400)]
configs: fix some remains of the i915simple driver

15 years agost/xorg: implement basics of xv
Zack Rusin [Thu, 1 Oct 2009 01:22:48 +0000 (21:22 -0400)]
st/xorg: implement basics of xv

15 years agor300g: Fix fragment program constants upload on R300
Nicolai Hähnle [Sun, 11 Oct 2009 10:40:07 +0000 (12:40 +0200)]
r300g: Fix fragment program constants upload on R300

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300g: fix blending default state + alpha separate.
Dave Airlie [Sun, 11 Oct 2009 09:12:24 +0000 (19:12 +1000)]
r300g: fix blending default state + alpha separate.

this makes the default state same as r300

15 years agoprogs/perf: Fix MSVC build.
Vinson Lee [Sat, 10 Oct 2009 16:45:16 +0000 (10:45 -0600)]
progs/perf: Fix MSVC build.

15 years agoMerge branch 'mesa_7_6_branch'
Brian Paul [Sat, 10 Oct 2009 15:25:34 +0000 (09:25 -0600)]
Merge branch 'mesa_7_6_branch'

15 years agosoftpipe: fix multi-drawbuffers regression
Brian Paul [Sat, 10 Oct 2009 15:12:00 +0000 (09:12 -0600)]
softpipe: fix multi-drawbuffers regression

This is part of the fix for bug 24401.

15 years agosoftpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663c
Brian Paul [Sat, 10 Oct 2009 15:18:14 +0000 (09:18 -0600)]
softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663c

This change silenced valgrind warnings but broke progs/tests/drawbuffers.
The problem is we don't know the surface's state when we start caching it
(it may or may not be initialized/cleared/etc).  So "clearing" it here was
presumptuous.  Leaving the code in place (but disabled) for reference and
when using valgrind.

Fixes bug 24401

15 years agor300g: add video surface create and destroy functions
Cooper Yuan [Sat, 10 Oct 2009 06:41:44 +0000 (14:41 +0800)]
r300g: add video surface create and destroy functions

15 years agoradeon: fix scissor regression
Alex Deucher [Fri, 9 Oct 2009 19:44:32 +0000 (15:44 -0400)]
radeon: fix scissor regression

fixes fdo bug 24248

15 years agodocs: fix aux buffer bug 24426
Brian Paul [Fri, 9 Oct 2009 19:23:07 +0000 (13:23 -0600)]
docs: fix aux buffer bug 24426

15 years agost/mesa: create aux buffers according to visual
Brian Paul [Fri, 9 Oct 2009 19:20:28 +0000 (13:20 -0600)]
st/mesa: create aux buffers according to visual

Fixes bug 24426 for gallium.

15 years agomesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()
Brian Paul [Fri, 9 Oct 2009 19:22:00 +0000 (13:22 -0600)]
mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()

Fixes bug 24426.

15 years agomesa: regenerated gl_mangle.h file
Brian Paul [Thu, 8 Oct 2009 15:17:13 +0000 (09:17 -0600)]
mesa: regenerated gl_mangle.h file

15 years agost/xorg: Old X servers don't deal well with failing accesses
Jakob Bornecrantz [Thu, 8 Oct 2009 12:43:22 +0000 (14:43 +0200)]
st/xorg: Old X servers don't deal well with failing accesses

15 years agost/xorg: More fallback debugging
Jakob Bornecrantz [Thu, 8 Oct 2009 12:40:19 +0000 (14:40 +0200)]
st/xorg: More fallback debugging

Change the fallback debugging around a bit and do the old commit correctly

15 years agoRevert "st/xorg: Debug fallbacks for composite as well"
Jakob Bornecrantz [Thu, 8 Oct 2009 12:41:06 +0000 (14:41 +0200)]
Revert "st/xorg: Debug fallbacks for composite as well"

This commit included a change that should have been in
its own commit, and turns out that you can do what was
suposed to go in it in much better way as well.

This reverts commit 5080e8bea6ae5cdb116023a5e2d8dbbb762bd69d.

15 years agost/xorg: Debug fallbacks for composite as well
Jakob Bornecrantz [Thu, 8 Oct 2009 11:38:34 +0000 (13:38 +0200)]
st/xorg: Debug fallbacks for composite as well

15 years agost/xorg: Use A8 textures for depth 8 pixmaps
Jakob Bornecrantz [Thu, 8 Oct 2009 11:13:36 +0000 (13:13 +0200)]
st/xorg: Use A8 textures for depth 8 pixmaps

There is no hardware out there that can render to I8 textures.

15 years agost/xorg: Fix depth stencil buffers on old X servers
Jakob Bornecrantz [Thu, 8 Oct 2009 11:05:55 +0000 (13:05 +0200)]
st/xorg: Fix depth stencil buffers on old X servers

Sanity checking is for the weak.

15 years agoprogs/tests: Add tests to Makefile.
Vinson Lee [Fri, 9 Oct 2009 13:24:04 +0000 (07:24 -0600)]
progs/tests: Add tests to Makefile.

15 years agosoftpipe: restore/fix print_vertex() debug helper
Brian Paul [Thu, 8 Oct 2009 19:00:37 +0000 (13:00 -0600)]
softpipe: restore/fix print_vertex() debug helper

15 years agoprogs/perf: Ignores!
Jakob Bornecrantz [Fri, 9 Oct 2009 12:57:23 +0000 (13:57 +0100)]
progs/perf: Ignores!

15 years agoutil: Force ESI register for cpuid's ebx result.
José Fonseca [Fri, 9 Oct 2009 12:22:42 +0000 (13:22 +0100)]
util: Force ESI register for cpuid's ebx result.

Fixes a segfault and better code. Unfortunately using an arbitrary
register ("=r") causes the gcc to abort when the code is optimized saying
it can't satisfy the constraint. Setting seems to do the trick.

15 years agollvmpipe: Eliminate constant mapping/unmapping.
José Fonseca [Fri, 9 Oct 2009 10:29:33 +0000 (11:29 +0100)]
llvmpipe: Eliminate constant mapping/unmapping.

15 years agoprogs: Remove unused empty file.
José Fonseca [Tue, 6 Oct 2009 15:59:07 +0000 (16:59 +0100)]
progs: Remove unused empty file.

15 years agogdi: Fix the build when llvmpipe is requested (the default) but llvm is not present.
José Fonseca [Mon, 5 Oct 2009 17:32:36 +0000 (18:32 +0100)]
gdi: Fix the build when llvmpipe is requested (the default) but llvm is not present.

15 years agor600: fixup KIL instruction a bit
Andre Maasikas [Fri, 9 Oct 2009 07:46:12 +0000 (10:46 +0300)]
r600: fixup KIL instruction a bit

- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
  does not hang the card

15 years agodocs: bump libdrm version requirement
Brian Paul [Fri, 9 Oct 2009 02:49:32 +0000 (20:49 -0600)]
docs: bump libdrm version requirement

Probably need to bump other version requirements too...

15 years agomesa: Bump the required libdrm version to reflect reality.
Eric Anholt [Fri, 9 Oct 2009 00:18:12 +0000 (17:18 -0700)]
mesa: Bump the required libdrm version to reflect reality.

Not all drivers require the latest version, but distros are good at
tracking it since we've got a good record as far as not regressing, and
it sure beats having a weird compile failure in someone else's driver
later on.

15 years agoi965: Use bo_references for the state cache delete function.
Eric Anholt [Fri, 2 Oct 2009 01:16:52 +0000 (18:16 -0700)]
i965: Use bo_references for the state cache delete function.

This appears to shave about 3% off the CPU usage in cairo-gl for firefox.

15 years agointel: Use new drm_intel_bo_references() to avoid flushing.
Eric Anholt [Fri, 2 Oct 2009 00:53:12 +0000 (17:53 -0700)]
intel: Use new drm_intel_bo_references() to avoid flushing.

15 years agomesa: free display list state after freeing shared state
Brian Paul [Thu, 8 Oct 2009 18:50:42 +0000 (12:50 -0600)]
mesa: free display list state after freeing shared state

Fixes bug 24402.

15 years agoMerge branch 'mesa_7_6_branch'
Brian Paul [Thu, 8 Oct 2009 15:28:07 +0000 (09:28 -0600)]
Merge branch 'mesa_7_6_branch'

Conflicts:

src/mesa/drivers/common/meta.c

15 years agoprogs/tests: Fix MSVC build.
Vinson Lee [Thu, 8 Oct 2009 14:08:11 +0000 (08:08 -0600)]
progs/tests: Fix MSVC build.

15 years agomesa: clean up extended opcode code
Brian Paul [Wed, 7 Oct 2009 22:51:26 +0000 (16:51 -0600)]
mesa: clean up extended opcode code

15 years agomesa: move gl_list_instruction and gl_list_extensions to dlist.c
Brian Paul [Wed, 7 Oct 2009 22:41:18 +0000 (16:41 -0600)]
mesa: move gl_list_instruction and gl_list_extensions to dlist.c

15 years agomesa: added _mesa_free_display_list_data()
Brian Paul [Wed, 7 Oct 2009 22:32:25 +0000 (16:32 -0600)]
mesa: added _mesa_free_display_list_data()

15 years agomesa: clean-up display list mem allocation, fix NULL handling
Brian Paul [Wed, 7 Oct 2009 22:21:34 +0000 (16:21 -0600)]
mesa: clean-up display list mem allocation, fix NULL handling

The -1 term in alloc_instruction() foiled later NULL pointer checks.

15 years agomain: replace ALLOC_INSTRUCTION macro with regular function
Brian Paul [Wed, 7 Oct 2009 22:12:26 +0000 (16:12 -0600)]
main: replace ALLOC_INSTRUCTION macro with regular function

15 years agomesa: rename display list functions
Brian Paul [Wed, 7 Oct 2009 22:03:04 +0000 (16:03 -0600)]
mesa: rename display list functions

_mesa_alloc_instruction() sounded like it was related to vertex/fragment
program instructions, but it wasn't.

15 years agogallium/xlib: call XQueryExtension() in glXQueryExtension()
Brian Paul [Wed, 7 Oct 2009 20:43:27 +0000 (14:43 -0600)]
gallium/xlib: call XQueryExtension() in glXQueryExtension()

See bug 24321.

15 years agomesa/xlib: call XQueryExtension() in glXQueryExtension()
Brian Paul [Wed, 7 Oct 2009 20:42:14 +0000 (14:42 -0600)]
mesa/xlib: call XQueryExtension() in glXQueryExtension()

See bug 24321.

15 years agoi915g: Fix MSVC build.
Vinson Lee [Wed, 7 Oct 2009 20:29:23 +0000 (14:29 -0600)]
i915g: Fix MSVC build.

15 years agomesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()
Brian Paul [Wed, 7 Oct 2009 20:07:49 +0000 (14:07 -0600)]
mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()

They're freed by the normal context deallocation code.
Fixes Blender crash, bug 24185.

15 years agosoftpipe: new comments
Brian Paul [Wed, 7 Oct 2009 19:30:48 +0000 (13:30 -0600)]
softpipe: new comments

15 years agosoftpipe: whitespace and comment fixes
Brian Paul [Wed, 7 Oct 2009 19:21:57 +0000 (13:21 -0600)]
softpipe: whitespace and comment fixes

15 years agosoftpipe: prefix non-static functions with sp_
Brian Paul [Wed, 7 Oct 2009 19:17:20 +0000 (13:17 -0600)]
softpipe: prefix non-static functions with sp_

15 years agor300compiler: fix scons build again
Joakim Sindholt [Wed, 7 Oct 2009 19:02:18 +0000 (21:02 +0200)]
r300compiler: fix scons build again

15 years agoMerge branch 'master' into r300g-glsl
Nicolai Hähnle [Wed, 7 Oct 2009 18:45:08 +0000 (20:45 +0200)]
Merge branch 'master' into r300g-glsl

Conflicts:
src/gallium/drivers/r300/r300_tgsi_to_rc.c

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agoMerge branch 'mesa_7_6_branch'
Nicolai Hähnle [Wed, 7 Oct 2009 18:39:22 +0000 (20:39 +0200)]
Merge branch 'mesa_7_6_branch'

15 years agoshader_api: Fix bounds checking of glUniform and glUniformMatrix
Nicolai Hähnle [Sat, 3 Oct 2009 14:30:16 +0000 (16:30 +0200)]
shader_api: Fix bounds checking of glUniform and glUniformMatrix

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
15 years agoprog_parameter: Document the fact that Size may be > 4
Nicolai Hähnle [Sat, 3 Oct 2009 14:18:57 +0000 (16:18 +0200)]
prog_parameter: Document the fact that Size may be > 4

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agoutil: do some more util_blit_pixels cases without temporaries
Keith Whitwell [Wed, 7 Oct 2009 16:50:03 +0000 (17:50 +0100)]
util: do some more util_blit_pixels cases without temporaries

When the source surface is pointing at a 2d texture with only one
mipmap level, use that directly rather than creating a temporary.
Probably want to cover more cases, but this is a start.

15 years agomesa/st: add missing mesa constant file name
Keith Whitwell [Wed, 7 Oct 2009 16:48:45 +0000 (17:48 +0100)]
mesa/st: add missing mesa constant file name

There are many different names for constants in mesa, we were missing
one since the ureg rewrite.

15 years agost/mesa: pass pipe_screen, not pipe_context to st_choose_format() functions
Brian Paul [Wed, 7 Oct 2009 15:58:03 +0000 (09:58 -0600)]
st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functions

These don't depend on context state, but use a screen pointer.

15 years agodocs: fix glXQueryDrawable() bugs
Brian Paul [Wed, 7 Oct 2009 15:41:00 +0000 (09:41 -0600)]
docs: fix glXQueryDrawable() bugs

15 years agomesa/xlib: fix glXQueryDrawable() bugs, see bug 24320
Brian Paul [Wed, 7 Oct 2009 15:40:22 +0000 (09:40 -0600)]
mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320

15 years agogallium/xlib: fix glXQueryDrawable() bugs, see bug 24320
Brian Paul [Wed, 7 Oct 2009 15:40:04 +0000 (09:40 -0600)]
gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320

15 years agoprogs/xdemos: test glXQueryDrawable()
Brian Paul [Wed, 7 Oct 2009 15:11:23 +0000 (09:11 -0600)]
progs/xdemos: test glXQueryDrawable()

15 years agoprogs/xdemos: fix swapped parameters to CreatePbuffer()
Brian Paul [Wed, 7 Oct 2009 15:10:48 +0000 (09:10 -0600)]
progs/xdemos: fix swapped parameters to CreatePbuffer()

15 years agost/dri: Add missing front buffer case in dri_get_buffers().
Michel Dänzer [Wed, 7 Oct 2009 14:36:39 +0000 (16:36 +0200)]
st/dri: Add missing front buffer case in dri_get_buffers().

This seems to help for compiz at least with some drivers.

Also add an assert(0) to catch unhandled cases in the future.

15 years agoswrast: s/GLfloat/GLuint/ in bzero()
Brian Paul [Wed, 7 Oct 2009 14:07:53 +0000 (08:07 -0600)]
swrast: s/GLfloat/GLuint/ in bzero()

15 years agoswrast: add missing returns
Brian Paul [Wed, 7 Oct 2009 01:05:23 +0000 (19:05 -0600)]
swrast: add missing returns