OLD | NEW |
1 Skia Debugger | 1 Skia Debugger |
2 ============= | 2 ============= |
3 | 3 |
4 Introduction | 4 Introduction |
5 ------------ | 5 ------------ |
6 | 6 |
7 The Skia Debugger is a graphical tool used to step through and analyze the | 7 The Skia Debugger is a graphical tool used to step through and analyze the |
8 contents of the Skia picture format. Pre-requisites include installing the Qt | 8 contents of the Skia picture format. Pre-requisites include installing the Qt |
9 Library and downloading the Skia code base. | 9 Library and downloading the Skia code base. |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 https://docs.google.com/a/google.com/document/d/1b8muqVzfbJmYbno9nTv5721V2nlFMfn
qXYLNHiSQ4ws/pub | 25 https://docs.google.com/a/google.com/document/d/1b8muqVzfbJmYbno9nTv5721V2nlFMfn
qXYLNHiSQ4ws/pub |
26 | 26 |
27 | 27 |
28 How to build and run | 28 How to build and run |
29 -------------------- | 29 -------------------- |
30 | 30 |
31 Because the debugger uses Qt, you'll need to build skia in 64 bit mode: | 31 Because the debugger uses Qt, you'll need to build skia in 64 bit mode: |
32 | 32 |
33 <!--?prettify?--> | 33 <!--?prettify?--> |
34 ~~~~ | 34 |
35 cd trunk | 35 GYP_DEFINES="skia_arch_width=64" python bin/sync-and-gyp |
36 ./gyp_skia | 36 ninja -C out/Debug debugger |
37 GYP_DEFINES="skia_arch_width=64" make debugger | 37 out/Debug/debugger |
38 out/Debug/debugger | |
39 ~~~~ | |
40 | 38 |
41 For Windows, Qt ships as 32 bit libraries so to build and run one should just be | 39 For Windows, Qt ships as 32 bit libraries so to build and run one should just be |
42 able to: | 40 able to: |
43 | 41 |
44 <!--?prettify?--> | 42 <!--?prettify?--> |
45 ~~~~ | 43 ~~~~ |
46 cd trunk | 44 cd trunk |
47 make clean gyp | 45 make clean gyp |
48 <open solution in VS2010 and build everything> | 46 <open solution in VS2010 and build everything> |
49 ~~~~ | 47 ~~~~ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 ctrl-d | Toggles the directory widget | 111 ctrl-d | Toggles the directory widget |
114 space | Pauses drawing execution | 112 space | Pauses drawing execution |
115 ctrl-o | Opens a file dialog for loading pictures | 113 ctrl-o | Opens a file dialog for loading pictures |
116 ctrl-s | Saves the skp if you deleted any commands | 114 ctrl-s | Saves the skp if you deleted any commands |
117 ctrl-shift-s | Saves the skp under the new specified name | 115 ctrl-shift-s | Saves the skp under the new specified name |
118 ctrl-q | Quits | 116 ctrl-q | Quits |
119 | 117 |
120 ![Debugger interface](debugger.png) | 118 ![Debugger interface](debugger.png) |
121 | 119 |
122 | 120 |
OLD | NEW |