| 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 24 matching lines...) Expand all Loading... |
| 35 void setOverdrawViz(bool overdrawViz) { fOverdrawViz = overdrawViz; } | 35 void setOverdrawViz(bool overdrawViz) { fOverdrawViz = overdrawViz; } |
| 36 bool getOverdrawViz() const { return fOverdrawViz; } | 36 bool getOverdrawViz() const { return fOverdrawViz; } |
| 37 | 37 |
| 38 bool getAllowSimplifyClip() const { return fAllowSimplifyClip; } | 38 bool getAllowSimplifyClip() const { return fAllowSimplifyClip; } |
| 39 | 39 |
| 40 void setPicture(SkPicture* picture) { fPicture = picture; } | 40 void setPicture(SkPicture* picture) { fPicture = picture; } |
| 41 | 41 |
| 42 /** | 42 /** |
| 43 * Enable or disable texure filtering override | 43 * Enable or disable texure filtering override |
| 44 */ | 44 */ |
| 45 void overrideTexFiltering(bool overrideTexFiltering, SkPaint::FilterLevel le
vel); | 45 void overrideTexFiltering(bool overrideTexFiltering, SkFilterQuality); |
| 46 | 46 |
| 47 /** | 47 /** |
| 48 Executes all draw calls to the canvas. | 48 Executes all draw calls to the canvas. |
| 49 @param canvas The canvas being drawn to | 49 @param canvas The canvas being drawn to |
| 50 */ | 50 */ |
| 51 void draw(SkCanvas* canvas); | 51 void draw(SkCanvas* canvas); |
| 52 | 52 |
| 53 /** | 53 /** |
| 54 Executes the draw calls up to the specified index. | 54 Executes the draw calls up to the specified index. |
| 55 @param canvas The canvas being drawn to | 55 @param canvas The canvas being drawn to |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 bool lastClipStackData(const SkPath& devPath); | 271 bool lastClipStackData(const SkPath& devPath); |
| 272 void outputConicPoints(const SkPoint* pts, SkScalar weight); | 272 void outputConicPoints(const SkPoint* pts, SkScalar weight); |
| 273 void outputPoints(const SkPoint* pts, int count); | 273 void outputPoints(const SkPoint* pts, int count); |
| 274 void outputPointsCommon(const SkPoint* pts, int count); | 274 void outputPointsCommon(const SkPoint* pts, int count); |
| 275 void outputScalar(SkScalar num); | 275 void outputScalar(SkScalar num); |
| 276 | 276 |
| 277 typedef SkCanvas INHERITED; | 277 typedef SkCanvas INHERITED; |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 #endif | 280 #endif |
| OLD | NEW |