Commit Graph

2143 Commits

Author SHA1 Message Date
Vinson Lee
20a11722a2 progs/rbug: Add missing header. 2010-02-17 22:10:04 -08:00
Vinson Lee
56b7a6f632 progs/rbug: s/read/rbug_read/
read conflicts with read in /usr/include/unistd.h.
2010-02-17 21:50:38 -08:00
Ian Romanick
7ccbeb41ac Merge commit '381d5e209815235911c4aab516037c868c8f695f'
This merges the patches from the series "[PATCH 00/14] More
client-side GLX house cleaning" that were posted to the mesa3d-dev
mailing list.  See
http://marc.info/?l=mesa3d-dev&m=126582985214612&w=2

Patches 01 through 04 eliminate a bunch of annoying warnings that I
get when building Mesa.

Patch 05 fixes an inconsistency between the implementation of
glXSwapIntervalMESA and the spec.  I chose to favor the code over the
spec in this case.  This also eliminated a warning.

Patches 06 through 12 clean up the way that context creation is
performed on the client.  When support for GLX_SGIX_fbconfig and the
related GLX 1.3 functions was added, I refactored a bunch
nuts-and-bolts of context creation to CreateContext.  The refactor was
a good idea, I just didn't do it right.

Patches 13 and 14 update glxgears_fbconfig to use GLX 1.3 interfaces.
2010-02-17 11:40:38 -08:00
Brian Paul
0583c29313 progs/demos: update GL version test to accept GL 3.x 2010-02-17 09:02:33 -07:00
Roland Scheidegger
464a72dd41 gallium: remove redundant nr_components field from pipe_vertex_element
This is a property of the associated src_format pipe format.
Hence use util_format_get_nr_components to query this when necessary instead.
2010-02-17 16:44:38 +01:00
Chia-I Wu
f4542477cf progs/openvg: Add .gitignore.
Add all OpenVG demos to .gitignore.
2010-02-17 22:32:10 +08:00
Chia-I Wu
915d60dcf5 progs/es1: Update .gitignore.
Add xegl/bindtex to .gitignore.
2010-02-17 22:32:10 +08:00
Vinson Lee
7eaf33ad03 progs/redbook: Fix memory leaks on error paths. 2010-02-17 01:57:14 -08:00
José Fonseca
b0f9717105 Revert "progs/redbook: Temporarily disable the demos that extensions not part of windows to fix build."
This reverts commit 1587eff1b6.
2010-02-16 11:23:18 +00:00
Brian Paul
c6e63f3cc2 progs/redbook: use glew 2010-02-15 18:04:39 -07:00
José Fonseca
1587eff1b6 progs/redbook: Temporarily disable the demos that extensions not part of windows to fix build. 2010-02-15 21:47:20 +00:00
Brian Paul
b90f265fbf progs/redbook: test image for new redbook tests 2010-02-15 09:55:44 -07:00
Brian Paul
ce65a8debe progs/redbook: add additional tests for GL 1.4 2010-02-15 09:55:01 -07:00
José Fonseca
21fe86b036 python/retrace: Reconstruct blend state from binary blobs. 2010-02-15 00:25:43 +00:00
Brian Paul
291bd19a1a progs/objviewer: close file (bug 26559) 2010-02-14 10:05:42 -07:00
Brian Paul
e84eec0003 progs/fp: close file (bug 26559) 2010-02-14 10:05:42 -07:00
José Fonseca
4ab3f0edef python/retrace: Interpret pipe_screen::context_create(). 2010-02-14 12:48:11 +00:00
José Fonseca
50812e633f progs/gallium/python: New home for python statetracker scripts. 2010-02-14 11:16:41 +00:00
Vinson Lee
af1052e280 progs/tests: Add checks for GL_NV_vertex_program. 2010-02-12 11:59:37 -08:00
Ian Romanick
381d5e2098 glxgears_fbconfig: Use glXCreateWindow and glXDestroyWindow 2010-02-11 15:40:29 -08:00
Ian Romanick
6518f6037c glxgears_fbconfig: Use GLX 1.3 name for function poiner types 2010-02-11 15:40:29 -08:00
Kristian Høgsberg
368bb3dc2b eglinfo: Also print visual type, assuming X visual types
This may not make a lot of sense for non-X EGL, but for EGL under X
it's very useful.
2010-02-09 21:24:14 -05:00
Kristian Høgsberg
ab487f7ffa xeglgears: Add test case for eglBindTexImage() 2010-02-09 15:55:25 -05:00
Brian Paul
fd6701029b progs/tests: add line drawing option to cylwrap.c 2010-02-09 15:33:03 +01:00
Brian Paul
22a3a817aa progs/tests: add x/y rotation to cylwrap.c 2010-02-09 15:33:00 +01:00
Brian Paul
86921aaf3f progs/tests: new test program for exercising cylindrical tex wrap mode 2010-02-09 15:32:47 +01:00
Vinson Lee
ad93f3e489 progs/xdemos: Silence uninitialized variable warning. 2010-02-09 01:35:14 -08:00
Joakim Sindholt
e891a9cc3a progs/demos: update .gitignore 2010-02-08 12:33:02 +01:00
Vinson Lee
7da1a528b8 progs/xdemos: Silence uninitialized variable warning. 2010-02-08 01:53:31 -08:00
Brian Paul
45ceabf794 progs/demos: fix typo 2010-02-05 13:16:39 -07:00
José Fonseca
a1af8eec66 Merge remote branch 'origin/lp-binning'
Conflicts:
	src/gallium/auxiliary/util/u_dl.c
	src/gallium/auxiliary/util/u_time.h
	src/gallium/drivers/llvmpipe/lp_state_derived.c
	src/gallium/drivers/llvmpipe/lp_state_surface.c
	src/gallium/drivers/llvmpipe/lp_tex_cache.c
	src/gallium/drivers/llvmpipe/lp_tile_cache.c
2010-02-05 13:48:35 +00:00
José Fonseca
ef67ad05cb scons: Use only the shared object name when linking progs.
Otherwise the whole path gets baked into the executable.
2010-02-04 09:23:30 +00:00
Keith Whitwell
9f1ee5a864 progs/fpglsl: couple more tests 2010-02-03 10:36:55 +00:00
Keith Whitwell
d7b1610ced progs/fpglsl: fp-tris for glsl 2010-02-03 10:36:55 +00:00
Chia-I Wu
5fa4ea2934 progs/es2: Fix an assertion failure in tri.
EGL_SURFACE_TYPE is a config attribute, not a surface attribute.  Thanks
to Mike Stroyan for pointing out this error.
2010-02-02 10:45:00 +08:00
Brian Paul
04b14e26a2 progs/tests: add another FBO test to exercise a RGBA vs. Z texture bug
See comments in file for more details.
2010-02-01 19:02:52 -07:00
José Fonseca
bee9964b29 Merge remote branch 'origin/master' into lp-binning
Conflicts:
	Makefile
	src/gallium/auxiliary/util/u_surface.c
	src/gallium/drivers/llvmpipe/lp_flush.c
	src/gallium/drivers/llvmpipe/lp_setup.c
	src/gallium/drivers/llvmpipe/lp_state_derived.c
	src/gallium/drivers/llvmpipe/lp_state_fs.c
	src/gallium/drivers/llvmpipe/lp_state_surface.c
	src/gallium/drivers/llvmpipe/lp_tex_cache.c
	src/gallium/drivers/llvmpipe/lp_texture.c
	src/gallium/drivers/llvmpipe/lp_tile_cache.c
	src/mesa/state_tracker/st_cb_condrender.c
2010-01-31 05:36:33 +00:00
Chia-I Wu
89e6eb5fbe progs/egl: Update eglinfo to display more attributes.
Add config caveat, bind-to-texture, and renderable type.  Remove double
buffer and stereo attributes.
2010-01-31 11:20:15 +08:00
Chia-I Wu
7056a74734 progs/es1: Add bindtex.
It is ported from progs/egl/xeglbindtex.c.  With the OpenGL ES port, the
OpenGL version is removed.
2010-01-30 23:16:17 +08:00
Brian Paul
b8d4cbd7e2 progs/demos: new image dissolve demo
Dissolve between two images using a random pattern in the stencil
buffer and a varying stencil ref value.
2010-01-29 14:01:34 -07:00
Brian Paul
e94021660b progs/tests: added a few more files to .gitignore 2010-01-29 08:43:28 -07:00
Vinson Lee
d40070029f progs/tests: Remove unnecessary headers. 2010-01-28 15:11:39 -08:00
Vinson Lee
bbb41153c2 progs/glsl: Fix bump GLSL compilation error on Mac OS. 2010-01-28 14:58:24 -08:00
Vinson Lee
77b1f2fbcf progs/glsl: Remove unused variable in bump.c. 2010-01-28 14:54:10 -08:00
Vinson Lee
07fb52bcf6 progs/glsl: Remove unnecessary header from samplers.c. 2010-01-28 14:22:15 -08:00
Alan Hourihane
dea98eb792 support an 'embedded' platform target which turns off most parts of the
build.
2010-01-26 20:59:12 +00:00
Aaron Plattner
cec0e7c086 glxgears: Support GLX_EXT_swap_control for querying the current swap interval.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-26 12:00:51 -07:00
Brian Paul
782f66c8a2 progs/tests: use glDrawRangeElements() in bufferobj.c 2010-01-26 10:48:00 -07:00
Brian Paul
9b22427911 Merge branch 'mesa_7_7_branch'
Conflicts:

	src/mesa/drivers/dri/intel/intel_screen.c
	src/mesa/drivers/dri/intel/intel_swapbuffers.c
	src/mesa/drivers/dri/r300/r300_emit.c
	src/mesa/drivers/dri/r300/r300_ioctl.c
	src/mesa/drivers/dri/r300/r300_tex.c
	src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-25 14:46:17 -07:00
Vinson Lee
7f2f42dd80 progs/demos: Remove unnecessary header from shadowtex.c. 2010-01-23 20:56:49 -08:00