hwc: gpu_tonemapper: Create Secure EGL Context
- HWC tonemapper passes secure flag to GPU tonemapper to create object
with secure EGL context.
- Tonemapper object gets created with secure EGL context for the tone
mapping of secure HDR layer.
CRs-Fixed: 2048764
Change-Id: I7129505283527dbab17f1e9731d8f141b48bb310
diff --git a/gpu_tonemapper/glengine.h b/gpu_tonemapper/glengine.h
index c5b166c..f6aeec8 100644
--- a/gpu_tonemapper/glengine.h
+++ b/gpu_tonemapper/glengine.h
@@ -39,7 +39,9 @@
checkEglError(__FILE__, __LINE__);
#endif
+#define EGL_PROTECTED_CONTENT_EXT 0x32C0
+
void checkGlError(const char *file, int line);
void checkEglError(const char *file, int line);
-#endif //__TONEMAPPER_GLENGINE_H__
\ No newline at end of file
+#endif //__TONEMAPPER_GLENGINE_H__