angle/include
Mohan Maiya aa2a558ec2 Vulkan: Add support for setting timestamp surface attribute
On Android the EGL wrapper handles most of the functionality required
by EGL_ANDROID_get_frame_timestamps. However if for some reason the
swapchain is recreated, the timestamp state would be lost resulting in
stuttering.

Introduce EGL_ANGLE_timestamp_surface_attribute extension that adds
support for toggling the EGL_TIMESTAMPS_ANDROID attribute of a surface.
Cache this state and recreate the swapchain accordingly.

Bug: angleproject:7489
Test: EGLSurfaceTest.TimestampSurfaceAttribute*
Test: dEQP-EGL.functional.get_frame_timestamps*
Change-Id: I3660f7137c006d904164d243a682a4ff520eabd8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3753396
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: mohan maiya <m.maiya@samsung.com>
2022-08-24 00:03:00 +00:00
..
CL Fix and disable MSVC warnings 2021-10-07 06:08:03 +00:00
EGL Add ForceGPUSwitch to EGL_ANGLE_power_preference 2022-03-19 01:15:06 +00:00
GLES Remove glext_angle.h, merge contents into gl2ext_angle.h 2021-10-20 12:45:54 +00:00
GLES2 Add extension: ANGLE_rgbx_internal_format 2021-11-30 01:41:05 +00:00
GLES3 Remove the explicit context extension. 2021-07-16 20:04:00 +00:00
GLSLANG Require all PLS formats to consume exactly 4 bytes of storage 2022-08-11 18:05:32 +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: Add support for setting timestamp surface attribute 2022-08-24 00:03:00 +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 Capture/Replay: Pass gl::State to capture functions. 2019-11-07 13:39:59 +00:00
angle_windowsstore.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
export.h Stubs for OpenCL entry points. 2021-02-24 15:38:53 +00:00