angle/include
Charlie Lao 76f377c5ac Vulkan: Break renderpass when switch from query to non-query
getQueryResult will wait for query result to be available, which means a
potential CPU bubble if the result is not yet available. On tiler GPUs
it will at least wait for renderpass to complete. Usually query enabled
draws are very tiny (usually just draw a point to see if it is occluded
or not), and query disabled draws are expensive. Some apps do issue a
glFlush when switch from query draw to non-query draw, but app like
dead_by_daylight does not issue such flush.  In order to reduce the
bubble, this CL ends renderpass and issue a flush  when we switch from
query enabled draws to non-query enabled draw so that the result will be
available much earlier, this reduce the CPU bubble. This result in
dead_by_daylight frame time improves from 5.45ms to 3.5ms (35%
improvement).

Bug: b/250706693
Change-Id: Ia3a32a9fb336e6f256809b3cad83f61a45415fb1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3931739
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Auto-Submit: Charlie Lao <cclao@google.com>
Commit-Queue: Charlie Lao <cclao@google.com>
2022-10-11 21:55:15 +00:00
..
CL Fix and disable MSVC warnings 2021-10-07 06:08:03 +00:00
EGL EGL: Update EGL headers 2022-09-28 19:26:17 +00:00
GLES Remove glext_angle.h, merge contents into gl2ext_angle.h 2021-10-20 12:45:54 +00:00
GLES2 Introduce GL_ANGLE_logic_op 2022-09-20 04:02:18 +00:00
GLES3 Remove the explicit context extension. 2021-07-16 20:04:00 +00:00
GLSLANG Implement PLS on Apple Silicon 2022-10-06 16:35:15 +00:00
GLX Add unimplemented GLX entry points to desktop GL 2022-08-24 21:26:01 +00:00
KHR Fixed OpenCL headers for Windows 2021-04-07 12:30:01 +00:00
WGL Fixed OpenCL headers for Windows 2021-04-07 12:30:01 +00:00
platform Vulkan: Break renderpass when switch from query to non-query 2022-10-11 21:55:15 +00:00
vulkan [Fuchsia] Cleanup vulkan_fuchsia_ext.h 2021-06-10 14:42:51 +00:00
angle_cl.h CL: Refactor info structs and fix conformance bug 2021-06-17 17:13:07 +00:00
angle_gl.h
angle_windowsstore.h
export.h