adb 명령 "dumpsys SurfaceFlinger"의 출력에 대한 문서가 있습니까?dumpsys 감각을 만드는 방법 SurfaceFlinger
특히, 나는 HWC 또는 GLES 레이어 유형의 차이점을 이해하고 싶습니다. numHwLayers는 무엇을 의미합니까? 나는 내 자신의 질문에 대답 파악 충분히 가지고 있지만, 사람이 추가 입력이있는 경우에 그들을 남겨주세요
mDebugForceFakeVSync=0
Display[0] : 768x1280, xdpi=319.790009, ydpi=318.744995, refresh=16666667
numHwLayers=5, flags=00000000
type | handle | hints | flags | tr | blend | format | source crop | frame name
------------+----------+----------+----------+----+-------+----------+---------------------------+--------------------------------
GLES | b7e1c440 | 00000002 | 00000000 | 00 | 00100 | 00000002 | [ 334, 56, 1102, 1190] | [ 0, 50, 768, 1184] com.android.systemui.ImageWallpaper
GLES | b7e1d7c8 | 00000002 | 00000000 | 00 | 00105 | 00000001 | [ 0, 50, 768, 1184] | [ 0, 50, 768, 1184] com.android.launcher/com.android.launcher2.Launcher
GLES | b7e701e0 | 00000002 | 00000000 | 00 | 00105 | 00000001 | [ 0, 0, 768, 50] | [ 0, 0, 768, 50] StatusBar
GLES | b7e1df68 | 00000002 | 00000000 | 00 | 00100 | 00000001 | [ 0, 0, 768, 96] | [ 0, 1184, 768, 1280] NavigationBar
FB TARGET | b7dd3ab0 | 00000000 | 00000000 | 00 | 00105 | 00000001 | [ 0, 0, 768, 1280] | [ 0, 0, 768, 1280] HWC_FRAMEBUFFER_TARGET
https://android.googlesource.com/platform/frameworks/native/+/master/services/surfaceflinger/ 및 https://android.googlesource.com/platform/frameworks/native/+에서 헤더 파일을 읽습니다./master/services/surfaceflinger/DisplayHardware/ –
감사합니다! 아래 내 대답을 참조하십시오. –
https://source.android.com/devices/graphics/architecture.html – fadden