tree: 68d9d599e8812453da37e1cbb75e28ca558314ce [path history] [tgz]
  1. adb_proxy/
  2. loaders/
  3. src/
  4. .babelrc
  5. .gitignore
  6. package.json
  7. README.md
  8. trace.sh
  9. webpack.config.js
  10. yarn.lock
tools/winscope/README.md

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