summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2023-07-25 09:34:11 -0400
committer Leon Scroggins <scroggo@google.com> 2023-07-26 14:45:48 +0000
commit763e450b7c5fa6ad1ed35cabb96fdb87467d00c2 (patch)
treecda802081fbbe6a26ebe65143f24f8f4e4524585 /libs/gui/BLASTBufferQueue.cpp
parentce68dd7ef342d1ea1e626609135963204a917986 (diff)
RenderEngine: Limit the size of blur input to the display size
Some layers are extraordinarily large. In the particular case we've found, the layer does not have any content, but even if it did, content outside the display would not impact the blur. So limit the size of the rectangle we use for blurring, which in turn limits the size of the buffers we allocate to compute the blur. Use the canvas' existing clip, which has already been adjusted to the size of the display. Bug: 283427479 Bug: 292539958 Test: manual (logcat) Change-Id: I17e646cce0dca02f4e6a18032ecd1e9120fcf880 Merged-In: I17e646cce0dca02f4e6a18032ecd1e9120fcf880
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions