Commit Graph

896 Commits

Author SHA1 Message Date
Brian Paul 0a355dc010 clean-up of tunnel demos 2001-03-27 17:30:51 +00:00
Brian Paul 25a5dc2ea7 moved shadow code into teapot.c 2001-03-27 17:08:20 +00:00
Brian Paul 0bc933a460 test texture wrap modes 2001-03-26 19:45:57 +00:00
Brian Paul 63fae71713 added glxgears 2001-03-23 22:48:35 +00:00
Brian Paul 355da23785 gears using GLX instead of GLUT 2001-03-23 22:46:26 +00:00
Brian Paul 39557c3921 added silly mesa_hack() function and -b option 2001-03-23 21:41:44 +00:00
Gareth Hughes 7387394e59 Initial demo of GL_EXT_texture_filter_anisotropic extension. 2001-03-22 15:24:15 +00:00
Jouk Jansen df1e73af7a Modified Files:
Mesa/descrip.mms Mesa/mms-config Mesa/demos/descrip.mms
 	Mesa/si-glu/include/gluos.h
 	Mesa/si-glu/libnurbs/internals/bufpool.h
 	Mesa/si-glu/libnurbs/internals/mysetjmp.h
 	Mesa/src-glut/descrip.mms
 Added Files:
 	Mesa/si-glu/descrip.mms Mesa/si-glu/mesaglu.opt

 changes needed to compile SI-GLU on VMS.

----------------------------------------------------------------------
2001-03-22 11:38:36 +00:00
Gareth Hughes fa6be6e77a Fix compilation with GLU 1.1 2001-03-21 02:47:32 +00:00
Gareth Hughes f5328c534d Make ESC quit. 2001-03-21 02:44:36 +00:00
Gareth Hughes 16cdc6ab12 Revert back to new tessellator, check version string to be sure we're
running with a valid GLU library.
2001-03-21 02:43:14 +00:00
Alan Hourihane e18599a6c3 fix glxinfo to query current display. 2001-03-19 13:58:45 +00:00
Alan Hourihane 92eac1c765 fix cast 2001-03-19 13:27:15 +00:00
Brian Paul a28fa45ab7 test 16-bit/channel rendering 2001-03-08 15:24:18 +00:00
Brian Paul d395251b35 GL_EXT_secondary_color test 2001-03-05 17:50:35 +00:00
Brian Paul d49081302a GL_EXT_fog_coord test 2001-03-05 17:31:57 +00:00
Brian Paul 0221e4d6c8 Now there's four possible display modes:
1. normal, shadowed rendering
2. display depth texture image
3. display depth texture mapped onto scene
4. render grayscale scene where gray level = distance from light source
2001-02-28 18:41:50 +00:00
Brian Paul 511378b05d added filtering option, compute shadow tex size from window size 2001-02-26 18:26:32 +00:00
Brian Paul 0a0595f2d3 added extension #ifdef/#endifs 2001-02-20 17:06:35 +00:00
Brian Paul d6c3f73fb4 added shadowtex 2001-02-20 17:04:52 +00:00
Brian Paul 1399d7650d demo of GL_SGIX_shadow 2001-02-20 16:43:50 +00:00
Brian Paul 8a42f6b359 added n-key to toggle nice fog, other minor clean-ups 2001-02-16 21:48:16 +00:00
Gareth Hughes dde2da64b5 Force texture download every time to handle lazy texture downloads. 2001-02-07 03:04:58 +00:00
Brian Paul 125fddc31d added DestroyHeads() to test clean-up code 2001-01-23 23:45:05 +00:00
Brian Paul 6140a8c65f minor tweaks 2001-01-23 23:44:39 +00:00
Brian Paul 4e3e9ac8fb added support for 4 texture units 2001-01-23 23:44:15 +00:00
Brian Paul 2b2e62154d space-bar = pause animation 2001-01-23 23:43:53 +00:00
Gareth Hughes c851646050 Add GL_POINTS as a primitive, including with CVA DrawElements. Useful
for testing non-triangle primitives on hardware driver fastpaths.
2001-01-06 20:38:03 +00:00
Jouk Jansen ef68e7bf71 Committing in .
Modified Files:
 	Mesa/demos/descrip.mms Mesa/src/descrip.mms
 	Mesa/src/dispatch.c

 -Updated VMS compile suppport
 -Included glthread.h in dispatch.c to make sure that THREADS is defined if
   i.e. PTHREADS is defined in the makefile.

----------------------------------------------------------------------
2001-01-02 10:07:33 +00:00
pesco d1ff1f6798 * demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util.
* demos/Makefile.X11, demos/Makefile.BeOS-R4, demos/Makefile.cygnus:
Essentially the same.
Program files updated to include "readtex.c", not "../util/readtex.c".
* demos/reflect.c: Likewise for "showbuffer.c".


* Makefile.am (EXTRA_DIST): Added top-level regular files.

* include/GL/Makefile.am (INC_X11): Added glxext.h.


* src/GGI/include/ggi/mesa/Makefile.am (EXTRA_HEADERS): Include
Mesa GGI headers in dist even if HAVE_GGI is not given.

* configure.in: Look for GLUT and demo source dirs in $srcdir.

* src/swrast/Makefile.am (libMesaSwrast_la_SOURCES): Set to *.[ch].
More source list updates in various Makefile.am's.

* Makefile.am (dist-hook): Remove CVS directory from distribution.
(DIST_SUBDIRS): List all possible subdirs here.
(SUBDIRS): Only list subdirs selected for build again.
The above two applied to all subdir Makefile.am's also.
2000-12-24 22:53:54 +00:00
Brian Paul 83886a5a7f call glFinish() before getting t1 time 2000-12-07 21:50:39 +00:00
Brian Paul fac5fd258c added -s option to control when glXSwapBuffers() is called 2000-12-02 20:33:05 +00:00
Gareth Hughes 7853901372 Enable double-buffering, count not even multiple of three. 2000-11-30 03:06:56 +00:00
Gareth Hughes 28861b192f Add basic timing information. 2000-11-30 01:44:24 +00:00
Brian Paul a13fab59ae added more programs 2000-11-18 17:13:04 +00:00
Brian Paul ede37839ae test texture palettes with multitexture 2000-11-18 17:12:33 +00:00
Brian Paul 9b5bb5939b Mark Kilgard's reflection/shadow dino demo 2000-11-18 17:10:07 +00:00
Brian Paul 6b2eab1869 hacked demo to test multi-texture projective textures 2000-11-18 17:07:39 +00:00
Brian Paul db6aa58267 patched to silence compiler warnings (Martin Lindhe) 2000-11-10 17:23:02 +00:00
Brian Paul 5605385194 fixed mipmap setup bug 2000-11-09 16:53:26 +00:00
Gareth Hughes 5f5632c424 Change transformation from ortho to perspective so we get the MGA elt
path by default.
2000-11-03 00:09:31 +00:00
Brian Paul 861eb8eb16 update for separate libOSMesa.so lib 2000-11-01 16:02:52 +00:00
Brian Paul 563d26b247 print number of texture units 2000-11-01 16:02:01 +00:00
Gareth Hughes 9f568e512f Added trivial CVA test for testing HW driver fastpaths, good for testing
indexed vertex buffer implementations for instance.

Cleaned up Makefile to make building and adding more tests easier.
2000-11-01 03:14:12 +00:00
Brian Paul fda3b1a4b1 added comment explaining why the demo is flawed 2000-10-31 20:41:06 +00:00
Brian Paul 039bf534aa removed debug printf 2000-10-31 01:20:06 +00:00
Brian Paul efeddebe81 big overhaul of the demo, works better now 2000-10-30 22:38:55 +00:00
Gareth Hughes ba58a6665f Change animated apps to double-buffered visuals by default. 2000-10-27 02:49:17 +00:00
Brian Paul 27a26bfc4b added a glFinish() call 2000-10-26 15:26:14 +00:00
Brian Paul 6cdf09749c Put a white texel in each corner of each texture.
Draw polygons using the texture's aspect ratio.
The tdfx-3-0-0 texcoord bug is obvious with the -randomsize option.
2000-10-23 23:32:22 +00:00
Brian Paul 0448488e11 added idle() func, enable fog by default 2000-10-23 20:06:36 +00:00
Brian Paul e188b6e1f1 added a proper idle() function 2000-10-21 04:29:02 +00:00
Brian Paul a2d2aed64a use 1.1 glPolygonOffset instead of glPolygonOffsetEXT 2000-10-20 17:26:57 +00:00
Brian Paul 1100b4daa3 use gray background, memset TempImage to white to help with debugging 2000-10-16 21:24:39 +00:00
Brian Paul fdf2033bda brighter colors 2000-10-05 21:57:00 +00:00
Jouk Jansen 55590ee810 Committing in .
Modified Files:
 	Mesa/demos/paltex.c

 Silenced compiler warnings

----------------------------------------------------------------------
2000-10-05 07:17:43 +00:00
Brian Paul 476609c539 improved to test alpha blending with texture palette 2000-10-04 18:15:39 +00:00
Brian Paul 22f1ca0131 textured line test 2000-09-30 18:48:33 +00:00
Brian Paul 4f66498304 added fps output 2000-09-29 23:09:39 +00:00
Brian Paul 63c113a31b use GL_NEAREST texture filter 2000-09-26 15:25:01 +00:00
Brian Paul 345a71a9cb set default window pos, changed 4 to GL_RGBA 2000-09-15 23:59:46 +00:00
Brian Paul cefc42f1ba added FPS calculation 2000-09-15 16:43:57 +00:00
Brian Paul ae18872bc7 added cursor key info to instructions 2000-09-13 23:01:52 +00:00
Brian Paul d49b34a233 better FPS calculation 2000-09-12 18:44:45 +00:00
Brian Paul b8cc150836 terrain demo data 2000-09-12 17:58:27 +00:00
Brian Paul 4df1f7c7ba better fps computation 2000-09-12 17:38:22 +00:00
Brian Paul 9d3e5db9fc added dither key option 2000-09-08 21:45:21 +00:00
Brian Paul 46dbaec56a Use OSMesaCreateContextExt() if using Mesa 3.5 or later 2000-09-08 16:42:06 +00:00
Brian Paul e8a84a93aa initial check-in 2000-09-01 21:01:18 +00:00
Brian Paul e8e20ae598 changed default Shininess to 6 2000-08-29 21:17:38 +00:00
Jouk Jansen 5d3a95714c Committing in .
Modified Files:
 	Mesa/demos/descrip.mms

 One forgotten file for VMS to support /name=(as_is,short)

----------------------------------------------------------------------
2000-08-24 08:48:27 +00:00
Brian Paul f4f4dab25a changed quad vertex colors to be tessellation invariant 2000-08-21 21:05:39 +00:00
Brian Paul 043654bbfb print UNDEFINED MODE over samples that are undefined in the GL spec 2000-08-21 20:04:55 +00:00
Brian Paul e716184cae added missing radius multiplication factor to sphere code 2000-08-16 20:36:34 +00:00
Brian Paul ee2ef90b7f test handling of lots of textures 2000-08-02 17:57:56 +00:00
Brian Paul c7d1444f9c added GLX multi-thread demo 2000-07-20 20:12:17 +00:00
Brian Paul cf89b89be8 call glutInit() 2000-07-19 23:57:24 +00:00
Brian Paul fb88eeee9f use indirect context, added error checking 2000-07-11 16:05:29 +00:00
Brian Paul c4266ac71e reverted to old tessellator 2000-07-11 14:11:58 +00:00
Brian Paul 92009554ce added LoadRGBMipmaps2() 2000-06-27 17:54:44 +00:00
Brian Paul f7688171c4 minor tweaks 2000-06-27 17:12:10 +00:00
Brian Paul d88f8e9cac initial check-in 2000-06-27 17:11:24 +00:00
Brian Paul 02e8a03593 fixed compiler warnings 2000-06-27 17:04:43 +00:00
Brian Paul 9e7f9b3e99 initial check-in 2000-06-27 17:04:21 +00:00
Brian Paul 0674c22e01 added 3dfx demos 2000-06-27 16:54:18 +00:00
Brian Paul 5b0a7f3971 initial check-in 2000-06-27 16:52:38 +00:00
Brian Paul e4b40b0211 added texenv demo 2000-06-27 15:56:46 +00:00
Brian Paul f13a330e44 initial check-in 2000-06-27 15:55:47 +00:00
Brian Paul 498c09040e print GL_RENDERER upon startup 2000-06-27 15:34:35 +00:00
Brian Paul 6a06707f59 draw a solid cube too 2000-06-27 15:33:44 +00:00
Brian Paul 479fab6a34 call glutInit() in main() 2000-06-15 14:25:48 +00:00
Keith Whitwell a179cbf0dd Re-enable the keyboard functionality.
Add a -db option for doublebuffering.
Add a 'benchmark' keystroke like isosurf.
2000-06-14 23:24:50 +00:00
Brian Paul 9b08f27000 added glxheads, manywin 2000-06-13 19:42:05 +00:00
Brian Paul 0852d0b95e initial check-in 2000-06-13 19:41:30 +00:00
Brian Paul d27e256f49 use GL_CLAMP_TO_EDGE 2000-06-13 18:45:54 +00:00
Brian Paul aea03c424d added cubemap demo 2000-05-30 01:19:49 +00:00
Brian Paul d04d20974e initial check-in 2000-05-30 01:18:29 +00:00
Brian Paul 4d5984444e set default window pos 2000-05-23 23:21:00 +00:00
Brian Paul e691ee2753 fixed bug in loop over screens 2000-05-08 14:53:57 +00:00
Brian Paul 9cff558064 more error reporting 2000-05-07 18:07:23 +00:00
Brian Paul 07ec12f745 removed glxdpyinfo 2000-05-03 14:18:25 +00:00
Brian Paul f3b3ab924f Removed. Use glxinfo instead. 2000-05-03 14:17:50 +00:00
Brian Paul 8c7889d99f removed extra / 2000-04-24 15:29:11 +00:00
Brian Paul 34fb5db643 more error checking. Query GLX client vendor string 2000-04-22 20:31:23 +00:00
Brian Paul 7a6bb1bb82 lots of clean-up, added d/s keys 2000-04-12 01:08:30 +00:00
Brian Paul a8ede6b076 fixed visual selection and reporting results 2000-04-10 16:25:15 +00:00
Brian Paul d697289746 added pixeltex demo 2000-04-07 16:30:46 +00:00
Brian Paul 5cedb32f6b initial check-in 2000-04-07 16:29:08 +00:00
Brian Paul 3cd7738c9b silenced warnings 2000-04-06 02:22:59 +00:00
Brian Paul 32afff3fe3 silenced a bunch of warnings 2000-04-06 02:22:23 +00:00
Brian Paul c8735e8f82 new arguments to XMesaCreateVisual() 2000-04-05 22:09:58 +00:00
Brian Paul c69208451e removed unused vars 2000-04-05 21:36:31 +00:00
Brian Paul 9d0bc1d633 fixed compiler warnigns 2000-04-05 21:36:03 +00:00
Brian Paul 8fbd189d81 added missing braces in initializers 2000-04-05 21:35:46 +00:00
Brian Paul ed388938a1 changed a comment 2000-04-04 15:20:20 +00:00
Brian Paul a74394c3a8 added copyright info 2000-04-04 15:20:17 +00:00
Brian Paul a9c53fa9ee minor clean-ups 2000-04-03 15:45:34 +00:00
Brian Paul bb128de744 added occlude demo 2000-04-01 05:57:41 +00:00
Brian Paul 16b647d8b2 initial check-in 2000-04-01 05:53:31 +00:00
Brian Paul 25673f0cba added support for GLX_EXT_visual_rating 2000-03-31 18:17:51 +00:00
Brian Paul d3d72804b0 tweaks to allow different read formats/types 2000-03-31 01:01:31 +00:00
Keith Whitwell 03b7aee438 Added stipple mode 2000-03-30 17:58:56 +00:00
Brian Paul 1e35590f14 removed GL_HP_occlustion_test code, added -exit option 2000-03-29 23:57:20 +00:00
Brian Paul 8fd9fcbc2d hit space bar to rerun benchmark 2000-03-29 18:02:52 +00:00
Brian Paul 5a564056f5 added error checking on file open 2000-03-29 17:56:02 +00:00
Brian Paul 7d69e9e93f lots of changes 2000-03-29 15:47:48 +00:00
Randy Frank 23ee049401 Implemented support for the HP occlusion test extension (osmesa and X) 2000-03-28 16:59:39 +00:00
Brian Paul d25df35154 added missing glEnd() call (Tim Beckmann) 2000-03-27 15:46:12 +00:00
Brian Paul 4f6d60e9cf added benchmarking 2000-03-23 19:47:25 +00:00
Brian Paul 0d24f7b50e replaced HaveTexObj with UseTexObj 2000-03-23 16:57:14 +00:00
Brian Paul 3769b3fed4 changed TDA to [4] for glMaterialfv() calls 2000-03-22 23:14:54 +00:00
Brian Paul 49dcae8c80 converted from GL_EXT_texture3D to GL 1.2 2000-03-22 19:48:57 +00:00
Brian Paul d21cdb6d84 tweaked the animation rate 2000-03-22 18:38:47 +00:00
Brian Paul a937128030 added lodbias demo 2000-03-20 22:02:11 +00:00
Brian Paul aa80e29386 initial check-in 2000-03-20 22:00:22 +00:00
Brian Paul 586b4f66a8 colors were computed incorrectly (Hans Nelles) 2000-03-18 01:13:29 +00:00
Brian Paul e02ffc1226 now save Targa image. misc clean-up 2000-03-06 23:56:21 +00:00
Brian Paul b50d03e5bc added geartrain 2000-03-06 23:35:06 +00:00
Brian Paul 392a7008d1 initial check-in 2000-03-06 23:34:42 +00:00
Brian Paul 15da01e16b added readpix program 2000-03-01 16:24:29 +00:00
Brian Paul eca1bc983d test glDraw/Read/CopyPixels() 2000-03-01 16:23:14 +00:00
Brian Paul 058a3ab4cb test for GL 1.2 2000-03-01 03:36:40 +00:00
Brian Paul 4ceb5616e6 fixed bug when using display lists 2000-02-25 23:24:06 +00:00
Brian Paul 7ac435066a fixed problem in print_extension_list() when ext ended in a space 2000-02-23 22:50:35 +00:00
Brian Paul 27be87cdff new library dependency vars 2000-02-16 01:09:06 +00:00
Brian Paul 46a5936f54 include readtex.h 2000-02-10 17:44:58 +00:00
Brian Paul 80ef05c9d5 initial checkin 2000-02-10 17:44:50 +00:00
Brian Paul 8460cc9bf9 try both single and double-buffered visuals 2000-02-02 20:57:51 +00:00
Brian Paul b45c71aeff changed > to >= 2000-02-02 17:31:45 +00:00
Brian Paul d2702f0022 limit Drift to [0, 1] 2000-02-02 01:07:21 +00:00
Brian Paul 062ebf45c5 added texdown program 2000-01-28 16:27:27 +00:00
Brian Paul 215ff22651 initial check-in 2000-01-28 16:25:44 +00:00
Brian Paul e06c7f32cf minor changes regarding transparency and multisample 2000-01-27 16:53:55 +00:00
Brian Paul 76bc4403fd all new version of glxinfo 2000-01-27 16:43:56 +00:00
Gareth Hughes 2454429915 Removed '#if 0' from second pass. 2000-01-24 22:54:05 +00:00
Gareth Hughes 3b7a75a0ce Merged 3.2 updates, namely combine callback for intersecting
contours.
2000-01-23 21:25:39 +00:00
Randy Frank ed236aa0d0 Added test for the occlusion test code. 2000-01-15 06:11:33 +00:00
Brian Paul c02db13e00 added a cast to malloc call 1999-12-16 08:54:22 +00:00
Brian Paul 381e5555a5 made a few globals static 1999-12-15 13:02:09 +00:00
Brian Paul 7e401c1546 moved #define to column 0 1999-12-15 13:00:45 +00:00
Brian Paul bd1db5d6b5 added wincopy demo 1999-11-25 17:42:01 +00:00
Brian Paul b5e4a16e4a initial rev 1999-11-25 17:41:51 +00:00
Kendall Bennett f945672623 . More fixed to 1999-11-12 16:38:23 +00:00
Brian Paul 8f8d152b2e added glxdpyinfo 1999-11-12 15:47:38 +00:00
Brian Paul c3ef5952f5 initial check-in 1999-11-12 15:47:28 +00:00
Brian Paul 37ff9433c0 added missing braces in array initializations 1999-11-11 14:37:24 +00:00
Brian Paul 94acb57278 removed printf's 1999-11-05 08:12:46 +00:00
Brian Paul 17407de73a added xfont demo 1999-11-05 08:01:17 +00:00
Brian Paul f1b45ca254 new xfont demo 1999-11-05 08:00:49 +00:00
Gareth Hughes eb459c6070 Updated demo for new GLU 1.3 tessellation. Added optimized rendering
by saving the output of the tessellation into display lists.
1999-11-04 04:00:42 +00:00
Brian Paul d51b2c99d5 new texture image, cleaned-up code 1999-11-02 15:09:04 +00:00
Brian Paul 8de4a38777 minor changes to Usage() function 1999-10-28 18:23:29 +00:00
Brian Paul 0144a50f04 removed -lm from link command 1999-10-27 10:09:53 +00:00
Brian Paul 9a19ccb578 better texture matrix, better end-cap reflections on cylinder 1999-10-26 17:08:31 +00:00
Brian Paul 20cdbc068e more comments, removed unneeded glDepthFunc call 1999-10-23 08:12:23 +00:00
Brian Paul 83435611c8 added gloss demo 1999-10-22 20:35:17 +00:00
Brian Paul bb1119fd44 initial rev 1999-10-22 20:34:57 +00:00
Brian Paul d13c0a90c7 added f key to toggle front/back drawing 1999-10-21 22:13:58 +00:00
Brian Paul ac12609099 added -info command line option 1999-10-21 16:39:06 +00:00
Brian Paul 1a3b8ffe01 use texture objects now 1999-10-13 12:02:13 +00:00
Gareth Hughes dcf11bdb93 Fixed overflow bug in combineCallback. 1999-10-03 01:00:33 +00:00
tanner bc34adfc54 lots of autoconf updates 1999-09-19 20:09:00 +00:00
Ted Jump 725ec81ae8 More Win32 build compliance fixups 1999-09-19 02:03:18 +00:00
Brian Paul ecaf1a0865 silenced some warnings 1999-09-17 12:27:01 +00:00
Ted Jump d043adc890 Cleaned up exit from main to prevent MSVC warnings 1999-09-17 02:41:38 +00:00
Ted Jump 83c02efa52 Added ESC key handling 1999-09-17 02:40:51 +00:00
Brian Paul 6efd0fb9b5 link with -lGL instead of -lMesaGL 1999-09-17 00:55:21 +00:00
Brian Paul 738e977580 link with -lGLU -lGL instead of -lMesaGLU -lMesaGL 1999-09-17 00:07:26 +00:00
Brian Paul 92460c25a3 added glxinfo 1999-09-16 16:41:03 +00:00
Brian Paul d2bfe1ee29 initial check-in 1999-09-16 16:40:46 +00:00
Brian Paul 36ca6bd82a minor changes. always call compactify_arrays() 1999-09-08 22:14:31 +00:00
Keith Whitwell 44c73933e9 Fog, displaylist and zoom operations 1999-09-03 14:56:40 +00:00
Jon Taylor 72fc9a527d *** empty log message *** 1999-08-22 08:56:50 +00:00
Jon Taylor b35b28e4d9 *** empty log message *** 1999-08-21 08:53:27 +00:00
Jon Taylor 035e96ec3c *** empty log message *** 1999-08-21 06:27:37 +00:00
jtg afb833d4e8 Initial revision 1999-08-19 00:55:39 +00:00