adb shell dumpsys SurfaceFlinger
adb shell dumpsys SurfaceFlinger
Analyze the Android system layer
The output of this command is not much, you can redirect the output to a file
adb shell dumpsys SurfaceFlinger > ./Downloads/surface.txt
The following content, filterHWC layers
In addition, the filter mentioned in the previous section WindowedMagnification
can be found to correspond to the hierarchical tree of the window:
reference:
The Hardware Composite Renderer (HWC) HAL is used to determine the most efficient way to composite buffers with the available hardware. As a HAL, its implementation is device-specific and is usually done by the display hardware original equipment manufacturer (OEM).
The Hardware Composite Renderer (HWC) HAL is used to composite layers received from SurfaceFlinger, reducing the amount of compositing performed by OpenGL ES (GLES) and the GPU.