antognolli pushed a commit to branch evas-1.7.
commit 7420056a90e323abd67eac6b344f52dada0bd7cd
Author: Rafael Antognolli <[email protected]>
Date: Mon May 27 15:08:17 2013 -0300
elm/wayland_shm: Do not discard tilebuf on eng_setup.
It should only be discarded when we are really changing the size of the
evas output, or when freeing the engine. Otherwise, changes to the
output will be lost when simple operations like ecore_evas_show() are
done.
This will fix errors like buffers not being visible after a delayed
ecore_evas_show().
---
ChangeLog | 5 +++++
src/modules/engines/wayland_shm/evas_engine.c | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 93d3834..d762e32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1298,3 +1298,8 @@
2013-05-16 Daniel Wilmann
* x11 backend: Revert "Fix memory usage spike when rotating with the
software_x11 engine". This doesn't actually
work.
+
+2013-05-27 Rafael Antognolli
+
+ * Evas/Wayland_shm: Fix buffer not being visible after a delayed
+ ecore_evas_show().
diff --git a/src/modules/engines/wayland_shm/evas_engine.c
b/src/modules/engines/wayland_shm/evas_engine.c
index dcf3aa1..01f55c3 100644
--- a/src/modules/engines/wayland_shm/evas_engine.c
+++ b/src/modules/engines/wayland_shm/evas_engine.c
@@ -144,9 +144,6 @@ eng_setup(Evas *evas, void *info)
re->ob = evas_outbuf_setup(evas->output.w, evas->output.h,
in->info.rotation,
in->info.destination_alpha, in->info.dest);
- if (re->tb) evas_common_tilebuf_free(re->tb);
- if ((re->tb = evas_common_tilebuf_new(evas->output.w, evas->output.h)))
- evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
}
evas->engine.data.output = re;
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may