OSDN Git Service

Fix TextureView.getBitmap with scale layer transform
authorStan Iliev <stani@google.com>
Thu, 12 Jul 2018 20:53:59 +0000 (16:53 -0400)
committerStan Iliev <stani@google.com>
Tue, 17 Jul 2018 13:39:54 +0000 (13:39 +0000)
commitaac878f108625ae2f05bec878c5afceb826763e9
tree56d1a4aacd29a124e5cdbeb9ba09926076939c45
parentc6955626a9d4c97df10e4d16dc3184f55a09124b
Fix TextureView.getBitmap with scale layer transform

Fix TextureView.getBitmap to capture content only from the layer.

Bug: 111401911
Test: A new test TextureViewTest.testTransformScale is passing
Change-Id: I2b9cee17fc48de7b12ed03d5b4f173ce5445dbfe
libs/hwui/pipeline/skia/LayerDrawable.cpp