summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-03-29 17:36:08 +0000
committer Peiyong Lin <lpy@google.com> 2019-03-29 17:36:08 +0000
commit27016a9fdc8c0ef154286bed8ad9c2b205ef1f55 (patch)
tree8464b79e5c0a365aa6125d7c6d344c14a0dcc812 /opengl/libagl/TextureObjectManager.cpp
parent7956695e126b4e3b643a3726bbfc65b2cb5fced1 (diff)
Revert "[RoundedCorner] Use the correct source bounds and crop."
This reverts commit 7956695e126b4e3b643a3726bbfc65b2cb5fced1. Reason for revert: Results in weird crop issues. Below is the original commit message: Previously we call getBounds to calculate the rounded corner, but that's wrong. For an app layer, what we really need is the source bounds of the layer, and the actual crop with transformation but without any parent bounds and display bounds. However, only the root view has the correct crop information. And thus this patch passes the correct bounds up to the root, and use the crop from the root to calculate the rounded corner bounds. Change-Id: I5319614ba74ee2877fe382575f2e7f9da418d585 BUG: 125916918 Test: Build, flash and boot. Verify with window transition.
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions