A mobile game profiler.
- clone https://github.com/taptap/perf-doctor
- clone Cinder framework,
Cinder/
andperf-doctor/
should be put in the same folder. - Open
Cinder/proj/vc2019/cinder.sln
withVisual Studio 2019
, choose the same target (x64 Debug) as perf-doctor then build. The output iscinder.lib
. - Open
vc2019/perf-doctor.sln
withVisual Studio 2019
enable_gpu_debug_layers=1
gpu_debug_app=com.xd.atelier
gpu_debug_layer_app=com.google.android.gapid.arm64v8a:com.google.pixel.coral.gpuprofiling.vulkanlayer
gpu_debug_layers=DebugMarker:CPUTiming:VkRenderStagesProducer
adb shell settings delete global enable_gpu_debug_layers
adb shell settings delete global gpu_debug_app
adb shell settings delete global gpu_debug_layers_gles
adb shell settings delete global gpu_debug_layers
adb shell settings delete global gpu_debug_layer_app
[debug.graphics.gpu.profiler.perfetto]: [1]
[graphics.gpu.profiler.support]: [true]
[graphics.gpu.profiler.vulkan_layer_apk]: [com.google.pixel.coral.gpuprofiling.vulkanlayer]