glthread: add marshal_call_after and remove custom glFlush and glEnable code
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Feb 2020 23:15:42 +0000 (18:15 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:06:14 +0000 (01:06 +0000)
commitd510e652d46f471a93eae5a07f7e7508633d1040
tree2010df30b5c53d7a9cdeab1321bb290bc0413038
parent4970199d11907833858bbb2700ba313ae12f3a95
glthread: add marshal_call_after and remove custom glFlush and glEnable code

Instead of implementing marshalling manually, this XML property allows us
to insert additional code into code-generated functions.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
src/mapi/glapi/gen/gl_API.dtd
src/mapi/glapi/gen/gl_API.xml
src/mapi/glapi/gen/gl_marshal.py
src/mapi/glapi/gen/marshal_XML.py
src/mesa/main/marshal.c
src/mesa/main/marshal.h