mesa: add glInternalSetError for glthread

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 21 November 2020 21:02 UTC

glthread wants to set GL errors, but has to do it by adding the SetError call into the queue for it to be thread-safe.

ac4dc6e139b mesa: add glInternalSetError for glthread
src/mapi/glapi/gen/gl_API.xml | 5 +++++
src/mapi/glapi/gen/static_data.py | 1 +
src/mesa/main/errors.c | 10 ++++++++++
src/mesa/main/errors.h | 2 ++
src/mesa/main/tests/dispatch_sanity.cpp | 2 ++
5 files changed, 20 insertions(+)

Upstream: cgit.freedesktop.org


  • Share