Commit Graph

219 Commits

Author SHA1 Message Date
Brian Paul c4f2710f9d Added -l option for explicit locking around Xlib and GLX calls in
threaded code.  Seems to improve reliability quite a bit.
2006-03-23 17:17:23 +00:00
Brian Paul 436d72e994 Added -p option to create a display connection per thread.
This seems more stabile than using one display connection for all threads.
Still get an occasional Xlib: unexpected async reply error, unfortunately.
2006-03-23 16:58:22 +00:00
Brian Paul 30655c211c updated some printfs, added comment about sched_yield 2006-03-15 20:30:17 +00:00
Brian Paul 361bccb4ec Free visinfo object (Tilman Sauerbeck) 2006-01-16 16:17:18 +00:00
Jouk Jansen d997b90433 Committing in .
1) change compilation on VMS to use IEEE floating points

 2) one more problem with _mesa_sprintf solved

 Modified Files:
 	Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms
 	Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms
 	Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms
 	Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms
 	Mesa/src/mesa/array_cache/descrip.mms
 	Mesa/src/mesa/drivers/common/descrip.mms
 	Mesa/src/mesa/drivers/osmesa/descrip.mms
 	Mesa/src/mesa/drivers/x11/descrip.mms
 	Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms
 	Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms
 	Mesa/src/mesa/shader/descrip.mms
 	Mesa/src/mesa/shader/grammar/descrip.mms
 	Mesa/src/mesa/shader/slang/descrip.mms
 	Mesa/src/mesa/swrast/descrip.mms
 	Mesa/src/mesa/swrast_setup/descrip.mms
 	Mesa/src/mesa/tnl/descrip.mms
 ----------------------------------------------------------------------
2005-09-23 07:03:53 +00:00
Brian Paul 7e6553c1aa s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237) 2005-08-25 13:18:53 +00:00
Brian Paul e78a3c42e4 delete display lists upon exit 2005-08-09 15:14:51 +00:00
Brian Paul 2d47c07398 overlay planes test 2005-07-19 15:27:03 +00:00
Ian Romanick 4f178c6e3a Add $(CFLAGS) to the link commands. This makes 'make linux-x86
ARCH_FLAGS=-m32' work correctly on x86-64 systems.
2005-07-02 07:12:44 +00:00
Brian Paul 6f3d16c64a assorted warning clean-ups for x86_64, etc (Mikko T.) 2005-05-07 17:06:49 +00:00
Brian Paul c61782958b added wrappers/helpers for creating/destroying rendering contexts 2005-04-06 22:41:46 +00:00
Brian Paul c3984fc015 changed implementation of GetAllFBConfigs() 2005-04-06 22:40:39 +00:00
Ian Romanick 29c909f81c Make glxgears_fbconfig compile and respect the DISPLAY setting. Add it
to the Makefile as well.
2005-04-05 20:43:06 +00:00
Dave Airlie 8ca515097f use girl2.rgb by default 2005-02-26 04:56:25 +00:00
Dave Airlie c68233cb35 Add glXAllocateMemoryMESA demo app using ycbcr...
add girl2.rgb which is a slightly resized girl.rgb so client texturing works
2005-02-26 04:51:47 +00:00
Daniel Borca a6ddd2494a remove trailing slash from TOP definition 2005-01-17 07:47:41 +00:00
Keith Whitwell f9b89910d1 new test to exercise context and window create/delete 2005-01-12 19:11:47 +00:00
Brian Paul 14e98b7d7c remove a debug line 2005-01-10 23:16:49 +00:00
Brian Paul ff53a4ee13 tweak output formattting, fixed uninitialized var error 2005-01-10 23:15:59 +00:00
Brian Paul 612bf1fa2e improved animation rate 2005-01-09 18:00:49 +00:00
Brian Paul 1b058a06c2 rotate at a reasonable rate 2005-01-09 16:48:52 +00:00
Brian Paul ba5ceda7e0 added GetAllFBConfigs() 2005-01-07 01:17:42 +00:00
Brian Paul 71fc6a3fc9 New GetAllFBConfigs() function. Some FBConfigs weren't reported before. 2005-01-06 23:59:37 +00:00
Brian Paul f72e4424d9 Use the GLX 1.3 pbuffer/fbconfig functions in preference to the SGIX ones.
Added more functions to pbutil.[ch] to better isolate API differences.
2005-01-04 00:58:29 +00:00
Keith Whitwell 16db15718d Add a -fullscreen option 2004-12-20 14:48:19 +00:00
Brian Paul 8402149766 removed unused visInfo var 2004-12-12 22:24:09 +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 a511b70f44 silence warnings 2004-09-16 19:40:22 +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
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 f2afdcae9a query/print max convolution filter size 2004-08-10 15:32:25 +00:00
Brian Paul d07859e718 redo the event loop to make event response better 2004-07-02 14:35:05 +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 362f1df210 obsolete 2004-04-22 00:42:38 +00:00
Brian Paul 5c2040c768 minor fixes 2004-03-26 23:58:08 +00:00
Brian Paul 46727c7496 Tweaks for make clean / realclean. 2004-03-26 20:31:05 +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
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
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 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 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 15f7f4e31f press f key to toggle front/back drawing/copying 2003-12-05 00:39:48 +00:00
Brian Paul 5fd77da4f6 improved 'clean' targets (Otto Solares) 2003-10-03 14:03:14 +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
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 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 785774deb2 applied Ian's misc patches 2003-05-30 15:30:16 +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 d93b68f17a silence warnings 2003-04-21 14:51:16 +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 d2e39bb050 add support for GLX_ARB_multisample 2002-11-04 16:24:18 +00:00
Brian Paul 45c569860c print transparent pixel info when using -v option (Gerd Sussner) 2002-10-14 13:57:23 +00:00
Jouk Jansen f72a3da697 Committing in .
Add compile support in the xdemos directory for OpenVMS

 Modified Files:
 	Mesa/descrip.mms Mesa/xdemos/descrip.mms
 	Mesa/xdemos/glxgears.c
 ----------------------------------------------------------------------
2002-10-08 08:38:26 +00:00
Brian Paul 5687740762 added pbinfo and pbdemo programs 2002-10-05 18:30:46 +00:00
Brian Paul 21666e3db4 pbuffer info and demo programs 2002-10-05 18:30:13 +00:00
Brian Paul 57df24a86c don't query GL_MAX_CONVOLUTION_WIDTH/HEIGHT 2002-09-06 12:58:56 +00:00
Brian Paul 28bc6cb479 minor updates to sync with XFree86 2002-09-06 03:47:34 +00:00
Brian Paul 2f7ef5fae8 added -l option to print interesting OpenGL limits 2002-09-06 03:35:43 +00:00
Brian Paul f02a5f6cc5 Pedantic compiler fixes (Sven Panne) 2002-07-12 15:54:01 +00:00
Brian Paul db30cc8d00 added an error check 2002-04-02 23:53:56 +00:00
Brian Paul a3e44f4531 fix some minor warnings 2002-03-08 19:44:28 +00:00
Brian Paul e79de014c5 removed GLUT reference 2002-01-30 21:54:37 +00:00
Brian Paul 1b2976f79b fix some warnings 2001-11-26 17:21:46 +00:00
Brian Paul 27b0758a94 added -display option 2001-04-27 21:19:13 +00:00
Brian Paul 08b3ff10d3 added -i and -h options 2001-04-24 20:57:36 +00:00
Brian Paul 373aea11c8 applied David's patch for parsing display's server:screen string 2001-04-02 22:45:07 +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
Alan Hourihane e18599a6c3 fix glxinfo to query current display. 2001-03-19 13:58:45 +00:00
Brian Paul 125fddc31d added DestroyHeads() to test clean-up code 2001-01-23 23:45:05 +00:00
Brian Paul fac5fd258c added -s option to control when glXSwapBuffers() is called 2000-12-02 20:33:05 +00:00
Brian Paul db6aa58267 patched to silence compiler warnings (Martin Lindhe) 2000-11-10 17:23:02 +00:00
Brian Paul a2d2aed64a use 1.1 glPolygonOffset instead of glPolygonOffsetEXT 2000-10-20 17:26:57 +00:00
Brian Paul c7d1444f9c added GLX multi-thread demo 2000-07-20 20:12:17 +00:00
Brian Paul fb88eeee9f use indirect context, added error checking 2000-07-11 16:05:29 +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 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 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 34fb5db643 more error checking. Query GLX client vendor string 2000-04-22 20:31:23 +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 a9c53fa9ee minor clean-ups 2000-04-03 15:45:34 +00:00
Brian Paul 25673f0cba added support for GLX_EXT_visual_rating 2000-03-31 18:17:51 +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 8460cc9bf9 try both single and double-buffered visuals 2000-02-02 20:57:51 +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
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
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 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
Brian Paul 0144a50f04 removed -lm from link command 1999-10-27 10:09:53 +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
jtg afb833d4e8 Initial revision 1999-08-19 00:55:39 +00:00