summaryrefslogtreecommitdiff
path: root/opengl/tests/gl2_basic/gl2_basic.cpp
diff options
context:
space:
mode:
authorChavi Weingarten <chaviw@google.com>2024-01-09 21:54:11 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-11 22:18:01 +0000
commit196f68cffb90b111581e6a47ec0ce2c1fd70e7d8 (patch)
tree5e3cd09398ba0691418e83c85973ee0a4bb4122b /opengl/tests/gl2_basic/gl2_basic.cpp
parent8748247dc23093761cc62c8feda4ff88bab46d22 (diff)
Remove double display rotation for touchable region crop
inputBoundsInDisplaySpace is already in display space so remove the second call to transform the rect by the display transform. This causes a bug if the layer is using layer crop for touchable region and the display is rotated since the bounds will get double transformed, causing the touchable region to be offscreen. Bug: 312984511 Test: LayerSnapshotTest#CanCropTouchableRegionWithDisplayTransform (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ba381e89fe7dfa20b0c8c1a880af59e2698925a) Merged-In: I7d3eb9d5f129988573907658795e3a4349a5ece9 Change-Id: I7d3eb9d5f129988573907658795e3a4349a5ece9
Diffstat (limited to 'opengl/tests/gl2_basic/gl2_basic.cpp')
0 files changed, 0 insertions, 0 deletions