OSDN Git Service

Transform surface damage to global co-ordinates
authorHarish Krupo <harish.krupo.kps@intel.com>
Fri, 4 May 2018 17:22:56 +0000 (22:52 +0530)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 15 May 2018 05:35:20 +0000 (22:35 -0700)
commit9900d30a7f031d9a06651f11c125d9f678488658
tree3b3455a73c2833d512b2c2a078b9cb6194548d26
parent13ddff8b3d86b27aa42239a27da3b154eecb6066
Transform surface damage to global co-ordinates

Surface damage for a layer is set in the layer local
co-ordintates. The surface damage has to be converted to the
display global co-ordinates before assigning it to the
current_rendering_damage variable.

Jira: None
Test: With the surface damage work around removed the contents of
      weston terminal should be updated properly for each frame.

Signed-off-by: Harish Krupo <harish.krupo.kps@intel.com>
common/core/hwclayer.cpp
common/core/overlaylayer.cpp