xserver/hw/xquartz
Adam Jackson d8ec33fe05 glx: Use vnd layer for dispatch (v4)
The big change here is MakeCurrent and context tag tracking. We now
delegate context tags entirely to the vnd layer, and simply store a
pointer to the context state as the tag data. If a context is deleted
while it's current, we allocate a fake ID for the context and move the
context state there, so the tag data still points to a real context. As
a result we can stop trying so hard to detach the client from contexts
at disconnect time and just let resource destruction handle it.

Since vnd handles all the MakeCurrent protocol now, our request handlers
for it can just be return BadImplementation. We also remove a bunch of
LEGAL_NEW_RESOURCE, because now by the time we're called vnd has already
allocated its tracking resource on that XID.

v2: Update to match v2 of the vnd import, and remove more redundant work
like request length checks.

v3: Add/remove the XID map from the vendor private thunk, not the
backend. (Kyle Brenneman)

v4: Fix deletion of ghost contexts (Kyle Brenneman)

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-14 17:04:44 -05:00
..
GL glx: Fix glXQueryContext for GLX_FBCONFIG_ID and GLX_RENDER_TYPE (v2) 2017-12-01 16:13:18 -05:00
bundle XQuartz: Update copyright years 2016-05-04 00:08:34 -07:00
mach-startup XQuartz: Silence a clang static analysis warning about a possible memory leak on exit 2014-01-12 23:12:48 -08:00
man XQuartz: Add a scroll_in_device_direction preference 2011-07-19 20:00:27 -07:00
pbproxy XQuartz: pbproxy shouldn't need to wait for server initialization. 2016-09-22 14:55:02 -07:00
xpr Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
Makefile.am Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
X11Application.h XQuartz: Remove X11ApplicationFatalError 2016-09-22 14:55:02 -07:00
X11Application.m XQuartz: Hack around an issue that can occur on macOS due to background apps incorrectly stealing focus 2017-07-20 01:17:40 -07:00
X11Controller.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
X11Controller.m XQuartz: Silence -Wformat-security for NSRunAlertPanel 2015-06-09 23:42:03 -07:00
applewm.c XQuartz: Avoid passing uninitialized pointers to X11ApplicationSetWindowMenu in AppleWMSetWindowMenu 2014-01-12 23:12:49 -08:00
applewmExt.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
console_redirect.c XQuartz: console_redirect: Properly zero-out the tail of the array on realloc() 2012-08-16 19:44:00 -07:00
console_redirect.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
darwin.c glx: Use vnd layer for dispatch (v4) 2018-02-14 17:04:44 -05:00
darwin.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
darwinEvents.c XQuartz: Silence an expected TSan warning 2016-09-22 14:55:03 -07:00
darwinEvents.h XQuartz: darwinPointer now sends both absolute and relative motion 2012-04-23 20:20:42 -07:00
darwinXinput.c ddx: add new call to purge input devices that weren't added 2016-10-26 15:35:07 +10:00
darwinfb.h XQuartz: Fix darwinfb.h header guard 2014-01-12 23:12:48 -08:00
keysym2ucs.c Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
keysym2ucs.h Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
quartz.c os: Handle SIGABRT 2017-04-26 16:07:19 -04:00
quartz.h dix: Add hybrid full-size/empty-clip mode to SetRootClip 2016-02-22 13:26:31 -05:00
quartzCocoa.m Remove readmask from screen block/wakeup handler 2016-07-18 15:27:51 -04:00
quartzCommon.h Remove readmask from screen block/wakeup handler 2016-07-18 15:27:51 -04:00
quartzKeyboard.c Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
quartzKeyboard.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
quartzRandR.c XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
quartzRandR.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
quartzStartup.c XQuartz: Don't respond to SIGALRM on the AppKit thread 2016-09-22 14:55:01 -07:00
sanitizedCarbon.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
sanitizedCocoa.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00