• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

adb_proxy/23-Nov-2023-551424

loaders/22-Nov-2023-6031

src/23-Nov-2023-3,7252,945

tests/samples/23-Nov-2023-

.babelrcD22-Nov-202357 65

.gitignoreD23-Nov-202330 32

README.mdD23-Nov-2023919 2318

package.jsonD23-Nov-2023924 3332

trace.shD23-Nov-20232.4 KiB8555

webpack.config.jsD23-Nov-20233 KiB127103

yarn.lockD23-Nov-2023215.2 KiB5,4714,723

README.md

1# Tool for visualizing window manager traces
2
3## Developing WinScope
4When the trace is enabled, Window Manager and Surface Flinger capture and
5save current state to a file at each point of interest.
6`frameworks/base/core/proto/android/server/windowmanagertrace.proto`
7and `frameworks/native/services/surfaceflinger/layerproto/layerstrace.proto`
8contain the proto definitions for their internal states.
9
10### Checking out code and setting up environment
11* Install [Yarn](https://yarnpkg.com), a JS package manager
12* [Download Android source](https://source.android.com/setup/build/downloading)
13* Navigate to `development/tools/winscope`
14* Run `yarn install`
15
16### Building & testing changes
17* Navigate to `development/tools/winscope`
18* Run `yarn run dev`
19
20### Building with internal extensions
21Internal paths in vendor/ which are not available in AOSP must be replaced by
22stub files. See getWaylandSafePath for an example
23