summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-03-19 16:07:33 -0700
committer Peiyong Lin <lpy@google.com> 2019-03-19 16:13:51 -0700
commit7956695e126b4e3b643a3726bbfc65b2cb5fced1 (patch)
tree3eb338832b419cf56baf51a47db4b8fa381c8c57 /services/surfaceflinger/RegionSamplingThread.cpp
parent6b243887f3dec6eaba1101a106a8a4903dda9d37 (diff)
[RoundedCorner] Use the correct source bounds and crop.
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. BUG: 125916918 Test: Build, flash and boot. Verify with window transition. Change-Id: I6c1b92a2c684da956b284b190e8b8a1b45494140
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions