ecore_evas/wayland_shm: Fixed window resize.
authorRafael Antognolli <rafael.antognolli@linux.intel.com>
Mon, 18 Feb 2013 17:31:17 +0000 (14:31 -0300)
committerRafael Antognolli <rafael.antognolli@linux.intel.com>
Tue, 19 Feb 2013 13:18:03 +0000 (10:18 -0300)
commitdc0d88df9cd12839c2cd2c931e3510a2478ca59d
treeb589272d7019202353a5edd3d10a6df524d6783a
parentcf67e69b50698acf16e10004af0c8432d1c366d1
ecore_evas/wayland_shm: Fixed window resize.

Using the server_allocation/allocation to determine the resize offset
was not completely precise, and causing the window to not always resize
correctly.

Additionally, calling evas_engine_info_set() on every resize step caused
the window content to blink and resize very slow, because the swap
buffer, swapper, and everything were being destroyed and recreated. Now
only the swapbuf_reconfigure is being called during the resize, which is
way faster.
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
src/modules/evas/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
src/modules/evas/engines/wayland_shm/evas_engine.c
src/modules/evas/engines/wayland_shm/evas_swapper.c