Remove glEGLImageTargetTexture2DOES from fastpath
authorDongyeon Kim <dy5.kim@samsung.com>
Mon, 9 Jun 2014 12:24:35 +0000 (21:24 +0900)
committerDongyeon Kim <dy5.kim@samsung.com>
Mon, 9 Jun 2014 12:26:14 +0000 (21:26 +0900)
src/modules/fastpath/coregl_fastpath.c
src/modules/fastpath/coregl_fastpath_gl.c

index 7910ab61f6ed74c15c6accabe0630730bfab4a7e..ebe489621086da4e2e3bed914b5fd3238496fb8d 100644 (file)
@@ -424,7 +424,6 @@ fastpath_apply_overrides_gl(int enable)
                COREGL_OVERRIDE(fastpath_, glProgramParameteriEXT);
 
                COREGL_OVERRIDE(fastpath_, glFramebufferTexture2DMultisampleEXT);
-               COREGL_OVERRIDE(fastpath_, glEGLImageTargetTexture2DOES);
                COREGL_OVERRIDE(fastpath_, glFramebufferTexture3DOES);
 
                /* Start overriding GLES 3.0 */
index ca2ac85b3db602283ee5dd41db80f44a43ffae7b..15468ed61151440ebeeafebefd7092ed72d7a218 100644 (file)
@@ -4000,41 +4000,6 @@ finish:
        _COREGL_FASTPATH_FUNC_END();
 }
 
-void
-fastpath_glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image)
-{
-       int tex_idx;
-
-       DEFINE_FASTPAH_GL_FUNC();
-       _COREGL_FASTPATH_FUNC_BEGIN();
-       INIT_FASTPATH_GL_FUNC();
-
-       tex_idx = current_ctx->gl_active_texture[0] - GL_TEXTURE0;
-
-       switch (target)
-       {
-               case GL_TEXTURE_2D:
-                       current_ctx->gl_tex_2d_state[tex_idx] = -1;
-                       break;
-               case GL_TEXTURE_CUBE_MAP:
-                       current_ctx->gl_tex_cube_state[tex_idx] = -1;
-                       break;
-               case GL_TEXTURE_EXTERNAL_OES:
-                       current_ctx->gl_tex_external_oes_state[tex_idx] = -1;
-                       break;
-               default:
-                       _set_gl_error(GL_INVALID_ENUM);
-                       goto finish;
-       }
-
-       _orig_fastpath_glEGLImageTargetTexture2DOES(target, image);
-
-       goto finish;
-
-finish:
-       _COREGL_FASTPATH_FUNC_END();
-}
-
 #define TRANS_VALUE(index, value) \
 { \
        switch (get_type) \