Commit Graph

566 Commits

Author SHA1 Message Date
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
Keith Whitwell 740f7de085 Tweak: set z scale to one, else tnl thinks we have a 3d texcoord. 2004-01-27 16:18:00 +00:00
Keith Whitwell ab41a96ae7 Add tests for ARB_fp trig instructions and also for 1D texturing 2004-01-26 13:45:42 +00:00
Brian Paul b4b35bcc42 New glXUseRotatedXFontMESA() function. Like glXUseXFont(), but takes
a rotation parameter (either 0, 90, 180 or 270 degrees).
Also, a demo program.
2004-01-24 16:50:35 +00:00
Brian Paul a7e6f7ba35 exercise glDeleteProgramsARB 2004-01-13 16:17:21 +00:00
Daniel Borca 0ee5f6203c reverted TMUs for proper multitexturing 2003-12-23 14:11:22 +00:00
Daniel Borca e9e98405e7 DMesa: removed MGA2064W driver
DMesa: added capability to query visuals
fxMesa: WGL_3DFX_gamma_control
fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
2003-12-19 11:26:46 +00:00
Brian Paul 520ef4b5bc new makefiles 2003-12-12 15:33:51 +00:00
Karl Rasche a8a4ad452e added parsing exercises for ARL and relative offsets in ARB_vp 2003-12-09 18:17:04 +00:00
Karl Rasche 93c2dacca6 A quick little test to show disapeearing specular color between vertex and fragment program execution 2003-12-08 21:43:55 +00:00
Jouk Jansen 58f88a29d2 Committing in .
OpenVMS compile issues

 Modified Files:
 	Mesa-newtree/progs/tests/cva.c
 	Mesa-newtree/progs/tests/dinoshade.c
 	Mesa-newtree/progs/tests/multipal.c
 	Mesa-newtree/src/mesa/main/descrip.mms
 	Mesa-newtree/src/mesa/tnl/descrip.mms
 	Mesa-newtree/src/mesa/tnl/t_vtx_api.c
 ----------------------------------------------------------------------
2003-12-08 09:03:35 +00:00
Brian Paul a763123b35 glFBDev driver from embedded-2 branch.
Probably won't be actively used/maintained, but bring it to the trunk so
it doesn't get lost.
2003-12-06 17:20:10 +00:00
Brian Paul 15f7f4e31f press f key to toggle front/back drawing/copying 2003-12-05 00:39:48 +00:00
Karl Schultz f9b0ac691c Windows needs to #define GL_GLEXT_PROTOTYPES 2003-12-04 21:03:08 +00:00
Karl Rasche 9b0dcfd408 s/inverse/invtrans.. whoopsie 2003-12-02 22:46:30 +00:00
Karl Rasche dda09a6154 Moving NV_fragment_program tests to ARB_fragment_program 2003-11-24 13:29:54 +00:00
Karl Rasche 15955f1c5e Porting NV_vertex_program demos to ARB_vertex_program 2003-11-23 17:48:15 +00:00
Karl Rasche 4814d79c99 Porting NV_vertex_program tests to ARB_vertex_program 2003-11-23 17:44:02 +00:00
Keith Whitwell 8525fae3b8 build fixes, rh9 2003-11-23 10:27:10 +00:00
Daniel Borca 08e6fb367e texture compression testbed 2003-11-20 17:07:31 +00:00
Brian Paul 16c119bab2 remove GL_GLEXT_LEGACY 2003-11-13 23:09:43 +00:00
Brian Paul 35b52c72d0 added more debug code and tests 2003-10-21 14:56:53 +00:00
Brian Paul 0f22705b0b remove some cruft 2003-10-14 16:59:44 +00:00
Brian Paul 4524274377 exercise more vertex buffer object functions 2003-10-14 15:49:12 +00:00
Daniel Borca 009d7f8ba1 Minor MinGW fixes 2003-10-09 15:15:07 +00:00
Brian Paul 5fd77da4f6 improved 'clean' targets (Otto Solares) 2003-10-03 14:03:14 +00:00
Brian Paul a75246f8f5 updates from Daniel Borca 2003-10-02 17:36:43 +00:00
Karl Schultz cafc787027 Add project file for new spriteblast demo. (Update dependency) 2003-09-25 19:17:30 +00:00
Karl Schultz 26577e4939 Add project file for new spriteblast demo. 2003-09-25 19:15:22 +00:00
Brian Paul 1a89978d83 GL_ARB_point_sprite demo 2003-09-24 20:41:53 +00:00
Karl Schultz 77a505a4bb MS dev studio project file for teapots demo. 2003-09-24 17:37:00 +00:00
Karl Schultz c1cbde2ae1 Workspace file for redbook programs 2003-09-24 17:36:00 +00:00
Karl Schultz 2c9618bb12 Change projection transform so that the top row of teapots are now visible. 2003-09-24 17:34:32 +00:00
Karl Schultz f3a63d69ff Create 'all' project to make it easy to build and clean all the programs in the demos directory. 2003-09-22 18:21:19 +00:00
Karl Schultz ea9365b48a Add remaining demos. 2003-09-22 18:03:09 +00:00
Karl Schultz 6872c21ace New visual studio project fiile for building demos. 2003-09-22 18:02:45 +00:00
Karl Schultz ff750fe8cb Make binary - even though this is a text file, common practice is to store MS studio files as binary 2003-09-19 15:08:42 +00:00
Karl Schultz 85be17868c Now obsolete. 2003-09-18 18:40:22 +00:00
Karl Schultz 84c2730866 New visual studio workspace and projects for building demos. 2003-09-18 18:39:53 +00:00
Karl Schultz 80d719f11a Remove first attempt at using visual studio projects to compile demos. 2003-09-18 18:35:29 +00:00
Brian Paul 1ceeac29ec s/GL_READ_WRITE_ARB/GL_WRITE_ONLY_ARB/ 2003-09-17 18:20:52 +00:00
Brian Paul de8d410a99 Exercise the GL_ELEMENT_ARRAY_BUFFER_ARB path 2003-09-17 18:15:47 +00:00
Brian Paul 6bced0148e test GL_ARB_vertex_buffer_object 2003-09-17 16:27:07 +00:00
Brian Paul 50253ea0a3 Remove all the swap_control stuff from glxgears demo (restored to vers 1.2).
New glxswapcontrol.c file added.
2003-09-08 15:06:23 +00:00
Brian Paul 445ecdcebd use GL_GLEXT_PROTOTYPES 2003-09-08 14:56:41 +00:00
Brian Paul 91253e7be5 more debugger development 2003-09-05 19:34:58 +00:00
Brian Paul 044f20d1ea files for CVS to ignore 2003-09-05 12:51:24 +00:00
Jouk Jansen 054b5aef92 Committing in .
Added missing include files.

 Modified Files:
 	Mesa-newtree/progs/demos/isosurf.c
 	Mesa-newtree/src/mesa/main/nvvertexec.c
 ----------------------------------------------------------------------
2003-09-05 09:37:32 +00:00
Brian Paul 03f0ddbe4c include math.h 2003-09-03 17:21:51 +00:00
Ian Romanick c8363a31cf Added support for EXT_texture_mirror_clamp and the single wrap mode
that it addes to ATI_texture_mirror_once.  This includes updating the
texwrap test to exercise the new mode.
2003-09-02 19:25:17 +00:00
Brian Paul b3680df593 s/DP4/DP3/ 2003-08-31 19:06:10 +00:00
Brian Paul 254e201721 s/DP4/DP3/ 2003-08-31 18:57:17 +00:00
Brian Paul 760960028f Updates from Daniel Borca 2003-08-28 16:57:01 +00:00
Brian Paul 9e94aaf6e3 remove unused bytes variable 2003-08-28 03:10:41 +00:00
Brian Paul 0b12650701 space bar to toggle animation 2003-08-28 03:07:49 +00:00
Brian Paul 2230b8518e test program to exercise glDraw/ReadPixels(GL_DEPTH_COMPONENT) and pixel zooming 2003-08-23 21:42:57 +00:00
Jon Smirl 7c819439ba Rename Makefile to Makefile.X11, add depend support 2003-08-23 01:34:56 +00:00
Jon Smirl 52f246bd23 Added missing includes for standard header files 2003-08-23 01:28:59 +00:00
Jon Smirl ae530c2ff9 Renaming Makefile to Makefile.X11, added depend support, adjusted paths 2003-08-23 01:12:35 +00:00
Brian Paul 9ec58c2c5b DOS and glide driver updates from Daniel Borca 2003-08-19 15:52:51 +00:00
Brian Paul 676cf71852 Added TOP to point to top of tree to find includes and libs 2003-08-06 18:04:32 +00:00
Keith Whitwell a7ea785a10 miniglx test programs 2003-08-06 17:47:15 +00:00
Karl Schultz 838bb33fe1 add osdemo project 2003-07-24 17:45:27 +00:00
Karl Schultz 0a5957bfb1 project file for osdemo 2003-07-24 17:45:09 +00:00
Karl Schultz 95a791bb3e Project to build the gears demo program. 2003-07-24 03:55:25 +00:00
Karl Schultz c7363f7a48 Workspace to build Mesa demos and sample programs. 2003-07-24 03:54:46 +00:00
Brian Paul 6a940e8946 New interactive debugging code - vertex or fragment program. 2003-07-22 03:53:44 +00:00
Brian Paul 5366b01d86 test program for GL_MESA_program_debug extension 2003-07-21 04:22:59 +00:00
Brian Paul 356959952c added GL_VERSION check 2003-07-10 14:39:57 +00:00
Brian Paul b464dee72b bigger window 2003-07-03 03:11:56 +00:00
Brian Paul 7568561fa7 GL_ARB_texture_non_power_of_two test program 2003-07-03 03:10:50 +00:00
Jouk Jansen 9826ca3ef5 Committing in .
Enable installation on OpenVMS ODS5 disks.

 Modified Files:
 	Mesa-newtree/progs/demos/descrip.mms
 	Mesa-newtree/progs/tests/descrip.mms
 	Mesa-newtree/progs/xdemos/descrip.mms
 	Mesa-newtree/src/glut/glx/descrip.mms
 	Mesa-newtree/src/mesa/array_cache/descrip.mms
 	Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms
 	Mesa-newtree/src/mesa/drivers/x11/descrip.mms
 	Mesa-newtree/src/mesa/glapi/descrip.mms
 	Mesa-newtree/src/mesa/main/descrip.mms
 	Mesa-newtree/src/mesa/math/descrip.mms
 	Mesa-newtree/src/mesa/swrast/descrip.mms
 	Mesa-newtree/src/mesa/swrast_setup/descrip.mms
 	Mesa-newtree/src/mesa/tnl/descrip.mms
 ----------------------------------------------------------------------
2003-07-02 14:23:49 +00:00
Jouk Jansen ccb8284a5b Committing in .
OpenVMS support for new directory tree

 Modified Files:
 	Mesa-newtree/progs/demos/descrip.mms
 	Mesa-newtree/progs/tests/descrip.mms
 	Mesa-newtree/progs/xdemos/descrip.mms
 	Mesa-newtree/src/glu/sgi/descrip.mms
 	Mesa-newtree/src/glut/glx/descrip.mms
 	Mesa-newtree/src/mesa/main/descrip.mms
 Added Files:
 	Mesa-newtree/descrip.mms Mesa-newtree/mms-config.
 	Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms
 	Mesa-newtree/src/mesa/descrip.mms
 	Mesa-newtree/src/mesa/array_cache/descrip.mms
 	Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms
 	Mesa-newtree/src/mesa/drivers/x11/descrip.mms
 	Mesa-newtree/src/mesa/glapi/descrip.mms
 	Mesa-newtree/src/mesa/math/descrip.mms
 	Mesa-newtree/src/mesa/swrast/descrip.mms
 	Mesa-newtree/src/mesa/swrast_setup/descrip.mms
 	Mesa-newtree/src/mesa/tnl/descrip.mms
 	Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt
 	Mesa-newtree/vms/xlib_share.opt
 ----------------------------------------------------------------------
2003-06-17 07:20:22 +00:00
Brian Paul 642699a19f DOS updates for new tree (Daniel Borca) 2003-06-16 14:32:44 +00:00
Brian Paul 8fa507592b fix typo, added space/anim control 2003-06-13 02:42:57 +00:00
Brian Paul 86258034d5 GL_ARB_occlusion_query demo. 2003-06-13 02:38:35 +00:00
Brian Paul 9a2121cfb6 update for new directory tree 2003-06-10 14:54:37 +00:00
Brian Paul b953bebc25 updated old-style makefiles for new tree 2003-06-10 14:46:24 +00:00
Ian Romanick 9ac51f57ef Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
Brian Paul 3ba8a49c81 Remove a bunch of really old/obsolete configs.
Use the new mklib script.
2003-06-01 16:25:02 +00:00
Ian Romanick b2a4aecd80 Removed an accidental addition in the previous commit. 2003-05-30 18:41:38 +00:00
Brian Paul f8f830d59d minor clean-ups 2003-05-30 15:42:22 +00:00
Brian Paul 62dc802818 misc changes from testing 2003-05-30 15:38:26 +00:00
Brian Paul 80b8665438 include readtex.h 2003-05-30 15:37:47 +00:00
Brian Paul f98921d344 display both YCbCr and RGB image (Ian) 2003-05-30 15:36:04 +00:00
Brian Paul 785774deb2 applied Ian's misc patches 2003-05-30 15:30:16 +00:00
Keith Whitwell 27358a24a0 move LoadYUVImage into readtex.c 2003-05-20 09:54:58 +00:00
Keith Whitwell eea72ff722 Test programs for ycbcr extension 2003-05-20 08:50:02 +00:00
Jouk Jansen 370d7ad007 Committing in .
Updating OpenVMS compile support

 Modified Files:
 	Mesa/src/descrip.mms Mesa/xdemos/glxgears.c
 ----------------------------------------------------------------------
2003-04-29 07:15:48 +00:00
Brian Paul 8eb2fe0e15 added a cast 2003-04-21 14:51:49 +00:00
Brian Paul d93b68f17a silence warnings 2003-04-21 14:51:16 +00:00
Brian Paul ff389b00a5 casts 2003-04-21 14:50:49 +00:00
Brian Paul 95210bc806 fix minor warnings 2003-04-21 14:50:12 +00:00
Brian Paul a0ef56fd15 fix .c / .h typo 2003-04-21 14:04:27 +00:00
Brian Paul 3ca3ab0cd1 clean up usage of extension function pointers 2003-04-17 21:43:55 +00:00
Brian Paul 24339179a4 Demo of using GL_ARB_vertex/fragment_program to do per-pixel lighting. 2003-04-17 19:20:54 +00:00
Brian Paul ebab631c9c fix typo 2003-04-09 22:50:52 +00:00
Brian Paul 0b77a1c635 fix typo 2003-04-09 21:50:08 +00:00
Brian Paul ad80233d5d add support for swap and sync extensions (Ian Romanick) 2003-04-09 21:47:19 +00:00
Brian Paul 4cef881e1f Demo of per-pixel lighting with a fragment program. 2003-04-07 23:05:50 +00:00
Brian Paul c0eebd723f test glProgramNamedParameter4fNV() 2003-04-05 00:38:40 +00:00