summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Nicolas Capens <capn@google.com> 2021-03-23 20:19:57 -0400
committer Nicolas Capens <nicolascapens@google.com> 2021-03-30 04:19:11 +0000
commitb087db35bd0e7fdf7d4e6311d5acd37acda8793e (patch)
tree18a770345bd7a44841d4863e0c8af2ec6905761e /libs/gui/BLASTBufferQueue.cpp
parent04a1d0ddfe0d953e9353b7262ee083a5e20c5c29 (diff)
Check if the buffer is actually being scaled instead of only checking scaling mode
BufferStateLayers have a default scale to window scaling mode which means the layers would be set use texture filtering regardless of the buffer size. This was breaking some pixel by pixel screenshot comparison tests. Instead check if the buffer size, after applying any buffer transforms, matches the layer size. This is a cherry pick of ag/12947725, preparing for a subsequent change to apply the same logic to BufferLayer. Bug: b/182584062 Test: android.view.inputmethod.cts.FocusHandlingTest#testNonFocusablePopupWindowDoesNotAffectImeVisibility Merged-In: I90b05187a2e22834a99d3690095293fa37118734 Change-Id: I8a64ad96c82b65abf5d1312447ff76915c61f5d5
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions