OSDN Git Service

Weston: Fix window animation
authorHarish Krupo <harish.krupo.kps@intel.com>
Sun, 22 Apr 2018 08:46:57 +0000 (14:16 +0530)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Mon, 23 Apr 2018 06:54:34 +0000 (23:54 -0700)
commit680f95e51c55e35a4a71a4a7a4c403f5381cd2f6
tree6e47be8759c69f02dd71fbbc555066495539bfdc
parentee2c61c7973a081ddd3a07a16fda154c7ae3bc07
Weston: Fix window animation

Weston animates the opening of new windows in a spring like motion.
This is achieved by setting src_{w,h} of the buffer smaller than
the actual buffer width/height and varying the dest_{w,h}.
Previously we were fixing the source buffer dimentions to the acutal
buffer dimentions. This patch uses the dimentions provided by weston
instead of the actual buffer dimentions.

Jira: None
Test: Windows should open with a spring like animation.

Signed-off-by: Harish Krupo <harish.krupo.kps@intel.com>
os/linux/weston/plugin/compositor-iahwc.c