Define target for new EGL_IMAGE_BRCM_VCSM EGL extension
authorTim Gover <timgover@gmail.com>
Thu, 21 Apr 2016 21:00:14 +0000 (22:00 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 30 Nov 2016 14:20:14 +0000 (14:20 +0000)
Define the target for EGL images stored in VideoCore shared memory.

interface/khronos/include/EGL/eglext_brcm.h

index eb5119f2a55914434070128e1062540c8c948a4a..e1570ee6c72c58bec869beb0e3febcd850e135d5 100644 (file)
@@ -45,6 +45,14 @@ extern "C" {
 #define EGL_IMAGE_BRCM_MULTIMEDIA_U      0x99930C1
 #define EGL_IMAGE_BRCM_MULTIMEDIA_V      0x99930C2
 
+/* EGL image buffer allocated in shared memory */
+#define EGL_IMAGE_BRCM_VCSM              0x99930C3
+struct egl_image_brcm_vcsm_info {
+   unsigned width;
+   unsigned height;
+   unsigned int vcsm_handle;
+};
+
 #ifndef EGL_BRCM_sane_choose_config
 #define EGL_BRCM_sane_choose_config 1
 #endif