Brian Paul
d09a19bf6e
Merge branch 'mesa_7_5_branch'
2009-08-14 11:27:51 -06:00
Brian Paul
6d55fd705d
progs/tests: hack a PBO/dlist test
2009-08-13 14:07:25 -06:00
Brian Paul
fdfb0d4b0e
progs/glsl: change uniform_info::type field to use GLSL vector types
2009-08-12 17:28:45 -06:00
Brian Paul
af3d7f6889
demos: call SetUniformValues()
2009-08-12 17:28:45 -06:00
Robert Ellison
2caec748ad
tests: have getprocaddress return a return code
...
These minor changes allow getprocaddress to return an error code
in the case of test failure. This allows the program to be integrated
into the piglit test suite.
2009-08-07 12:23:19 -06:00
Robert Ellison
99d5139078
mesa: improve getprocaddress test
...
- Allow the getprocaddress test to test extensions not supported by
Mesa. The original getprocaddress.py script only included OpenGL
extension functions that were in Mesa dispatch tables. Now all
known extension functions (as detailed in gl_API.xml) are included.
As the test does not link against any extension function symbols
(i.e. it uses glXGetProcAddress() for all extension functions),
it still compiles and links against Mesa; but now the same
binary can be used to test extensions not yet supported by Mesa.
- Extend the list of tested extension functions. The last revision
of this test exercised 16 extension functions; this revision adds
support for 95 more.
2009-08-07 12:06:17 -06:00
Roland Scheidegger
0abc9e7565
tests: also test xoffset in texcompsub test
...
use glCompressedTexSubImage2DARB also with xoffset by splitting into 3 calls
in total. Dunno if the top/bottom reversal is intentional but leave as is.
2009-08-05 01:13:21 +02:00
Brian Paul
cd7a8225e8
tests/getteximage: test more texture sizes, including npot
2009-08-04 16:17:09 -06:00
Brian Paul
783a93a2c3
tests: glGetTexImage() test
2009-07-30 09:46:57 -06:00
Jakob Bornecrantz
26e58a42b0
progs/tests: Use compressed texture in mipmap_comp_tests
2009-07-14 17:11:07 +01:00
Jakob Bornecrantz
b0a17581e2
progs/tests: Tests more views in mipmap_comp_tests
2009-07-14 17:11:05 +01:00
Jakob Bornecrantz
a36b9987cd
progs/tests: Add yet another mipmap test
2009-07-14 17:11:01 +01:00
Brian Paul
820436f978
demos: use glEnable/DisableClientState() for vertex arrays
2009-07-08 13:58:30 -06:00
Jakob Bornecrantz
eb33c0ab8b
progs/tests: Use compressed texture in mipmap_comp_tests
2009-07-04 16:01:45 +02:00
Jakob Bornecrantz
9982821cda
progs/tests: Tests more views in mipmap_comp_tests
2009-07-04 07:41:40 +02:00
Jakob Bornecrantz
862488075c
Merge branch 'mesa_7_5_branch'
...
Conflicts:
src/mesa/main/dlist.c
src/mesa/vbo/vbo_save_api.c
2009-07-03 18:53:58 +02:00
Jakob Bornecrantz
ba7f45ac0c
progs/tests: Add tests for glCompressedTexSubImage
2009-06-30 14:11:29 +02:00
José Fonseca
0e1abced56
progs/tests: Use opaque colors.
...
Transparency is not relevant for this example, and leads to distraction
due to different results in alpha visuals, when capturing images to disk.
2009-06-15 15:40:10 +01:00
Brian Paul
f57280cc73
Merge branch 'arb_vertex_array_object'
2009-06-26 17:49:14 -06:00
Brian Paul
31618f1a88
tests: update bufferobj.c to test GL_ARB_vertex_array_object
2009-06-22 17:51:30 -06:00
Brian Paul
9038b6c8bb
Merge branch 'ext-provoking-vertex'
...
Conflicts:
docs/relnotes-7.6.html
progs/tests/Makefile
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/glx/x11/indirect.c
src/mesa/glapi/Makefile
src/mesa/glapi/dispatch.h
src/mesa/glapi/glapioffsets.h
src/mesa/glapi/glapitable.h
src/mesa/glapi/glapitemp.h
src/mesa/glapi/glprocs.h
src/mesa/main/dlist.c
src/mesa/main/enums.c
src/mesa/sparc/glapi_sparc.S
src/mesa/x86-64/glapi_x86-64.S
src/mesa/x86/glapi_x86.S
2009-06-19 09:15:34 -06:00
Brian Paul
8d48222791
Merge branch 'mesa_7_5_branch'
...
Conflicts:
src/mesa/main/api_validate.c
2009-06-16 18:25:52 -06:00
Jakob Bornecrantz
e99d13bbc6
progs/tests: Add yet another mipmap test
2009-06-14 01:44:34 +02:00
Brian Paul
193177b732
tests: added persp_hint.c test
...
Test the effect of GL_PERSPECTIVE_CORRECTION_HINT on color interpolation.
2009-06-12 15:59:53 -06:00
Brian Paul
5379f35a15
tests: added arbgpuprog, for compile-testing ARB vertex/fragment programs
2009-06-12 08:16:18 -06:00
Brian Paul
0195cc1c0d
tests: prim.c demo, modified for GL_EXT_provoking_vertex
2009-06-09 22:00:22 -06:00
Brian Paul
39fd18014c
tests: need tkmap.c for prim.c
2009-06-09 21:59:36 -06:00
Jakob Bornecrantz
ee98ae5a29
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
2009-06-09 07:53:25 +02:00
Brian Paul
29c79a03a4
tests: check for GL_EXT/ARB_framebuffer_object
2009-06-09 15:06:41 -06:00
Brian Paul
073c20befa
tests: also test glGetTexImage with render to texture
...
Also, adjust texture dims for the original test.
And use GLEW.
2009-06-09 15:05:36 -06:00
Brian Paul
139f2ddde4
tests: quick and dirty glGetTexImage() test program
2009-06-09 14:05:17 -06:00
Jakob Bornecrantz
283e84bfb3
progs/tests: Add some scissor tests
2009-06-08 14:45:40 +02:00
Jakob Bornecrantz
289dc69418
progs/tests: Update ignores
2009-04-29 20:44:03 +01:00
Jakob Bornecrantz
1793d5adac
progs/tests: Add mipmap_comp for mipmap testing with compressed textures
2009-04-29 20:18:12 +01:00
Brian Paul
e0d5ff1a8a
demos: asst. updates, clean-ups
2009-04-28 07:31:30 -06:00
Keith Whitwell
510a44eea7
tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture
...
Move between mipmaps, render a triangle, reload textures with either
the original arch (and GenMipmaps) or via straightforward glTexImage.
2009-04-24 10:09:14 +01:00
Brian Paul
dad1c1be18
demos: check that GL version is 2.0 or higher
2009-04-21 07:27:27 -06:00
Keith Whitwell
d017749b3e
mesa/progs: fix scons build after recent demo moves
2009-04-20 16:17:50 +01:00
Keith Whitwell
70588fc83c
tests/mipmap_view: add linear/nearest key
2009-04-20 16:12:11 +01:00
Brian Paul
d61070b659
demos: move demos/texobj.c to tests/
2009-04-18 13:12:50 -06:00
Brian Paul
30e80f6e55
demos: move demos/occlude.c (old HP extension) to tests
2009-04-18 13:10:51 -06:00
Brian Paul
22af013f85
demos: move tests/dinoshade.c to demos/
2009-04-18 13:08:48 -06:00
Brian Paul
49c3e7172d
demos: move tests/projtex.c to demos/
...
And fix compiler warnings.
2009-04-18 13:05:51 -06:00
Brian Paul
292e192093
demos: move tests/fbotexture.c to demos/
2009-04-18 13:00:48 -06:00
Brian Paul
f47495ec42
demos: move texdown.c to tests/
2009-04-18 12:58:00 -06:00
Brian Paul
dfd69a27f8
demos: move glutfx demo to tests/
2009-04-18 12:57:13 -06:00
Brian Paul
6a495d26af
demos: move streaming_rect.c demo to tests/
2009-04-18 12:55:55 -06:00
Brian Paul
3e750ce5c4
demos: fix incorrect assertion
2009-04-18 10:20:26 -06:00
Brian Paul
2bf326af10
demos: fix usage text
2009-04-18 10:08:15 -06:00
Brian Paul
90c880f089
demos: move glewInit() call, fixes crash/bug 21247
2009-04-17 09:16:48 -06:00