OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SKDEBUGCANVAS_H_ | 10 #ifndef SKDEBUGCANVAS_H_ |
(...skipping 29 matching lines...) Expand all Loading... |
40 /** | 40 /** |
41 * Set the color of the clip visualization. An alpha of zero renders the cli
p invisible. | 41 * Set the color of the clip visualization. An alpha of zero renders the cli
p invisible. |
42 */ | 42 */ |
43 void setClipVizColor(SkColor clipVizColor) { this->fClipVizColor = clipVizCo
lor; } | 43 void setClipVizColor(SkColor clipVizColor) { this->fClipVizColor = clipVizCo
lor; } |
44 SkColor getClipVizColor() const { return fClipVizColor; } | 44 SkColor getClipVizColor() const { return fClipVizColor; } |
45 | 45 |
46 void setDrawGpuBatchBounds(bool drawGpuBatchBounds) { | 46 void setDrawGpuBatchBounds(bool drawGpuBatchBounds) { |
47 fDrawGpuBatchBounds = drawGpuBatchBounds; | 47 fDrawGpuBatchBounds = drawGpuBatchBounds; |
48 } | 48 } |
49 | 49 |
| 50 bool getDrawGpuBatchBounds() const { return fDrawGpuBatchBounds; } |
| 51 |
50 bool getAllowSimplifyClip() const { return fAllowSimplifyClip; } | 52 bool getAllowSimplifyClip() const { return fAllowSimplifyClip; } |
51 | 53 |
52 void setPicture(SkPicture* picture) { fPicture = picture; } | 54 void setPicture(SkPicture* picture) { fPicture = picture; } |
53 | 55 |
54 /** | 56 /** |
55 * Enable or disable texure filtering override | 57 * Enable or disable texure filtering override |
56 */ | 58 */ |
57 void overrideTexFiltering(bool overrideTexFiltering, SkFilterQuality); | 59 void overrideTexFiltering(bool overrideTexFiltering, SkFilterQuality); |
58 | 60 |
59 /** | 61 /** |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 void outputPoints(const SkPoint* pts, int count); | 282 void outputPoints(const SkPoint* pts, int count); |
281 void outputPointsCommon(const SkPoint* pts, int count); | 283 void outputPointsCommon(const SkPoint* pts, int count); |
282 void outputScalar(SkScalar num); | 284 void outputScalar(SkScalar num); |
283 | 285 |
284 void updatePaintFilterCanvas(); | 286 void updatePaintFilterCanvas(); |
285 | 287 |
286 typedef SkCanvas INHERITED; | 288 typedef SkCanvas INHERITED; |
287 }; | 289 }; |
288 | 290 |
289 #endif | 291 #endif |
OLD | NEW |