Add plumbing for Surface::getHdrSupport
Add plumbing for future Vulkan and EGL extensions
VK_EXT_swapchain_colorspace
EGL_EXT_colorspace_scrgb_linear
EGL_KHR_gl_colorspace
Test: TBD
Change-Id: Id1f28cfb36828adbdc6dd3694b5943eca038c356
diff --git a/include/gui/Surface.h b/include/gui/Surface.h
index 87c6e1a..cfc68c6 100644
--- a/include/gui/Surface.h
+++ b/include/gui/Surface.h
@@ -156,6 +156,7 @@
nsecs_t* outDequeueReadyTime, nsecs_t* outReleaseTime);
status_t getWideColorSupport(bool* supported);
+ status_t getHdrSupport(bool* supported);
status_t getUniqueId(uint64_t* outId) const;
@@ -218,6 +219,7 @@
int dispatchGetCompositorTiming(va_list args);
int dispatchGetFrameTimestamps(va_list args);
int dispatchGetWideColorSupport(va_list args);
+ int dispatchGetHdrSupport(va_list args);
protected:
virtual int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd);