Commit Graph

16 Commits

Author SHA1 Message Date
Benoit Jacob
dfa0c8fdbd Bug 719164 - Silence glxtest to get rid of spurious messages from the GL - r=glandium 2012-02-08 21:55:34 -05:00
Benoit Jacob
36b20c5f30 Bug 718629 - intermittent waitpid failure causes OpenGL features to be blacklisted on X11 - r=karlt 2012-01-31 15:32:05 -05:00
Nicholas Miell
d62f0c02ff Bug 715952 - glxtest incorrectly creates the backing pixmap and causes X errors - r=bjacob
Was always using 32bit depth, disregarding the actual depth of the FBConfig. This was causing a X error on Mesa sofware renderers.
2012-01-07 18:45:48 -05:00
Landry Breuil
b9b71a765b Bug 687320 - On OpenBSD, libGL.so.1 doesn't exist - r=bjacob
Opening libGL.so will work regardless of the version, which changes over time.
2011-10-25 08:48:39 -04:00
Benoit Jacob
6a4b1e765b Bug 683500 - glxtest should use glXGetProcAddress, not dlsym - r=mattwoodrow
As discussed on https://bugs.freedesktop.org/show_bug.cgi?id=40423
2011-09-07 17:17:45 -04:00
Phil Ringnalda
409f208c61 Back out d333f4021aaf, 5e90688c720e and bdb0bff93ce8 for Windows build redness 2011-09-07 15:20:26 -07:00
Benoit Jacob
42f04417d4 Bug 683500 - glxtest should use glXGetProcAddress, not dlsym - r=mattwoodrow
As discussed on https://bugs.freedesktop.org/show_bug.cgi?id=40423
2011-09-07 17:17:45 -04:00
Ginn Chen
0d0bd84b1f Bug 674468 glxtest.cpp fails to compile with Solaris Studio r=karlt 2011-08-30 13:27:19 +08:00
Benoit Jacob
21e45c0e32 Bug 659932 - GLXtest process should check for GLX >= 1.3 before calling glXCreatePixmap - r=dbaron
This gives cleaner error messages when trying to use GLX features on old GLXs.
2011-08-19 11:39:00 -04:00
Matt Woodrow
bb735f42b1 Bug 671259 - Disable OpenGL layers on linux when we don't have texture_from_pixmap. r=bjacob 2011-08-05 13:13:25 +12:00
Benoit Jacob
c0eb0f9664 Bug 659842 comment 86 - accidentally removed a glXDestroyContext call + fix a warning in opt build - r=trivial-fix 2011-06-17 21:42:31 -04:00
Benoit Jacob
ba5dc3cd72 Bug 659842 - [topcrash] release the GL context before calling glXDestroyContext - r=karlt
See the glXDestroyContext man page:

  If GLX rendering context ctx is not current to any thread,
  glXDestroyContext  destroys it immediately.  Otherwise, ctx is destroyed
  when it becomes not current to any thread.  In either case, the resource ID
  referenced by ctx is freed immediately.

In other words, if we want glXDestroyContext to have the well-defined semantics
of destroying the context before future X commands take effect, we must first
release the GL context before calling it. We were failing to do that, but we
were destroying the drawable immediately after that call, and as a result, the
context was outliving its underlying drawable. This eventually resulted in
X_GLXMakeCurrent: GLXBadContextTag X errors on subsequent glXMakeCurrent calls.
2011-06-17 11:49:27 -04:00
Benoit Jacob
631eac511a Bug 658840 - let glxtest process return from XRE_main rather than calling exit() - r=bsmedberg
Calling exit() resulted in two strings being considered leaked by valgrind. Returning from XRE_main() should fix that.
2011-06-10 15:07:54 -04:00
Benoit Jacob
73d5747276 Bug 660466 - segfault in glxtest - check if a visual was found - r=karlt 2011-06-10 15:05:10 -04:00
Benoit Jacob
7684145e27 Bug 660466 - segfault in glxtest - check if any fbconfig was found - r=karlt 2011-06-10 15:04:20 -04:00
Benoit Jacob
049a300dfd Bug 639842 - implement glxtest probe running as separate process - r=bsmedberg,joe 2011-05-03 16:07:17 -04:00