mesa/src/mapi
Marek Olšák 98198a7782 glthread: fix a perf regression due to draw_always_async flag, fix DrawIndirect
Performance regressed by 31% in one VP2020/Creo subtest because
the draw_always_async flag wasn't implemented correctly. Remove it
instead of fixing it.

While removing it, I noticed that our DrawIndirect async conditions
were incorrect. I fixed them.

Fixes: 3b897719e6 - glthread: add ctx->GLThread.draw_always_async to simplify draw checking

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21566>
2023-03-01 23:18:10 +00:00
..
es1api meson: use the same workaround for setting 'lib' on windows 2023-01-19 23:06:07 +00:00
es2api meson: use the same workaround for setting 'lib' on windows 2023-01-19 23:06:07 +00:00
glapi glthread: fix a perf regression due to draw_always_async flag, fix DrawIndirect 2023-03-01 23:18:10 +00:00
new mapi: #include "util/glheader.h" instead of #include "GL/gl.h" 2022-11-03 16:07:31 +00:00
shared-glapi meson: use the same workaround for setting 'lib' on windows 2023-01-19 23:06:07 +00:00
entry.c mapi: #include "util/glheader.h" instead of #include "GL/gl.h" 2022-11-03 16:07:31 +00:00
entry.h
entry_ppc64le_tls.h mapi: Access _glapi_tls_Dispatch directly without need of macro 2022-08-22 21:32:09 +00:00
entry_x86-64_tls.h mapi: Access _glapi_tls_Dispatch directly without need of macro 2022-08-22 21:32:09 +00:00
entry_x86_tls.h mapi: Access _glapi_tls_Dispatch directly without need of macro 2022-08-22 21:32:09 +00:00
mapi_abi.py mapi: #include "util/glheader.h" instead of #include "GL/gl.h" 2022-11-03 16:07:31 +00:00
mapi_glapi.c mapi: Move shared stub into u_current.c 2022-08-22 21:32:09 +00:00
mapi_tmp.h
meson.build meson: fix logic for generating .pc files with old glvnd 2019-09-25 23:25:27 +00:00
stub.c mapi: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in stub.c 2022-10-20 01:32:47 +00:00
stub.h
table.c mapi: Respect MESA_DEBUG=silent for no-op debug output. 2021-04-19 20:53:27 +00:00
table.h mapi: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
u_current.c mapi: Improve comment about _glapi_tls_Dispatch and _glapi_tls_Context 2022-08-22 21:32:09 +00:00
u_current.h mapi: Move shared _glapi_set_context and _glapi_set_dispatch into u_current.c 2022-08-22 21:32:09 +00:00
u_execmem.c mapi: Use util_call_once to init exec_mem and mutex instead _MTX_INITIALIZER_NP 2022-10-20 01:32:47 +00:00
u_execmem.h