xserver/hw/xquartz
George Staplin 429b4b20d5 XQuartz: GL: Add a branch to prevent a NULL DrawablePtr structure access.
In attach() check for pDraw being NULL, and also print an ErrorF message,
because we eventually want to track down why this is occuring.

It's unclear how this occurs, but as I noted in the 1.4 branch, I believe that
the DrawablePtr/struct _Drawable -> id is the member being accessed that causes
KERN_PROTECTION_FAILURE at 0x0000000000000004

This passes my tests using: env LIBGL_ALWAYS_INDIRECT=1 ./sometest.

I fixed a warning: caused by initializing the screen->base.visuals with the
configs.  It is a ** not a *.  It seems that some other part of GLX will
initialize this for us.
(cherry picked from commit 17f6a261fca6d5856069dce28bb4838261afc6bc)
2008-11-22 11:13:46 -08:00
..
GL XQuartz: GL: Add a branch to prevent a NULL DrawablePtr structure access. 2008-11-22 11:13:46 -08:00
bundle XQuartz: CFBundleShortVersionString needs to conform to X.Y.Z as well... sigh 2008-11-13 01:19:35 -08:00
doc XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
mach-startup XQuartz: Don't use LS to find X11.app on Tiger. 2008-11-21 11:55:49 -08:00
pbproxy XQuartz: pbproxy: Added some typedefs for types not available on Tiger 2008-11-21 10:59:34 -08:00
xpr fix compilation on systems that don't have 2008-11-14 15:11:42 -08:00
Makefile.am XQuartz: Integrated xpbproxy into the server. 2008-11-15 19:52:34 -08:00
X11Application.h XQuartz: Add option to allow access to the menu in fullscreen mode 2008-10-31 20:05:39 -07:00
X11Application.m XQuartz: Don't use TIS on Tiger... 2008-11-15 19:52:52 -08:00
X11Controller.h XQuartz: Add option to allow access to the menu in fullscreen mode 2008-10-31 20:05:39 -07:00
X11Controller.m XQuartz: More Tiger ifdefs 2008-11-21 10:59:26 -08:00
applewm.c XQuartz: Restore the logic of AppleWMDoReorderWindow to the same as the 1.4 branch. 2008-11-13 01:18:49 -08:00
applewmExt.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
darwin.c XQuartz: More Tiger ifdefs 2008-11-21 10:59:26 -08:00
darwin.h XQuartz: More Tiger ifdefs 2008-11-21 10:59:26 -08:00
darwinClut8.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
darwinEvents.c XQuartz: Silence pointer debug spam 2008-10-31 15:49:52 -07:00
darwinEvents.h XQuartz: Using absolute ranges for pointer location to increase resolution and better support tablets. 2008-10-03 11:14:38 -07:00
darwinXinput.c add debug statements so we can see if/when our Xinput stubs are getting called. 2008-03-31 16:44:22 -07:00
keysym2ucs.c Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
keysym2ucs.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
pseudoramiX.c XQuartz: Set noPanoramixExtension earlier to avoid a possible race. 2008-07-11 10:13:13 -07:00
pseudoramiX.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
quartz.c XQuartz: displayScreenBounds uses quartzEnableRootless rather than !quartzHasRoot 2008-10-31 15:50:06 -07:00
quartz.h XQuartz: Some motion made towards supporting fullscreen. 2008-10-08 18:45:17 -07:00
quartzAudio.c XQuartz: Resurrect the old audio path for Tiger 2008-11-21 10:59:17 -08:00
quartzAudio.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
quartzCocoa.m XQuartz: Set noPanoramixExtension earlier to avoid a possible race. 2008-07-11 10:13:13 -07:00
quartzCommon.h XQuartz: More fullscreen fixes 2008-10-21 09:34:49 -07:00
quartzKeyboard.c XQuartz: More Tiger ifdefs 2008-11-21 10:59:26 -08:00
quartzKeyboard.h XQuartz: Fixed threading issue with TSM. 2008-09-26 12:31:21 -07:00
quartzPasteboard.c just a bit of juggling headers around -- we're preparing 2008-04-02 17:47:57 -07:00
quartzPasteboard.h just a bit of juggling headers around -- we're preparing 2008-04-02 17:47:57 -07:00
quartzStartup.c Xquartz: Removed include directive for removed header 2008-07-11 10:13:06 -07:00
sanitizedCarbon.h XQuartz: Handled sanitization of namespace better 2008-04-18 20:07:55 -07:00
sanitizedCocoa.h XQuartz: Handled sanitization of namespace better 2008-04-18 20:07:55 -07:00
threadSafety.c XQuartz: spewCallStack is noop on Tiger now... 2008-11-21 10:59:41 -08:00
threadSafety.h XQuartz: Cleaned up startup and thread creation a tad. 2008-04-26 19:21:05 -07:00