summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_GL.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-04-25 14:51:42 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-04-25 16:50:29 +0900
commit86ce491a862296c92bbf377cc11faf93d7a7efe7 (patch)
tree871d80d3cacfee97a29797bfa1845c653f716f7c /src/lib/evas/Evas_GL.h
parentef3a36626f1011d8890d1ba9e618329e03088307 (diff)
Evas gl_x11: Add ETC2 support to the GL/X11 engine
This should allow texture upload with ETC2 RGB8 or RGBA8 formats. Untested for now... @feature
Diffstat (limited to 'src/lib/evas/Evas_GL.h')
-rw-r--r--src/lib/evas/Evas_GL.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index 75bdc8c32e..8f148d9ad6 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -1056,6 +1056,11 @@ typedef signed long int GLsizeiptr; // Changed khronos_ssize_t
1056/* GL_OES_compressed_ETC1_RGB8_texture */ 1056/* GL_OES_compressed_ETC1_RGB8_texture */
1057#define GL_ETC1_RGB8_OES 0x8D64 1057#define GL_ETC1_RGB8_OES 0x8D64
1058 1058
1059/* The following are OpenGL ES 3.0 definitions for ETC2
1060 * Note that RGB8_ETC2 is a superset of GL_OES_compressed_ETC1_RGB8_texture */
1061#define GL_COMPRESSED_RGB8_ETC2 0x8D64
1062#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x8D64
1063
1059/* GL_OES_compressed_paletted_texture */ 1064/* GL_OES_compressed_paletted_texture */
1060#define GL_PALETTE4_RGB8_OES 0x8B90 1065#define GL_PALETTE4_RGB8_OES 0x8B90
1061#define GL_PALETTE4_RGBA8_OES 0x8B91 1066#define GL_PALETTE4_RGBA8_OES 0x8B91