Commit Graph

224 Commits

Author SHA1 Message Date
Brian Paul 5456f4f210 mesa: new mipmap generation, lod bias demo
Show each of the mipmap levels side-by-side.
Press 's' to toggle quad scaling to see mipmap level at actual size.
2008-03-17 16:03:06 -06:00
Brian 370eca12ad Added calibrate_rast.c program
Measures rasterization of points/lines/tris and suggests fixes/biases when
something doesn't meet spec.
2008-02-28 17:55:26 -07:00
José Fonseca 2d38d1b300 Remove files of unsupported build systems. 2008-02-25 17:11:28 +09:00
Brian 52e4c8d702 Test calling glTexSubImage2D mid-way through a frame. 2008-02-20 11:58:33 -07:00
Brian f9973b1c3d Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
2008-02-16 10:05:24 -07:00
Brian be54b492d9 Fix broken test.
As-is, if the texture was too large for the target, an assertion would fail.
Now check proxy texture first and if it works, then test non-proxy target.
2008-02-12 16:57:00 -07:00
Brian cf94941122 Set Min/MaxLod with glTexParameterf, not glTexParameteri 2008-02-12 15:54:15 -07:00
Brian 74c32ee6aa tweak incr/decrements amounts for keyboard options 2008-02-12 15:01:32 -07:00
Michal Krol 918ea5168b Rename 'mms-config.' to 'mms.config'.
It looks like Windows does not like filenames ending with a dot,
in effect renaming it to 'mms-config'.
2007-10-29 19:50:10 +00: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
Ian Romanick 448d23331d Display the correct bug number in the information text. 2006-03-06 16:42:12 +00:00
Ian Romanick 66df1731e6 Don't try to bind to proxy texture target. This is defined by the spec to be
an error.  Since we're working with a proxy target, don't bother using real
texture data.

Add a missing new-line in an error printf.
2006-03-06 16:31:50 +00:00
Ian Romanick 5820f7998a Build test for bugzilla #3050 2006-03-04 04:46:10 +00:00
Ian Romanick 780d270312 Test case for bugzilla #3050. 2006-03-04 04:44:47 +00:00