Commit Graph

228 Commits

Author SHA1 Message Date
Bruce Merry 2bf2a8cc6d Convert to 0/1 when setting boolean uniforms
Also add some extra tests to the shader_api regression tests
2008-01-01 09:58:15 -07:00
Bruce Merry 239be839be Add a test program to test for assorted bugs in shader_api.c 2008-01-01 09:58:15 -07:00
Roland Scheidegger 46c405663b add simple test for two-sided stencil functionality 2007-12-11 15:38:34 +01:00
Brian df198d24bc added culling/wireframe options 2007-12-04 14:07:08 -07:00
Brian ccb1c9df00 Print point/line size range limits 2007-11-22 09:34:38 -07:00
Brian 578641941f test that point/line/quad rendering hits the right pixels 2007-11-09 17:02:51 -07:00
Brian 8b8a970593 test glStencilFuncSeparateATI() 2007-10-30 10:23:58 -06:00
Dan Nicholson c05aa5ec4c specify app lib dependencies in Makefiles (patch 1/3) 2007-10-29 09:03:01 -06:00
Dan Nicholson b182613f2f Ignore more generated files in progs/
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
2007-10-10 08:44:58 -06:00
Dan Nicholson 2a3e33865d add support for LDFLAGS env var 2007-09-28 18:42:21 -06:00
Eric Anholt 56af8fd00f Fix progs/tests/ build with BSD make. 2007-09-24 10:26:56 -07:00
Eric Anholt b74140db66 Update .gitignore for tests and xdemos. 2007-09-24 10:26:40 -07:00
Eric Anholt 9bb0d628b8 Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h. 2007-09-24 10:22:31 -07:00
Brian 6a3ed5eb96 Random state-change / primitive rendering. Good for hammering on a driver... 2007-06-21 18:11:29 -06:00
Brian 39d221ef14 fix glReadPixels parameters to handle odd-width windows correctly 2007-06-08 13:10:01 -06:00
Brian 5e9cff0b97 disable shader program before glDrawPixels 2007-06-08 13:02:14 -06:00
Ian Romanick 2f61cbd30c Add simple program to test GL_MESA_texture_array. 2007-05-16 14:46:13 -07:00
Brian d619cceea4 merge of glsl-compiler-1 branch 2007-03-26 10:13:02 -06:00
Brian 6fda763989 destroy window on exit 2007-03-25 10:25:29 -06:00
Brian d2a6f43eaf extra stuff for drawbuffers test 2007-03-12 10:30:36 -06:00
Brian 3f7ef618b6 added drawbuffers.c 2007-03-11 17:30:13 -06:00
Brian ccb80d7ec4 Test the GL_ARB_draw_buffers extension.
Also requires GL_EXT_framebuffer_object and OpenGL 2.0 (for GLSL).
2007-03-11 17:03:29 -06:00
Brian 2282d81536 destroy window during cleanup 2007-03-06 16:33:00 -07:00
Brian d592eaeb83 fix clipping, display name, warnings 2007-03-01 07:56:11 -07:00
Michel Dänzer 78a6e05439 mipmap_limits: Fix display of current texture filtering mode. 2006-12-14 11:01:38 +01:00
Michel Dänzer 14f92636b0 Make git ignore files only generated at build time. 2006-12-06 14:17:56 +01:00
Roland Scheidegger 22b74ff2b7 fix the gl version test 2006-11-22 19:37:21 +00:00
Brian Paul 036173e0d8 test OpenGL 2.0 stencil funcs 2006-11-02 15:47:30 +00:00
Keith Whitwell 54d3ab4878 npot version of redbook/mipmap.c 2006-09-15 10:41:54 +00:00
Brian Paul c6f8176b3f make prog2 a legal program (texture reference fix) 2006-08-30 23:40:53 +00:00
Brian Paul 0c46a12365 delete buffers, destroy window upon exit 2006-08-25 22:13:08 +00:00
Ian Romanick 5208d93a41 Add test for GL_EXT_gpu_program_parameters. 2006-08-15 16:44:32 +00:00
Keith Whitwell 5fb9f80e37 exercise min/max lod 2006-06-21 14:04:04 +00:00
Keith Whitwell 942b5b7bc0 exercise position invarient vertex program 2006-06-21 14:03:39 +00:00
Brian Paul 18d0efb555 removed incorrect const qualifier 2006-06-13 01:14:48 +00:00
Ian Romanick ee34e6ef71 Add support for GL_APPLE_vertex_array_object. Several test programs
and demos are also added.

Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
2006-06-12 16:26:29 +00:00
Brian Paul 1ec9b5a5a9 fix extension_supported() function, added comments 2006-05-31 20:36:52 +00:00
Brian Paul 4e470db0b9 print 2D vs 3D in window 2006-05-19 16:48:42 +00:00
Brian Paul 5ec34f0ff9 also test 3D textures (press '2'/'3' to toggle) 2006-05-19 16:42:01 +00:00
Brian Paul fa489dd043 simplify image setup code, added LOD Bias control (l/L keys) 2006-05-11 01:15:48 +00:00
Brian Paul aecd02b391 simple texture compression test 2006-05-10 22:47:06 +00:00
Brian Paul bb2dd388d0 Test program for exercising GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL. 2006-05-10 22:37:56 +00:00
Tilman Sauerbeck 9ecd280f33 fptest1 requires GL_NV_fragment_program 2006-04-28 21:50:41 +00:00
Brian Paul a95dd106e3 fix indentation 2006-04-21 01:02:49 +00:00
Brian Paul fb87976ef6 use vertex.attrib[3] instead of vertex.color 2006-04-21 01:02:27 +00:00
Brian Paul 8743d00571 s/NV/ARB/ 2006-04-21 01:01:58 +00:00
Brian Paul 28bc3cdfba another simple FBO test 2006-04-14 16:25:27 +00:00
Brian Paul 3adee0829b test glReadPixels speed w/ various formats/types, PBOs 2006-04-14 16:20:55 +00:00
Brian Paul 1d886a81ad If the image file is RGB, convert to RGBA (fixes segfault).
Added CheckError() calls.
Remove -ci option.
2006-04-13 19:45:42 +00:00
Brian Paul 6494541eaa lots of debug options, some code movement, etc 2006-03-24 23:17:06 +00:00