History log of /frameworks/native/services/surfaceflinger/LayerProtoHelper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
068e31b929b40a1bc9be742c04cbdf5b04f3ce97 21-Feb-2018 Yiwei Zhang <zzyiwei@google.com> Implement Display Layer Stats

Try to collect data for analyzing how many display controller layers we
need and what we use them for. Also part of a bug fixing for potential
memory leak of existing layer tracing work of winscope.

Test: adb shell dumpsys SurfaceFlinger --enable-layer-stats
Test: adb shell dumpsys SurfaceFlinger --disable-layer-stats
Test: adb shell dumpsys SurfaceFlinger --clear-layer-stats
Test: adb shell dumpsys SurfaceFlinger --dump-layer-stats
Bug: b/73668062
Change-Id: Ie08aa85d34db2c2c767b8e27eb5aad6f7c3fb975
Merged-In: Ie08aa85d34db2c2c767b8e27eb5aad6f7c3fb975
/frameworks/native/services/surfaceflinger/LayerProtoHelper.cpp
1d04428c3cff3503212ec3e76775ca5ba20abc18 27-Sep-2017 chaviw <chaviw@google.com> Added protobuf to gather layer info.

Use protobuf to gather information about the layers. This change also
uses protobuf for the layer dumpsys.

Test: Ran dumpsys for layers to confirm the data was correct.

Change-Id: Iec474e57a4fb9de1e548440d6a08685505947278
/frameworks/native/services/surfaceflinger/LayerProtoHelper.cpp