summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_GL.h
diff options
context:
space:
mode:
authorDongyeon Kim <dy5.kim@samsung.com>2014-06-10 19:20:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-06-10 19:20:17 +0900
commitacc95afbd82f78ff785e538cc2c891bee281654c (patch)
tree38da5f3b558cf52d5b9d271fee13e2d45b63385f /src/lib/evas/Evas_GL.h
parenta03952ca0f53341cee8ac8936e596c2e64d8a266 (diff)
evas gl: distinguish between IMG and EXT MSAA extensions
Summary: For drivers that support IMG_multisampled_render_to_texture, GL_MAX_SAMPLES_IMG should be used to query max supported samples Likewise, for drivers that support EXT_multisampled_render_to_texture, GL_MAX_SAMPLES_EXT should be used to query max supported samples @fix Reviewers: seoz, Hermet, raster, cedric Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D948
Diffstat (limited to 'src/lib/evas/Evas_GL.h')
-rw-r--r--src/lib/evas/Evas_GL.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index 91ba179ef6..6249d54084 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -1194,6 +1194,12 @@ typedef signed long int GLsizeiptr; // Changed khronos_ssize_t
1194/* GL_EXT_texture_type_2_10_10_10_REV */ 1194/* GL_EXT_texture_type_2_10_10_10_REV */
1195#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 1195#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
1196 1196
1197/* GL_EXT_multisampled_render_to_texture */
1198#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1199#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1200#define GL_MAX_SAMPLES_EXT 0x8D57
1201#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1202
1197/*------------------------------------------------------------------------* 1203/*------------------------------------------------------------------------*
1198 * IMG extension tokens 1204 * IMG extension tokens
1199 *------------------------------------------------------------------------*/ 1205 *------------------------------------------------------------------------*/