summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2018-11-28 18:30:57 -0800
committer Vishnu Nair <vishnun@google.com> 2018-11-28 18:31:30 -0800
commit88a11f2640cffb3fdfc3d0c7081f118a59507d0f (patch)
treeaf3540eb5a52562e2b67809267c98715cfa09f64 /libs/gui/LayerDebugInfo.cpp
parentfb5594cd02b0d87971243defc7e196fb9373ebbe (diff)
SF: User buffer size instead of layer size when calculating size
- Change the remaining references to layer size with buffer size - Fail SurfaceFlinger::createLayer if the caller provides a buffer size and the layer is a color or container layer - Update Transation_test to explicitly set crop for buffer-less layers Bug:114413815 Test: go/wm-smoke Test: mmma frameworks/native/services/surfaceflinger/tests/ && \ mmma frameworks/native/libs/gui/tests/ && adb sync data && \ adb shell /data/nativetest64/libgui_test/libgui_test && \ adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest && \ adb shell /data/nativetest64/SurfaceFlinger_test/SurfaceFlinger_test && \ adb shell /data/nativetest64/SurfaceParcelable_test/SurfaceParcelable_test && \ echo "ALL TESTS PASSED" Change-Id: Ic40a2ea3e629ce774891075afaf9a4d05e95ca4d
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions