YaGL: Don't report GL_EXT_texture_storage support 43/22343/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/common/20140610.160436 accepted/tizen/ivi/20140624.123215 submit/tizen_common/20140602.082932 submit/tizen_ivi/20140602.082939 submit/tizen_ivi/20140623.104834 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 2 Jun 2014 06:16:54 +0000 (10:16 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 2 Jun 2014 06:28:43 +0000 (10:28 +0400)
We do support glTexStorageXXX in GLESv3, however,
GL_EXT_texture_storage is different. GL_EXT_texture_storage
requires supporting a lot of additional internal formats,
which is hard to do for all possible host OpenGL
versions, especially for OpenGL 2.1. Thus, we don't report
GL_EXT_texture_storage support anymore

Change-Id: I53bc097c453afac93c42f72b018e04a4e5a7438c
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
GLESv1_CM/yagl_gles1_context.c
GLESv2/yagl_gles2_context.c

index 2658ba98e8b632d99c43739de016fc951593b239..56ada3b9cfdf90680be50b454fd2ed665fe98481 100644 (file)
@@ -54,7 +54,6 @@ static const GLchar *framebuffer_blit_ext = "GL_ANGLE_framebuffer_blit";
 static const GLchar *draw_buffers_ext = "GL_EXT_draw_buffers";
 static const GLchar *mapbuffer_ext = "GL_OES_mapbuffer";
 static const GLchar *map_buffer_range_ext = "GL_EXT_map_buffer_range";
-static const GLchar *texture_storage_ext = "GL_EXT_texture_storage";
 static const GLchar *pbo_ext = "GL_NV_pixel_buffer_object";
 static const GLchar *read_buffer_ext = "GL_NV_read_buffer";
 static const GLchar *compressed_etc1_rgb8_texture_ext = "GL_OES_compressed_ETC1_RGB8_texture";
@@ -100,7 +99,6 @@ static const GLchar **yagl_gles1_context_get_extensions(struct yagl_gles1_contex
     extensions[i++] = draw_buffers_ext;
     extensions[i++] = mapbuffer_ext;
     extensions[i++] = map_buffer_range_ext;
-    extensions[i++] = texture_storage_ext;
     extensions[i++] = pbo_ext;
     extensions[i++] = read_buffer_ext;
     extensions[i++] = compressed_etc1_rgb8_texture_ext;
index 3a469ccd0318d963126a72dc600adca59f9af659..3824c364dc86567cd655e6f701cd524f0e8f9969 100644 (file)
@@ -47,7 +47,6 @@ static const GLchar *map_buffer_range_ext = "GL_EXT_map_buffer_range";
 static const GLchar *element_index_uint_ext = "GL_OES_element_index_uint";
 static const GLchar *texture_3d_ext = "GL_OES_texture_3D";
 static const GLchar *blend_minmax_ext = "GL_EXT_blend_minmax";
-static const GLchar *texture_storage_ext = "GL_EXT_texture_storage";
 static const GLchar *pbo_ext = "GL_NV_pixel_buffer_object";
 static const GLchar *read_buffer_ext = "GL_NV_read_buffer";
 static const GLchar *compressed_etc1_rgb8_texture_ext = "GL_OES_compressed_ETC1_RGB8_texture";
@@ -324,7 +323,6 @@ const GLchar **yagl_gles2_context_get_extensions(struct yagl_gles2_context *ctx,
     extensions[i++] = element_index_uint_ext;
     extensions[i++] = texture_3d_ext;
     extensions[i++] = blend_minmax_ext;
-    extensions[i++] = texture_storage_ext;
     extensions[i++] = pbo_ext;
     extensions[i++] = read_buffer_ext;
     extensions[i++] = compressed_etc1_rgb8_texture_ext;