Export EGLImage targets and attributes
authorAnand Balagopalakrishnan <anandb@ti.com>
Sat, 30 Aug 2014 12:28:02 +0000 (17:58 +0530)
committerAnand Balagopalakrishnan <anandb@ti.com>
Sat, 30 Aug 2014 12:28:02 +0000 (17:58 +0530)
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
15 files changed:
README
targetfs/include/EGL/eglext.h
targetfs/lib/gbm/gbm_pvr.so.1.9.6.0
targetfs/lib/libEGL.so.1.9.6.0
targetfs/lib/libGLESv1_CM.so.1.9.6.0
targetfs/lib/libGLESv2.so.1.9.6.0
targetfs/lib/libIMGegl.so.1.9.6.0
targetfs/lib/libglslcompiler.so.1.9.6.0
targetfs/lib/libpvr2d.so.1.9.6.0
targetfs/lib/libpvr_wlegl.so.1.9.6.0
targetfs/lib/libpvrws_KMS.so.1.9.6.0
targetfs/lib/libpvrws_OMAPDRI2.so.1.9.6.0
targetfs/lib/libpvrws_WAYLAND.so.1.9.6.0
targetfs/lib/libsrv_um.so.1.9.6.0
targetfs/lib/libusc.so.1.9.6.0

diff --git a/README b/README
index d574fba2b68fea29979caff9c1b69b53c8efe9e5..22e069cc78ea322160893526ff512f3b0937f9c9 100644 (file)
--- a/README
+++ b/README
@@ -46,7 +46,8 @@ Limitations
 -----------
 1. Supports only DRM/KMS and Wayland. No support for Null Window System
 2. Killing Wayland simple-egl example leads to a SGX HW recovery
-3. Mmap error observed with Weston with cursor surfaces
+3. Killing Weston when OpenGL application is running leads to kernel crash
+4. Tearing artifacts observed with high render load
 
 ----------------
 Package Contents
index e97b58b5cc23cab5c3adb429a1951b9ae4b6bf9c..2c4686faad9dc1897acc51351c442a62aa52e4cf 100644 (file)
@@ -264,15 +264,33 @@ EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface sur
 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
 #endif
 
+/* fourcc formats supported by TI EGLImage extension */
+#ifndef FOURCC
+#define FOURCC(a, b, c, d) ((uint32_t)(uint8_t)(a) | ((uint32_t)(uint8_t)(b) << 8) | ((uint32_t)(uint8_t)(c) << 16) | ((uint32_t)(uint8_t)(d) << 24 ))
+
+#define FOURCC_TI_YUYV         FOURCC('Y', 'U', 'Y', 'V')
+#define FOURCC_TI_NV12         FOURCC('N', 'V', '1', '2')
+#define FOURCC_TI_YV12         FOURCC('Y', 'V', '1', '2')
+#define FOURCC_TI_I420         FOURCC('I', '4', '2', '0')
+#endif
+
 #ifndef EGL_TI_raw_video
-#  define EGL_TI_raw_video 1
-#  define EGL_RAW_VIDEO_TI                             0x333A  /* eglCreateImageKHR target */
-#  define EGL_GL_VIDEO_FOURCC_TI                       0x3331  /* eglCreateImageKHR attribute */
-#  define EGL_GL_VIDEO_WIDTH_TI                                0x3332  /* eglCreateImageKHR attribute */
-#  define EGL_GL_VIDEO_HEIGHT_TI                       0x3333  /* eglCreateImageKHR attribute */
-#  define EGL_GL_VIDEO_BYTE_STRIDE_TI                  0x3334  /* eglCreateImageKHR attribute */
-#  define EGL_GL_VIDEO_BYTE_SIZE_TI                    0x3335  /* eglCreateImageKHR attribute */
-#  define EGL_GL_VIDEO_YUV_FLAGS_TI                    0x3336  /* eglCreateImageKHR attribute */
+#define EGL_TI_raw_video 1
+#define EGL_RAW_VIDEO_TI                       0x333A  /* eglCreateImageKHR target */
+#define EGL_RAW_VIDEO_TI_DMABUF                        0x333B  /* eglCreateImageKHR target */
+#define EGL_GL_VIDEO_FOURCC_TI                 0x3331  /* eglCreateImageKHR attribute */
+#define EGL_GL_VIDEO_WIDTH_TI                  0x3332  /* eglCreateImageKHR attribute */
+#define EGL_GL_VIDEO_HEIGHT_TI                 0x3333  /* eglCreateImageKHR attribute */
+#define EGL_GL_VIDEO_BYTE_STRIDE_TI            0x3334  /* eglCreateImageKHR attribute */
+#define EGL_GL_VIDEO_BYTE_SIZE_TI              0x3335  /* eglCreateImageKHR attribute */
+#define EGL_GL_VIDEO_YUV_FLAGS_TI              0x3336  /* eglCreateImageKHR attribute */
+#endif
+
+#ifndef EGLIMAGE_FLAGS_YUV_CONFORMANT_RANGE
+#define EGLIMAGE_FLAGS_YUV_CONFORMANT_RANGE (0 << 0)
+#define EGLIMAGE_FLAGS_YUV_FULL_RANGE       (1 << 0)
+#define EGLIMAGE_FLAGS_YUV_BT601            (0 << 1)
+#define EGLIMAGE_FLAGS_YUV_BT709            (1 << 1)
 #endif
 
 #ifdef __cplusplus
index e1b6f111e1468873b4df1b8871c7968ffdbae7cd..4b53fb5165356bb4bf84fa0591e5d106cbbeade5 100644 (file)
Binary files a/targetfs/lib/gbm/gbm_pvr.so.1.9.6.0 and b/targetfs/lib/gbm/gbm_pvr.so.1.9.6.0 differ
index 41c1a2e6a4a1a420ae16cd3514c1c9668dd2195c..24b565c874191a02e9fd8944ff30db81ac853934 100644 (file)
Binary files a/targetfs/lib/libEGL.so.1.9.6.0 and b/targetfs/lib/libEGL.so.1.9.6.0 differ
index 2a0b71608dfaa69b2495d18995bf2db02e5fa582..d218d1b1a5b964dcdbb48ff28bf273b07a6facbb 100644 (file)
Binary files a/targetfs/lib/libGLESv1_CM.so.1.9.6.0 and b/targetfs/lib/libGLESv1_CM.so.1.9.6.0 differ
index 23d77898689439553b835f71690b038bcd69d056..3d0d53c0f2ece1abd15deb46b2b769056cdfa596 100644 (file)
Binary files a/targetfs/lib/libGLESv2.so.1.9.6.0 and b/targetfs/lib/libGLESv2.so.1.9.6.0 differ
index 389536b54b0d37e92ca27a66fe6ba264a5866122..b777b972faafb4e7fa482c7e9024c41bf087fc14 100644 (file)
Binary files a/targetfs/lib/libIMGegl.so.1.9.6.0 and b/targetfs/lib/libIMGegl.so.1.9.6.0 differ
index 5b700fe3fb7e3537df9f12c8e9c8da74ceef62ae..a9acc4c3ccf95a08a3c74e11bb8dba72c0a16bab 100644 (file)
Binary files a/targetfs/lib/libglslcompiler.so.1.9.6.0 and b/targetfs/lib/libglslcompiler.so.1.9.6.0 differ
index 14ea02aafa6519f2e1302f2e280ee0e1b87bae9a..de8d586f6a17aa80497e553c0871034f1e9834d6 100644 (file)
Binary files a/targetfs/lib/libpvr2d.so.1.9.6.0 and b/targetfs/lib/libpvr2d.so.1.9.6.0 differ
index 6761cde263b1ed48e0901c4ff0859fcb25964e50..5b4ef0c7742a5727fa2b2ce3f9e28ae7722e4241 100644 (file)
Binary files a/targetfs/lib/libpvr_wlegl.so.1.9.6.0 and b/targetfs/lib/libpvr_wlegl.so.1.9.6.0 differ
index e81ae4a0fd43bf56f91a1ea979acd5942f872d32..315463aaae3ff992e2d274d2a3bb25daa028fea2 100644 (file)
Binary files a/targetfs/lib/libpvrws_KMS.so.1.9.6.0 and b/targetfs/lib/libpvrws_KMS.so.1.9.6.0 differ
index b2567518fe11225116f18d10a4cd0bbb211123e2..ee237817c49d31046725e4d94dbae5f3976f6924 100644 (file)
Binary files a/targetfs/lib/libpvrws_OMAPDRI2.so.1.9.6.0 and b/targetfs/lib/libpvrws_OMAPDRI2.so.1.9.6.0 differ
index 2cf6207e341d8c1c5d9242bcc6115f3e5456e657..5dc5d9d1997e4f879a4f249542154281e6c0bb01 100644 (file)
Binary files a/targetfs/lib/libpvrws_WAYLAND.so.1.9.6.0 and b/targetfs/lib/libpvrws_WAYLAND.so.1.9.6.0 differ
index d47105122762a08e7510e2273573af0e7303460e..e95b64485aa21c68ed3c8120f9cca3ab2a84c926 100644 (file)
Binary files a/targetfs/lib/libsrv_um.so.1.9.6.0 and b/targetfs/lib/libsrv_um.so.1.9.6.0 differ
index 3ff1c3467da14e513b14ab12634d82fcd068039e..7095cb06331b8e194e5c057ebb6f528bf6cd9e7b 100644 (file)
Binary files a/targetfs/lib/libusc.so.1.9.6.0 and b/targetfs/lib/libusc.so.1.9.6.0 differ