Commit Graph

762 Commits

Author SHA1 Message Date
Brian Paul 4b43054c4b added fsligght 2006-11-03 00:16:12 +00:00
Brian Paul 24ea2c2cef yet another deriviative of the fplight.c demo for OpenGL 2.0 shading language 2006-11-03 00:04:06 +00:00
Brian Paul 036173e0d8 test OpenGL 2.0 stencil funcs 2006-11-02 15:47:30 +00:00
Keith Whitwell 48e6fff3a9 merge the (rest of) texmem branch 2006-11-01 14:26:10 +00:00
Ian Romanick e4298b9492 Add missing call to glutInit. 2006-10-24 20:50:08 +00:00
Brian Paul 8dff54e71d Added -clip option to test glCopyPixels beyond window bounds.
Clear dest window to black before copying.
Use glWindowPos2iARB().
2006-10-16 23:22:44 +00:00
Brian Paul 07fd19f572 allow specifying image size on cmd line 2006-10-14 23:24:45 +00:00
Michal Krol ea87987dda Prepend #extension 'MESA_shader_debug: require' to each shader. 2006-09-26 16:06:35 +00:00
Brian Paul 1ad12874b3 allocate larger TempImage, use COMBO var to choose test format/type 2006-09-23 16:09:26 +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
Roland Scheidegger af1dc7e487 move initialization code aroudn so glPointParameter isn't called before checking the extension is present 2006-08-28 21:19:34 +00:00
Brian Paul a394f546a4 check for GL_ARB_point_parameters 2006-08-28 14:20:19 +00:00
Brian Paul 0c46a12365 delete buffers, destroy window upon exit 2006-08-25 22:13:08 +00:00
Keith Whitwell 39f222a421 add point-position.c 2006-08-24 17:49:37 +00:00
Keith Whitwell 28536e6c4f Test for fragment.position in points primitives. Currently renders
incorrectly on software mesa.
2006-08-24 17:48:53 +00:00
Ian Romanick 5208d93a41 Add test for GL_EXT_gpu_program_parameters. 2006-08-15 16:44:32 +00:00
Michal Krol edefc658e4 More GLSL code - more support for vec4 operations on x86 back-end. 2006-08-09 20:05:26 +00:00
Michal Krol 1616f5b621 Change fragment shader to utilize faster vec4 operations. 2006-08-02 14:46:50 +00:00
Michal Krol 7a70391575 Add test for vec4 extension. 2006-08-02 14:45:24 +00:00
Brian Paul cc738e004f casts and assertions 2006-08-01 20:03:29 +00:00
Brian Paul f05e7eba95 code to draw engine block 2006-08-01 20:03:05 +00:00
Michal Krol c26999fd2c Fix dependencies. 2006-07-30 14:33:53 +00:00
Michal Krol 39dd5196e6 Optimize shaders.
Use frame counter.
2006-07-29 09:42:03 +00:00
Brian Paul 883f9891cb LIB_DIR is now just 'lib' or 'lib64'
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
2006-07-13 02:50:27 +00:00
Brian Paul 59cfd3cd3f destroy window upon exit, remove CVS log comment 2006-07-12 02:34:43 +00:00
Brian Paul d8bb5ea967 call glutDestroyWindow() to allow checking for mem leaks upon exit 2006-07-12 02:32:21 +00:00
Brian Paul 04f43226a8 fixup OSMESA_LIBS and make clean target 2006-07-07 14:32:02 +00:00
Brian Paul 8c140c9c37 remove GLUT dependency 2006-07-07 14:31:28 +00:00
Brian Paul 3ae1905744 remove dependency on GLUT 2006-07-07 14:12:04 +00:00
Brian Paul 1ff8daf21e New animated engine demo. 2006-07-04 21:43:21 +00:00
Brian Paul 66c9be06f9 remove occlude.c demo since GL_HP_occlusion_test no longer available 2006-06-30 15:57:05 +00:00
Brian Paul 4e0617849c use trackball code for mouse rotation 2006-06-26 23:00:15 +00:00
Brian Paul 9671548424 virtual trackball code 2006-06-26 22:59:28 +00:00
Brian Paul 0e794a1bc6 New 'install' targets in makefile. See bug 2372. 2006-06-22 22:50:48 +00:00
Keith Whitwell b4517527eb A bunch of tiny tests that I've found helpful bringing up drivers from
scratch.  These exercise single pieces of functionality and provide a
gentler ramp than trying to use the mesa demos to bring up drivers with.
2006-06-22 16:32:19 +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
Michel Dänzer 73e73ffdd5 Fix command line parsing. 2006-06-13 08:37:03 +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 65ced47453 Thomas Sondergaard's API tracer 2006-06-02 14:50:28 +00:00
Brian Paul 1ec9b5a5a9 fix extension_supported() function, added comments 2006-05-31 20:36:52 +00:00
Claudio Ciccani fe94d0b335 Added some example progs using DirectFBGL. 2006-05-31 17:05:11 +00:00
Michal Krol 23b7c7dc14 Make it running under Linux. 2006-05-30 09:38:16 +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 fd02ca7711 Demonstrate rendering 8, 16 and 32-bit/channel images all in one program.
Like older osdemo.c program, but test more OpenGL features like texturing,
blending, lines.
2006-05-19 03:43:39 +00:00
Brian Paul 4c6319db9c call reshape() after init() to set initial projection/viewing transform (see bug 6941) 2006-05-17 22:44:18 +00:00
Tilman Sauerbeck 601c02f783 bug 6941: fixed initial rendering problems in glxgears 2006-05-16 16:27:54 +00:00