mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 11:20:18 +01:00
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> |
||
|---|---|---|
| .. | ||
| gen | ||
| registry | ||
| tests | ||
| glapi.c | ||
| glapi.h | ||
| glapi_dispatch.c | ||
| glapi_entrypoint.c | ||
| glapi_getproc.c | ||
| glapi_nop.c | ||
| glapi_priv.h | ||
| meson.build | ||
| SConscript | ||