jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a536f068dd0e6f24e6f878e25dda62f459129178

commit a536f068dd0e6f24e6f878e25dda62f459129178
Author: Minkyoung Kim <mer....@samsung.com>
Date:   Tue Mar 29 11:04:12 2016 +0900

    evas/wayland_egl: Remove redundant function call.
    
    Summary: ob is already declared. need not to call again.
    
    Test Plan: Tizen3.0 Mobile
    
    Reviewers: jpeg, wonsik
    
    Subscribers: dkdk, cedric
    
    Differential Revision: https://phab.enlightenment.org/D3837
---
 src/modules/evas/engines/wayland_egl/evas_engine.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c 
b/src/modules/evas/engines/wayland_egl/evas_engine.c
index bbfe738..0aab3af 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -1164,7 +1164,7 @@ eng_image_native_set(void *data, void *image, void 
*native)
      }
    else if (ns->type == EVAS_NATIVE_SURFACE_EVASGL)
      {
-         img2 = 
eina_hash_find(eng_get_ob(re)->gl_context->shared->native_evasgl_hash, &buffer);
+         img2 = eina_hash_find(ob->gl_context->shared->native_evasgl_hash, 
&buffer);
         if (img2 == img) return img;
         if (img2)
           {
@@ -1310,7 +1310,7 @@ eng_image_native_set(void *data, void *image, void 
*native)
              {
                memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface));
 
-               
eina_hash_add(eng_get_ob(re)->gl_context->shared->native_evasgl_hash, &buffer, 
img);
+               eina_hash_add(ob->gl_context->shared->native_evasgl_hash, 
&buffer, img);
 
                n->ns_data.evasgl.surface = ns->data.evasgl.surface;
                img->native.yinvert     = 0;
@@ -1335,13 +1335,13 @@ eng_image_native_set(void *data, void *image, void 
*native)
            n = calloc(1, sizeof(Native));
            if (n)
              {
-               
eina_hash_add(eng_get_ob(re)->gl_context->shared->native_tbm_hash, &buffer, 
img);
+               eina_hash_add(ob->gl_context->shared->native_tbm_hash, &buffer, 
img);
 
                memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface));
                n->ns_data.tbm.buffer = buffer;
 
                if (glsym_eglCreateImage)
-                 n->ns_data.tbm.surface = 
glsym_eglCreateImage(eng_get_ob(re)->egl_disp,
+                 n->ns_data.tbm.surface = glsym_eglCreateImage(ob->egl_disp,
                                                                EGL_NO_CONTEXT,
                                                                
EGL_NATIVE_SURFACE_TIZEN,
                                                                (void *)buffer,

-- 


Reply via email to