diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-11-23 17:10:12 +0800 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-04 14:15:15 -0700 |
commit | 3a4d0811b43295519d771fa192bd3d28bd5312d5 (patch) | |
tree | f4ac920c591eda2463fa30b14f18a9551398dcdc /src/mesa/es/main/specials_es2.c | |
parent | f88297b369e9c2d4521554d8a6c66e288eb3b178 (diff) |
mesa/es: Clean up extension string.
Add some new extensions and remove those that do not belong to
OpenGL ES 2.0.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/mesa/es/main/specials_es2.c')
-rw-r--r-- | src/mesa/es/main/specials_es2.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/es/main/specials_es2.c b/src/mesa/es/main/specials_es2.c index ef8c581618..e11ade9b94 100644 --- a/src/mesa/es/main/specials_es2.c +++ b/src/mesa/es/main/specials_es2.c @@ -86,21 +86,15 @@ make_extension_string(const GLcontext *ctx, char *str) { size_t len = 0; - /* Core additions */ - len += append_extension(&str, "GL_OES_single_precision"); - - /* Required extensions */ len += append_extension(&str, "GL_OES_compressed_paletted_texture"); if (ctx->Extensions.ARB_framebuffer_object) { - len += append_extension(&str, "GL_OES_framebuffer_object"); len += append_extension(&str, "GL_OES_depth24"); len += append_extension(&str, "GL_OES_depth32"); len += append_extension(&str, "GL_OES_fbo_render_mipmap"); len += append_extension(&str, "GL_OES_rgb8_rgba8"); len += append_extension(&str, "GL_OES_stencil1"); len += append_extension(&str, "GL_OES_stencil4"); - len += append_extension(&str, "GL_OES_stencil8"); } if (ctx->Extensions.EXT_vertex_array) @@ -123,6 +117,10 @@ make_extension_string(const GLcontext *ctx, char *str) if (ctx->Extensions.ARB_fragment_shader) len += append_extension(&str, "GL_OES_standard_derivatives"); + if (ctx->Extensions.EXT_texture_compression_s3tc) + len += append_extension(&str, "GL_EXT_texture_compression_dxt1"); + if (ctx->Extensions.EXT_blend_minmax) + len += append_extension(&str, "GL_EXT_blend_minmax"); if (ctx->Extensions.EXT_multi_draw_arrays) len += append_extension(&str, "GL_EXT_multi_draw_arrays"); |