summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/wayland_egl')
-rw-r--r--src/modules/evas/engines/wayland_egl/Evas_Engine_Wayland_Egl.h7
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_wl_main.c6
2 files changed, 0 insertions, 13 deletions
diff --git a/src/modules/evas/engines/wayland_egl/Evas_Engine_Wayland_Egl.h b/src/modules/evas/engines/wayland_egl/Evas_Engine_Wayland_Egl.h
index a3f0e1a735..97e81a8c09 100644
--- a/src/modules/evas/engines/wayland_egl/Evas_Engine_Wayland_Egl.h
+++ b/src/modules/evas/engines/wayland_egl/Evas_Engine_Wayland_Egl.h
@@ -19,13 +19,6 @@ struct _Evas_Engine_Info_Wayland_Egl
19 unsigned int destination_alpha : 1; 19 unsigned int destination_alpha : 1;
20 } info; 20 } info;
21 21
22 struct
23 {
24 void (*pre_swap) (void *data, Evas *evas);
25 void (*post_swap) (void *data, Evas *evas);
26 void *data;
27 } callback;
28
29 /* non-blocking or blocking mode */ 22 /* non-blocking or blocking mode */
30 Evas_Engine_Render_Mode render_mode; 23 Evas_Engine_Render_Mode render_mode;
31 24
diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
index c78be60beb..788584547d 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -509,9 +509,6 @@ eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_
509 ob->vsync = EINA_TRUE; 509 ob->vsync = EINA_TRUE;
510 } 510 }
511 511
512 if (ob->info->callback.pre_swap)
513 ob->info->callback.pre_swap(ob->info->callback.data, ob->evas);
514
515 if ((glsym_eglSwapBuffersWithDamage) && (surface_damage) && 512 if ((glsym_eglSwapBuffersWithDamage) && (surface_damage) &&
516 (ob->swap_mode != MODE_FULL)) 513 (ob->swap_mode != MODE_FULL))
517 { 514 {
@@ -535,9 +532,6 @@ eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_
535 else 532 else
536 eglSwapBuffers(ob->egl_disp, ob->egl_surface[0]); 533 eglSwapBuffers(ob->egl_disp, ob->egl_surface[0]);
537 534
538 if (ob->info->callback.post_swap)
539 ob->info->callback.post_swap(ob->info->callback.data, ob->evas);
540
541 ob->frame_cnt++; 535 ob->frame_cnt++;
542 536
543 end: 537 end: