mesa/src/mapi
Gregory Hainaut 93bdad3253 mesa/glthread: restore the dispatch table when incompatible gl calls are detected
While a context only has a single glthread, the context itself can be
attached to several threads. Therefore the dispatch table must be
updated in all threads before the destruction of glthread. In others
words, glthread can only be destroyed safely when the context is deleted.

Fixes remaining crashes in the glx-multithread-makecurrent* tests.

V2: (Timothy Arceri) updated gl_API.dtd marshal_fail description.

Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Acked-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
2017-03-16 14:14:19 +11:00
..
es1api mapi: do not mandate bash for es*api/ABI-check 2017-03-10 14:12:47 +00:00
es2api mapi: do not mandate bash for es*api/ABI-check 2017-03-10 14:12:47 +00:00
glapi mesa/glthread: restore the dispatch table when incompatible gl calls are detected 2017-03-16 14:14:19 +11:00
shared-glapi scons: Take indirect gl_and_es_API.xml dependencies in consideration. 2016-08-27 22:59:06 +01:00
.gitignore mapi: add glapi-test and shared-glapi-test to .gitignore 2014-12-16 13:51:09 +02:00
Android.mk android: fix the building rules for Android 5.0 2015-04-22 15:53:35 +01:00
entry.c mapi: remove u_macros.h 2015-03-05 06:59:43 -07:00
entry.h mapi: remove u_compiler.h 2015-03-04 08:33:48 -07:00
entry_x86-64_tls.h mapi: update the asm code to support x32 2017-01-13 00:59:32 +01:00
entry_x86_tls.h mapi: fix typo in macro name 2016-07-22 10:14:00 -07:00
entry_x86_tsd.h mapi: fix typo in macro name 2016-07-22 10:14:00 -07:00
Makefile.am mapi: automake: include builddir prior to srcdir 2017-01-27 17:56:56 +00:00
Makefile.sources mapi: remove unused mapi.[ch] 2017-02-24 17:37:02 +00:00
mapi_abi.py nir: remove shebang from python scripts 2017-03-10 14:12:47 +00:00
mapi_glapi.c mapi: Make _glapi_get_stub work with "gl" or "mgl" prefix. 2015-10-02 13:23:18 +01:00
mapi_tmp.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
stub.c mapi: Make private copies of name strings provided by client. 2015-03-23 22:17:03 +00:00
stub.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.c mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler() 2015-03-18 09:01:50 -06:00
table.h mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler() 2015-03-18 09:01:50 -06:00
u_current.c mapi: remove u_thread.h 2015-03-05 06:59:43 -07:00
u_current.h mapi: remove u_compiler.h 2015-03-04 08:33:48 -07:00
u_execmem.c mapi: remove u_thread.h 2015-03-05 06:59:43 -07:00
u_execmem.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00