Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: tools/debugger/SkDebugCanvas.h

Issue 1746953002: fix minor bug drawing batch bounds by default (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698