[evas_gl_thread] change mode of glBindBuffer to finish 29/113929/2
authorJoogab Yun <joogab.yun@samsung.com>
Thu, 9 Feb 2017 09:32:20 +0000 (18:32 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Thu, 9 Feb 2017 09:43:47 +0000 (01:43 -0800)
Change-Id: I655e6f82238d069fc053d737ab01b4c0a396f2f4

src/modules/evas/engines/gl_common/evas_gl_thread_evgl_api_generated.c
src/modules/evas/engines/gl_common/evas_gl_thread_evgl_generated.c
src/modules/evas/engines/gl_common/evas_gl_thread_gl_generated.c
src/utils/evas/gl_api_def.txt [changed mode: 0755->0644]

index 6aa3dba..ef4f20f 100644 (file)
@@ -210,22 +210,6 @@ glBindBuffer_evgl_api_thread_cmd(GLenum target, GLuint buffer)
    EVGL_API_Thread_Command_glBindBuffer thread_data_local;
    EVGL_API_Thread_Command_glBindBuffer *thread_data = &thread_data_local;
 
-   /* command_allocated flag init. */
-   thread_data->command_allocated = 0;
-
-   if (!evas_gl_thread_force_finish())
-     { /* _flush */
-        EVGL_API_Thread_Command_glBindBuffer *thread_data_new;
-        thread_data_new = eina_mempool_malloc(_mp_command,
-                                              sizeof(EVGL_API_Thread_Command_glBindBuffer));
-        if (thread_data_new)
-          {
-             thread_data = thread_data_new;
-             thread_data->command_allocated = 1;
-             thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
-          }
-     }
-
    thread_data->target = target;
    thread_data->buffer = buffer;
 
index 16b267f..75b487a 100644 (file)
@@ -518,22 +518,6 @@ glBindBuffer_evgl_thread_cmd(GLenum target, GLuint buffer)
    EVGL_Thread_Command_glBindBuffer thread_data_local;
    EVGL_Thread_Command_glBindBuffer *thread_data = &thread_data_local;
 
-   /* command_allocated flag init. */
-   thread_data->command_allocated = 0;
-
-   if (!evas_gl_thread_force_finish())
-     { /* _flush */
-        EVGL_Thread_Command_glBindBuffer *thread_data_new;
-        thread_data_new = eina_mempool_malloc(_mp_command,
-                                              sizeof(EVGL_Thread_Command_glBindBuffer));
-        if (thread_data_new)
-          {
-             thread_data = thread_data_new;
-             thread_data->command_allocated = 1;
-             thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
-          }
-     }
-
    thread_data->target = target;
    thread_data->buffer = buffer;
 
index 6e3b03e..9f9f25b 100644 (file)
@@ -518,22 +518,6 @@ glBindBuffer_thread_cmd(GLenum target, GLuint buffer)
    Evas_Thread_Command_glBindBuffer thread_data_local;
    Evas_Thread_Command_glBindBuffer *thread_data = &thread_data_local;
 
-   /* command_allocated flag init. */
-   thread_data->command_allocated = 0;
-
-   if (!evas_gl_thread_force_finish())
-     { /* _flush */
-        Evas_Thread_Command_glBindBuffer *thread_data_new;
-        thread_data_new = eina_mempool_malloc(_mp_command,
-                                              sizeof(Evas_Thread_Command_glBindBuffer));
-        if (thread_data_new)
-          {
-             thread_data = thread_data_new;
-             thread_data->command_allocated = 1;
-             thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
-          }
-     }
-
    thread_data->target = target;
    thread_data->buffer = buffer;
 
old mode 100755 (executable)
new mode 100644 (file)
index b281d3b..87be9ca
@@ -32,7 +32,7 @@
 # Buffer Objects
 | EVAS | void | glGenBuffers | GLsizei n,GLuint *buffers | finish | noext | | |
 | EVAS | void | glDeleteBuffers | GLsizei n,const GLuint *buffers | flush | noext | _mp_delete_object, n * sizeof(GLuint), buffers | |
-| EVAS | void | glBindBuffer | GLenum target,GLuint buffer | flush | noext | | |
+| EVAS | void | glBindBuffer | GLenum target,GLuint buffer | finish | noext | | |
 | EVAS | void | glBufferData | GLenum target,GLsizeiptr size,const void *data,GLenum usage | finish | noext | | |
 | EVAS | void * | glMapBuffer | GLenum target,GLenum access | finish | ext | | |
 | EVAS | GLboolean | glUnmapBuffer | GLenum target | finish | ext | | |
 # Buffer Objects
 | EVAS GL | void | glGenBuffers | GLsizei n,GLuint *buffers | finish | noext | | |
 | EVAS GL | void | glDeleteBuffers | GLsizei n,const GLuint *buffers | flush | noext | _mp_delete_object, n * sizeof(GLuint), buffers | |
-| EVAS GL | void | glBindBuffer | GLenum target,GLuint buffer | flush | noext | | |
+| EVAS GL | void | glBindBuffer | GLenum target,GLuint buffer | finish | noext | | |
 | EVAS GL | void | glBufferData | GLenum target,GLsizeiptr size,const void *data,GLenum usage | finish | noext | | |
 
 # Vertex Shaders
 | EVAS GL API | void | glActiveTexture | GLenum texture | finish | noext | | |
 | EVAS GL API | void | glAttachShader | GLuint program, GLuint shader | flush | noext | | |
 | EVAS GL API | void | glBindAttribLocation | GLuint program, GLuint index, const char* name | finish | noext | _mp_default, strlen(name), name | |
-| EVAS GL API | void | glBindBuffer | GLenum target, GLuint buffer | flush | noext | | |
+| EVAS GL API | void | glBindBuffer | GLenum target, GLuint buffer | finish | noext | | |
 | EVAS GL API | void | glBindFramebuffer | GLenum target, GLuint framebuffer | flush | noext | | |
 | EVAS GL API | void | glBindRenderbuffer | GLenum target, GLuint renderbuffer | flush | noext | | |
 | EVAS GL API | void | glBindTexture | GLenum target, GLuint texture | flush | noext | | |