Commit Graph

566 Commits

Author SHA1 Message Date
Brian Paul 9ae96a5ce8 remove debug code 2004-10-29 19:31:52 +00:00
Brian Paul 7520e25995 Updated getprocaddress test to use gl_API.xml instead of old APIspec file. 2004-10-29 19:12:08 +00:00
Brian Paul 2083131643 added stereo option (Jacek Rosik) 2004-10-26 14:36:32 +00:00
Brian Paul 07553c58fd wrap angle value (Philipp Klaus Krause) 2004-10-23 18:55:48 +00:00
Brian Paul e57b6d5a4f addes osdemo32 target (J.P. Delport) 2004-10-23 16:58:32 +00:00
Ian Romanick 33899b7c35 Add support for OES_read_format. As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.
2004-10-16 01:16:54 +00:00
Ian Romanick af0a4690db Add simple test program for Mesa bug #1028405. 2004-10-08 00:56:08 +00:00
Karl Schultz 4c2fbb0538 Add the glut project to the demos workspace. 2004-10-01 20:55:23 +00:00
Brian Paul b45aaa2328 moved to demos/ directory 2004-09-24 23:01:21 +00:00
Brian Paul 7d01c3480d moved in from the tests/ directory to include in distro 2004-09-24 23:00:52 +00:00
Brian Paul 1fd4a55d09 removed hacked GL tokens, fixed a printf 2004-09-23 17:32:12 +00:00
Brian Paul a511b70f44 silence warnings 2004-09-16 19:40:22 +00:00
Brian Paul 37c0497d98 silence warnings, re-indent code 2004-09-16 19:39:04 +00:00
Brian Paul 6fedd4e3bf clean-up the hokey transformation code so that window resizes actually work 2004-09-16 19:32:49 +00:00
Brian Paul 6917201ede Have the rendering contexts share textures.
Put simple checker pattern on the objects.
Press 'd' to delete texture, 'u' to unbind it.
2004-09-14 20:42:53 +00:00
Daniel Borca a9ea1628da changes towards GL_ARB_point_sprite (two-zero) 2004-09-13 08:47:01 +00:00
Brian Paul be9b759ab0 remove BeOS conditional code. oglinfo should be moved to xdemos since it's a GLX program 2004-08-25 14:51:18 +00:00
Brian Paul 0ad6554338 print current config name before building src and progs 2004-08-25 14:49:41 +00:00
Philippe Houdoin 4ad28c9d9a GLInfo now show GLU and GLUT infos too. Fix the includes paths 2004-08-15 14:06:00 +00:00
Philippe Houdoin af2f26f7de Obsoleted as demos programs build on BeOS with standard Makefile system. 2004-08-15 11:43:47 +00:00
Philippe Houdoin 789dd56699 Obsolete the BeOS-specific makefile as we now build using standard Makefiles chain. 2004-08-14 10:05:33 +00:00
Philippe Houdoin ea446b56ab Obsolete BeOS-specific makefile.
Removed the oglinfo target from samples from BeOS build, as it depends on X.
2004-08-14 10:03:11 +00:00
Philippe Houdoin f17ddd4884 Fix demo.cpp, which wasn't working as expected.
Add a GLInfo app, a graphical tool displaying GL Info as a treeview.
Usefull to see which OpenGL renderer you use and which extension(s) is supported.
Convert the Makefile to be $(TOP)/configs/default-based.
2004-08-14 09:59:16 +00:00
Brian Paul b1872fed15 silence a warning 2004-08-13 21:05:02 +00:00
Brian Paul 2fe6e913ca minor fix for newest glxext.h header 2004-08-13 21:04:04 +00:00
Brian Paul 3bbdcdcdb8 cvs ignore file 2004-08-10 15:42:14 +00:00
Brian Paul 52a5cc0bae minor anim tweak 2004-08-10 15:39:00 +00:00
Brian Paul 5222662f52 silence warning 2004-08-10 15:36:46 +00:00
Brian Paul 16c8dce363 use 'a' to toggle animation 2004-08-10 15:36:31 +00:00
Brian Paul 47a6749b33 minor tweaks 2004-08-10 15:34:51 +00:00
Brian Paul f2afdcae9a query/print max convolution filter size 2004-08-10 15:32:25 +00:00
Brian Paul 5f3b3a3827 new image (see mesa bug #993926) 2004-07-20 21:00:34 +00:00
Brian Paul d07859e718 redo the event loop to make event response better 2004-07-02 14:35:05 +00:00
Brian Paul dbe1ecaa1d option to test with display lists 2004-06-28 22:03:44 +00:00
Brian Paul 625a339a8a make sure Q has a good value before drawing a sample 2004-06-28 15:16:28 +00:00
Roland Scheidegger a09db0a7fa new test which uses mixed texgen/non-texgen texture coordinates to exhibit potential bugs in hardware drivers 2004-06-25 13:49:46 +00:00
Ian Romanick fb75ca1b65 Make the test check for core GL version 1.3 in addition to testing for
GL_ARB_texture_compression.  Also make the test list the compression formats
the driver "encourages" the app to use.
2004-06-17 20:53:07 +00:00
Brian Paul 22dad683b1 don't pass GL_INTENSITY for <format> to glTexImage2D - it's illegal 2004-06-11 15:07:23 +00:00
Daniel Borca 2c161cf395 small corrections 2004-06-07 06:03:08 +00:00
Eric Anholt 2fb5d15ce3 Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
variable (defaults to "make") and use that.  Use the MKDEP and MKDEP_OPTIONS
more.  Our shell isn't bash, so change the instances of ">& /dev/null" to a more
compatible "> /dev/null 2>&1".
2004-06-01 00:06:14 +00:00
Ian Romanick d44e9e39da Build the fogcoord demo. 2004-05-27 15:21:44 +00:00
Ian Romanick 77bbbb3759 Minor code simplification. 2004-05-26 17:12:56 +00:00
Ian Romanick 63b2e426ac Test the overhead of just calling a GL function. The Python script is
a helper to do multiple runs and compare the results.
2004-05-26 16:38:38 +00:00
Roland Scheidegger 9e29536f28 use OGL 1.1 color logic ops in addition to GL_EXT_blend_logic_op 2004-05-21 17:03:38 +00:00
Roland Scheidegger 7225a7292a (Dieter Nuetzel) fix typo in help screen 2004-05-21 14:51:33 +00:00
Brian Paul 46bc595969 Test program to check that packed pixel formats work as expected with
glTexImage2D.  All samples should appear identical.  Press f/F to change
the internal texture format.
2004-05-12 23:05:21 +00:00
Brian Paul 751c9d096d obsolete in favor of regular Makefiles 2004-05-12 14:04:29 +00:00
Ian Romanick 939f6a724e Added a 4th square to the output. Expanded the message written to the
console.
2004-05-11 19:59:13 +00:00
Ian Romanick 5f6691f371 Added simple EXT_blend_minmax test. 2004-05-11 19:57:58 +00:00
Ian Romanick d2f18ec6fa Added simple NV_blend_square test. 2004-05-11 17:48:33 +00:00
Brian Paul d6693c4294 s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/ 2004-05-10 22:07:57 +00:00
Ian Romanick 216d980d53 Uses either the GLX_SGI_make_current_read or GLX 1.3 interface,
depending on which is available.
2004-05-07 18:20:43 +00:00
Brian Paul 1229100703 Added menu options to test border modes and linear/nearest filtering.
Adjust texcoords so we always have to sample the border.
Other misc changes.
2004-05-06 20:27:32 +00:00
Ian Romanick cd6ca58c3f Modified to use vertex arrays. Vertex arrays and immediate mode calls
are toggled with the 't' key.
2004-05-05 20:17:19 +00:00
Brian Paul 4045b6e5b8 don't need auto mipmaps 2004-05-05 00:28:17 +00:00
Brian Paul cb40ebd8a2 added -c option to exercise convolution of glTexImage2D 2004-05-04 23:57:12 +00:00
Daniel Borca 33ffbd1c58 texture compression: getting warmer 2004-05-04 06:27:06 +00:00
Daniel Borca c35dcfcf0a FXT1 preparations 2004-04-29 09:01:41 +00:00
Brian Paul 384800fe12 assorted fixes 2004-04-23 14:14:04 +00:00
Keith Whitwell 180e28e6d4 Add fps output 2004-04-23 14:06:02 +00:00
Brian Paul 66fdc3c948 added floattex.c to test floating point textures 2004-04-22 01:10:09 +00:00
Brian Paul 2fae1bb6df minor clean-ups 2004-04-22 00:47:28 +00:00
Brian Paul 362f1df210 obsolete 2004-04-22 00:42:38 +00:00
Brian Paul f693b1dc2e removed non-existant arbfpwpos.c, added UTIL_FILES target 2004-04-20 23:25:47 +00:00
Brian Paul 51060afb4e hack to use glTexCoord4f and Q variable to test projective texcoords 2004-04-18 20:13:21 +00:00
Keith Whitwell 6fb235661a Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
and execute fragment programs.  Very limited and experimental, but works
well enough to run arbfplight.c.

	http://fabrice.bellard.free.fr/tcc/

Compile with 'make linux-tcc', being sure to make clean first.
2004-04-14 21:19:34 +00:00
Brian Paul 32aee1fcc0 added zreaddraw.c 2004-04-08 22:45:02 +00:00
Brian Paul 62d3309dc2 no depend file 2004-04-08 21:11:12 +00:00
Brian Paul 51aa7a93ad for make clean, include tests directory 2004-04-03 15:18:13 +00:00
Brian Paul 5c2040c768 minor fixes 2004-03-26 23:58:08 +00:00
Brian Paul df8bc57258 Don't use pushd/popd. 2004-03-26 21:38:45 +00:00
Brian Paul d6de4d8b33 new Makefile 2004-03-26 20:37:19 +00:00
Brian Paul 46727c7496 Tweaks for make clean / realclean. 2004-03-26 20:31:05 +00:00
Brian Paul f132413965 clamp BiasMin, BiasMax to reasonable values 2004-03-26 18:05:36 +00:00
Brian Paul de0ee3187c New Makefile system 2004-03-26 15:19:11 +00:00
Brian Paul 68b38d2751 check for GLX 1.3 during init 2004-03-26 14:17:31 +00:00
Brian Paul 209fee4d33 silence warnings 2004-03-25 14:58:39 +00:00
Brian Paul b87c5d08c7 added some code to test buffer deletion 2004-03-22 16:28:02 +00:00
Brian Paul f6a93d3dff use GL state vars instead of program parameters 2004-03-22 16:27:13 +00:00
Brian Paul 04da5cea31 test of aux buffer rendering 2004-03-21 17:07:30 +00:00
Brian Paul 746e59f207 GL_EXT_pixel_buffer_object test 2004-03-13 18:31:14 +00:00
Ian Romanick c00fbd55ba The available GLX version is now logged in addition to the client
version and the server version.
2004-02-23 17:37:36 +00:00
Brian Paul 4e41eb1061 compute fog coord in eye space, not clip space 2004-02-17 22:00:45 +00:00
Brian Paul 9a389d4bdb define DO_FRAGMENT_FOG=1 to test fragment program fog option 2004-02-17 17:59:59 +00:00
Brian Paul 64d6ddabaa remove incorrect negation in fog coord computation 2004-02-16 16:44:40 +00:00
Keith Whitwell 7b5199e8a4 glutInitWindowPosition 2004-02-16 14:45:56 +00:00
Daniel Borca a49a08d014 fog_coord demo 2004-02-16 07:31:29 +00:00
Ian Romanick 840e82163d Added a test case for Mesa bug #508473 that I wrote a long time ago.
Fixed the Makefile.X11 to actually build glxgears_fbconfig when
invoked from the top level.
2004-02-11 20:16:26 +00:00
Ian Romanick 1d6e08db95 Added yet another version of gears. This one uses fbconfigs, and is a
rudimentary test of fbconfigs that doesn't use pbuffers of
GLX_SGI_make_current_read.
2004-02-11 08:00:42 +00:00
Brian Paul 53c50f1667 some useful matrix functions 2004-02-10 23:41:20 +00:00
Keith Whitwell 493e6e1e90 Add comments to make decyphering the faces easier 2004-02-05 17:36:02 +00:00
Keith Whitwell 72aeea4eea Use quads instead of lines to ensure this is testing stencil functionality
rather than rasterization.  A crutch to hw with wonky line
rasterizers.
2004-02-04 15:27:39 +00:00
Brian Paul b6a9cb7095 another pbuffer demo (Andrew Lentvorski) 2004-02-03 16:23:38 +00:00
Brian Paul 18a949000c tweak comments 2004-02-02 15:38:26 +00:00
Brian Paul c9e1c8098b added display list option (l key) 2004-01-31 19:57:25 +00:00
Brian Paul 27ec7a5bf1 add vparray.c, fix indentation 2004-01-31 19:15:57 +00:00
Brian Paul 919404fd1d enable program and arrays by default, minor clean-ups 2004-01-31 19:15:43 +00:00
Alan Hourihane 29b2ced167 fix printf warnings 2004-01-28 16:28:53 +00:00
Keith Whitwell eabe7beeaa add glutInitWindowPosition calls 2004-01-28 10:09:59 +00:00
Keith Whitwell 469d1b0f22 Add glutInitWindowPosition call 2004-01-28 10:07:48 +00:00