Commit Graph

44 Commits

Author SHA1 Message Date
Brian Paul 68205bf5b4 progs/xdemos: fix typo in glxinfo help 2010-02-26 08:17:37 -07:00
Brian Paul 52cc3b03c3 glxinfo: Fix User error in glGetProgramivARB
glxinfo needed fixing after commit 4bccd69.

Move fragment program only parameters into their own list
so that they are not queried for a vertex program.

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>

(cherry picked from commit b0e5dcb859692707fec8752dd21fc61fc4c3dbcc)
2010-02-22 08:56:18 -07:00
Vinson Lee ad93f3e489 progs/xdemos: Silence uninitialized variable warning. 2010-02-09 01:35:14 -08:00
Vinson Lee 15c6558a2e progs/xdemos: Silence compiler warnings in glxinfo.c. 2009-12-12 02:06:51 -08:00
Brian Paul ca7cd3ade0 progs/xdemos: fix some visual/fbconfig logic in glxinfo.c
The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values.
We only need to use the glXChooseFBConfig() code when glXChooseVisual()
fails (but I don't know when that would happen).
Other recent commits errantly removed some code in this area too.
2009-12-04 08:09:57 -07:00
Vinson Lee 8350648401 progs/xdemos: Remove duplicate code in glxinfo.c.
(cherry picked from commit a4720a1a32)
2009-12-03 23:59:47 -08:00
Vinson Lee 7324c22024 progs/xdemos: Fix memory leak in glxinfo.c.
(cherry picked from commit f080567f4c)
2009-12-03 23:59:11 -08:00
Guillaume Melquiond 5d4c8ec5e0 remove invalid XDestroyWindow() call 2008-09-13 14:22:15 -06:00
Brian Paul 51bfb6aa99 query/print GLSL version string 2008-07-24 15:11:11 -06:00
Adam Jackson e1ae5b89fc glxinfo: Fix multisample visual reporting.
strstr() == 0 tests for the string _not_ being present.  Originally
Red Hat bug #351871.
2008-01-22 14:57:20 -05:00
Kristian Høgsberg a074857cdc glxinfo: Try creating a GLX context using an fbconfig if no visuals are available. 2007-10-18 15:19:38 -04:00
Kristian Høgsberg a5b4bb393f glxinfo: Also print number of fbconfigs. 2007-10-17 15:06:11 -04:00
Kristian Høgsberg 87966baa8d Fixup a couple of thinkos in glxinfo changes. 2007-10-17 10:15:10 -04:00
Kristian Høgsberg 791ad0e77f Implement support for printing glx fbconfigs in glxinfo. 2007-10-16 16:07:52 -04:00
Kristian Høgsberg f7d1d554b1 glxinfo: Only print visuals that actually support GLX. 2007-10-16 16:07:52 -04:00
Brian 73eee2402e Use XDisplayName() when reporting errors (bug 8079). 2006-12-13 08:30:26 -07:00
Michel Dänzer b46e359f58 glxinfo: When direct rendering is not enabled, print some hints.
If indirect rendering is forced, say how. Otherwise, suggest setting
LIBGL_DEBUG=verbose.

Inspired by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379323 .
2006-12-06 14:54:43 +01:00
Brian Paul 2ca741ad4b added a few extension #ifdef tests 2006-05-15 15:35:38 +00:00
Brian Paul ad7805dfee Expanded output with -l option: vertex/fragment program and vertex/fragment
shader limits.
Misc sync-ups with x.org copy of glxinfo.
2006-05-13 00:18:12 +00:00
Brian Paul 361bccb4ec Free visinfo object (Tilman Sauerbeck) 2006-01-16 16:17:18 +00:00
Brian Paul f2afdcae9a query/print max convolution filter size 2004-08-10 15:32:25 +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 0b77a1c635 fix typo 2003-04-09 21:50:08 +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
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 a3e44f4531 fix some minor warnings 2002-03-08 19:44:28 +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 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 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 34fb5db643 more error checking. Query GLX client vendor string 2000-04-22 20:31:23 +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 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 d2bfe1ee29 initial check-in 1999-09-16 16:40:46 +00:00