1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| // TODO(nifong): Complete this before turning on clojure optimizations in compile.sh
|
| var DebuggerView = {
| MakeSWCanvasSurface: function() {},
|
| _getRasterDirectSurface: function() {},
| _malloc: function() {},
| _free: function() {},
| onRuntimeInitialized: function() {},
|
| ColorType: {
| RGBA_8888: {},
| },
|
| AlphaType: {
| Unpremul: {},
| },
|
| SkSurface: {
| // public API (from C++ bindings)
| /** @return {DebuggerView.SkCanvas} */
| getCanvas: function() {},
|
| // private API
| _flush: function() {},
| delete: function() {},
| },
| };
|
| DebuggerView.SkSurface.prototype.flush = function() {};
| DebuggerView.SkSurface.prototype.dispose = function() {};
|
|