mesa/src/mapi/glapi
Marek Olšák 33ad9e77c5 glthread: add display list support to fix state tracking with display lists
The existing display list code is reused to call display lists from the app
thread. The util_queue_fence_wait call waits for the last call that modifies
display lists (such as glEndList and glDeleteLists), which ensures that
accessing display lists from a non-mesa thread is thread safe because
the wait guarantees that display lists are immutable during the asynchronous
display list execution.

Display lists are executed just like normal display lists except that they
call glthread functions instead of the default GL dispatch. Many calls in
display lists are skipped because glthread only tracks a few states.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8297>
2021-01-21 00:12:35 +00:00
..
gen glthread: add display list support to fix state tracking with display lists 2021-01-21 00:12:35 +00:00
registry mapi: add GetInteger64vEXT with EXT_disjoint_timer_query 2019-11-26 07:41:24 +02:00
tests mapi/test: Change type to unsigned for offset 2020-08-05 18:08:06 +00:00
glapi.c mesa: Rename GLX_USE_TLS to USE_ELF_TLS. 2019-08-03 20:18:17 +02:00
glapi.h GL: drop symbols mangling support 2019-10-10 21:40:48 +01:00
glapi_dispatch.c GL: drop symbols mangling support 2019-10-10 21:40:48 +01:00
glapi_entrypoint.c glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
glapi_getproc.c GL: drop symbols mangling support 2019-10-10 21:40:48 +01:00
glapi_nop.c glapi: include generated headers without path 2017-10-27 11:06:07 -07:00
glapi_priv.h mesa: Rename GLX_USE_TLS to USE_ELF_TLS. 2019-08-03 20:18:17 +02:00
meson.build meson: Add windows defines to glapi 2019-10-10 16:33:04 -07:00
SConscript scons: Make scons and meson agree about path to glapi generated headers 2019-09-16 17:54:00 +00:00