summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-11-01 11:41:47 -0500
committerDerek Foreman <derekf@osg.samsung.com>2016-11-02 13:37:00 -0500
commit3f75c45122f54e35b4c09f0ed4566f79c1d55227 (patch)
tree13d1efa0eeda67fd24d1e4d6953851fd7c09c071 /src/modules/evas/engines/wayland_egl/evas_engine.c
parent9e43a155261622eb23124d6aac8cee80cd919a8d (diff)
wayland_egl: Rename surface to wl_surface
Making this code more closely match the wayland_shm engine
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index f50b9f8..146f3b2 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -283,7 +283,7 @@ evgl_eng_native_window_create(void *data)
283 if (!(re = (Render_Engine *)data)) return NULL; 283 if (!(re = (Render_Engine *)data)) return NULL;
284 if (!(ob = eng_get_ob(re))) return NULL; 284 if (!(ob = eng_get_ob(re))) return NULL;
285 285
286 if (!(win = wl_egl_window_create(ob->info->info.surface, 1, 1))) 286 if (!(win = wl_egl_window_create(ob->info->info.wl_surface, 1, 1)))
287 { 287 {
288 ERR("Could not create wl_egl window"); 288 ERR("Could not create wl_egl window");
289 return NULL; 289 return NULL;
@@ -637,7 +637,7 @@ eng_setup(Evas *evas, void *info)
637 re = epd->engine.data.output; 637 re = epd->engine.data.output;
638 ob = eng_get_ob(re); 638 ob = eng_get_ob(re);
639 639
640 if (!inf->info.surface && (ob->egl_surface[0] != EGL_NO_SURFACE)) 640 if (!inf->info.wl_surface && (ob->egl_surface[0] != EGL_NO_SURFACE))
641 { 641 {
642 eglDestroySurface(ob->egl_disp, ob->egl_surface[0]); 642 eglDestroySurface(ob->egl_disp, ob->egl_surface[0]);
643 eglMakeCurrent(ob->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, 643 eglMakeCurrent(ob->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE,
@@ -650,7 +650,7 @@ eng_setup(Evas *evas, void *info)
650 { 650 {
651 ob->info = inf; 651 ob->info = inf;
652 if ((ob->info->info.display != ob->disp) || 652 if ((ob->info->info.display != ob->disp) ||
653 (ob->info->info.surface != ob->surface) || 653 (ob->info->info.wl_surface != ob->surface) ||
654 /* FIXME: comment out below line. 654 /* FIXME: comment out below line.
655 * since there is no place set the info->info.win for now, 655 * since there is no place set the info->info.win for now,
656 * it causes renew the window unnecessarily. 656 * it causes renew the window unnecessarily.