discomfitor pushed a commit to branch master.

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

commit 63a255750b5d46fd3d2083c76e87dec29cab2659
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Mon Apr 11 15:17:13 2016 -0500

    wayland_shm: Remove outbuf_reconfigure function pointer
    
    We only ever call it from one place, and we only ever initialize it
    to one value, so there's no need for a function pointer.
---
 src/modules/evas/engines/wayland_shm/evas_engine.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c 
b/src/modules/evas/engines/wayland_shm/evas_engine.c
index 702566a..33fae87 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -24,8 +24,6 @@ typedef struct _Render_Engine Render_Engine;
 struct _Render_Engine
 {
    Render_Engine_Software_Generic generic;
-
-   void (*outbuf_reconfigure)(Outbuf *ob, int w, int h, int rot, Outbuf_Depth 
depth, Eina_Bool alpha, Eina_Bool resize);
 };
 
 /* LOCAL FUNCTIONS */
@@ -60,8 +58,6 @@ _render_engine_swapbuf_setup(int w, int h, unsigned int 
rotation, unsigned int d
                                                  w, h))
      goto err;
 
-   re->outbuf_reconfigure = _evas_outbuf_reconfigure;
-
    s = getenv("EVAS_WAYLAND_PARTIAL_MERGE");
    if (s)
      {
@@ -236,9 +232,9 @@ eng_output_resize(void *data, int w, int h)
 
    if (einfo->info.edges) resize = EINA_TRUE;
 
-   re->outbuf_reconfigure(re->generic.ob, w, h,
-                          einfo->info.rotation, einfo->info.depth, 
-                          einfo->info.destination_alpha, resize);
+   _evas_outbuf_reconfigure(re->generic.ob, w, h,
+                            einfo->info.rotation, einfo->info.depth,
+                            einfo->info.destination_alpha, resize);
 
    evas_common_tilebuf_free(re->generic.tb);
    if ((re->generic.tb = evas_common_tilebuf_new(w, h)))

-- 


Reply via email to