Files
android_development/tools/winscope
Vishnu Nair cd7c4662e4 Calculate max bounds correctly in winscope
Fixes: 143083963
Test: open banana.pb from bug in winscope, notice its not cut off
Change-Id: I6443426d8e540d5757aad41ac60ceb361768bb68
2020-03-19 18:39:44 -07:00
..
2017-12-19 15:15:30 -08:00
2017-12-19 15:15:30 -08:00
2020-01-27 10:17:49 -08:00

Tool for visualizing window manager traces

Developing WinScope

When the trace is enabled, Window Manager and Surface Flinger capture and save current state to a file at each point of interest. frameworks/base/core/proto/android/server/windowmanagertrace.proto and frameworks/native/services/surfaceflinger/layerproto/layerstrace.proto contain the proto definitions for their internal states.

Checking out code and setting up environment

Building & testing changes

  • Navigate to development/tools/winscope
  • Run yarn run dev

Building with internal extensions

Internal paths in vendor/ which are not available in AOSP must be replaced by stub files. Actual path can be optionally picked up using env args. For example, to pick up Wayland support, run WAYLAND=yes yarn run dev