OSDN Git Service

Add clamp to Layer and update Transform inverse.
authorMichael Lentine <mlentine@google.com>
Thu, 20 Nov 2014 02:32:37 +0000 (18:32 -0800)
committerMichael Lentine <mlentine@google.com>
Sat, 22 Nov 2014 01:05:18 +0000 (17:05 -0800)
commit28ea217ff4e0aa9b03dfc12b6f47cccc6aaaae08
tree8b3ad288461c9417628bccbee9557de368c9927c
parent6b9454d1fee0347711af1746642aa7820b1ea04d
Add clamp to Layer and update Transform inverse.

Ensure that the adjusted transparent region is within
the display bounds by clamping after the transformation
is applied and clean up transform's inverse function.

Bug: 18452546

Change-Id: Ia473e483ee8374177bcb84d8192eb1f0e86f022a
services/surfaceflinger/Layer.cpp
services/surfaceflinger/Transform.cpp