summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:47:39 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:47:39 -0700
commit741ecaf2cf217fd19dbc93cc5580ac876d21d1b1 (patch)
treec53d1381e678fabc35ebe7c781f6db403cb7997a /src
parentbf2439b50112ac4d605b1f4073a358c18676c025 (diff)
evas: no need to double init tilebuf as it is created by software generic.
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/eglfs/evas_engine.c8
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c7
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c12
3 files changed, 2 insertions, 25 deletions
diff --git a/src/modules/evas/engines/eglfs/evas_engine.c b/src/modules/evas/engines/eglfs/evas_engine.c
index f4813ec..b71babe 100644
--- a/src/modules/evas/engines/eglfs/evas_engine.c
+++ b/src/modules/evas/engines/eglfs/evas_engine.c
@@ -753,14 +753,6 @@ eng_setup(void *engine EINA_UNUSED, void *in, unsigned int w, unsigned int h)
753 evas_render_engine_software_generic_merge_mode_set(&re->generic.software, merge_mode); 753 evas_render_engine_software_generic_merge_mode_set(&re->generic.software, merge_mode);
754 754
755 if (re->generic.software.tb) 755 if (re->generic.software.tb)
756 evas_common_tilebuf_free(re->generic.software.tb);
757 re->generic.software.tb =
758 evas_common_tilebuf_new(w, h);
759 if (re->generic.software.tb)
760 evas_common_tilebuf_set_tile_size(re->generic.software.tb,
761 TILESIZE, TILESIZE);
762
763 if (re->generic.software.tb)
764 evas_render_engine_software_generic_tile_strict_set(&re->generic.software, EINA_TRUE); 756 evas_render_engine_software_generic_tile_strict_set(&re->generic.software, EINA_TRUE);
765 757
766 evas_outbuf_use(eng_get_ob(re)); 758 evas_outbuf_use(eng_get_ob(re));
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 0b0b191..097be67 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -1009,13 +1009,6 @@ eng_setup(void *engine EINA_UNUSED, void *in, unsigned int w, unsigned int h)
1009 } 1009 }
1010 1010
1011 if (re->generic.software.tb) 1011 if (re->generic.software.tb)
1012 evas_common_tilebuf_free(re->generic.software.tb);
1013 re->generic.software.tb = evas_common_tilebuf_new(w, h);
1014 if (re->generic.software.tb)
1015 evas_common_tilebuf_set_tile_size(re->generic.software.tb,
1016 TILESIZE, TILESIZE);
1017
1018 if (re->generic.software.tb)
1019 evas_render_engine_software_generic_tile_strict_set(&re->generic.software, EINA_TRUE); 1012 evas_render_engine_software_generic_tile_strict_set(&re->generic.software, EINA_TRUE);
1020 1013
1021 evas_outbuf_use(eng_get_ob(re)); 1014 evas_outbuf_use(eng_get_ob(re));
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 6b849b3..6dd9bc9 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -649,16 +649,8 @@ eng_setup(void *engine EINA_UNUSED, void *info, unsigned int w, unsigned int h)
649 } 649 }
650 650
651 if (re->generic.software.tb) 651 if (re->generic.software.tb)
652 evas_common_tilebuf_free(re->generic.software.tb); 652 evas_render_engine_software_generic_tile_strict_set
653 re->generic.software.tb = evas_common_tilebuf_new(w, h); 653 (&re->generic.software, EINA_TRUE);
654
655 if (re->generic.software.tb)
656 {
657 evas_common_tilebuf_set_tile_size(re->generic.software.tb,
658 TILESIZE, TILESIZE);
659 evas_render_engine_software_generic_tile_strict_set
660 (&re->generic.software, EINA_TRUE);
661 }
662 654
663 eng_window_use(eng_get_ob(re)); 655 eng_window_use(eng_get_ob(re));
664 656