hwc: use surfaceDamage to calculate the dirtyrect as per HWC 1.5
Update the HWC version to HWC 1.5
surfaceDamage is passed as part of the layer, use this information
to determine if the layer is changing and handle cache.
The total dirty rectangle for a given layer will be the sum of all
the damageRectangles, use that to calculate the ROI
Use surfaceDamage in calculating the final dirtyRect in case
of generating the ROI for SourceSplit
Change-Id: If1c3ea02db25feaf5674e7c312bfbaae53be11a4
5 files changed