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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.h

Issue 778563002: Revert "Change clear() to respect the clip" (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 | « src/utils/SkPictureUtils.cpp ('k') | src/utils/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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 fUserMatrix = matrix; 151 fUserMatrix = matrix;
152 fDrawNeedsReset = true; 152 fDrawNeedsReset = true;
153 } 153 }
154 154
155 SkString clipStackData() const { return fClipStackData; } 155 SkString clipStackData() const { return fClipStackData; }
156 156
157 //////////////////////////////////////////////////////////////////////////////// 157 ////////////////////////////////////////////////////////////////////////////////
158 // Inherited from SkCanvas 158 // Inherited from SkCanvas
159 //////////////////////////////////////////////////////////////////////////////// 159 ////////////////////////////////////////////////////////////////////////////////
160 160
161 virtual void clear(SkColor) SK_OVERRIDE;
162
161 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, 163 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
162 const SkPaint*) SK_OVERRIDE; 164 const SkPaint*) SK_OVERRIDE;
163 165
164 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, 166 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src,
165 const SkRect& dst, const SkPaint* paint, 167 const SkRect& dst, const SkPaint* paint,
166 DrawBitmapRectFlags flags) SK_OVERRIDE; 168 DrawBitmapRectFlags flags) SK_OVERRIDE;
167 169
168 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, 170 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&,
169 const SkPaint*) SK_OVERRIDE; 171 const SkPaint*) SK_OVERRIDE;
170 172
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 bool lastClipStackData(const SkPath& devPath); 324 bool lastClipStackData(const SkPath& devPath);
323 void outputConicPoints(const SkPoint* pts, SkScalar weight); 325 void outputConicPoints(const SkPoint* pts, SkScalar weight);
324 void outputPoints(const SkPoint* pts, int count); 326 void outputPoints(const SkPoint* pts, int count);
325 void outputPointsCommon(const SkPoint* pts, int count); 327 void outputPointsCommon(const SkPoint* pts, int count);
326 void outputScalar(SkScalar num); 328 void outputScalar(SkScalar num);
327 329
328 typedef SkCanvas INHERITED; 330 typedef SkCanvas INHERITED;
329 }; 331 };
330 332
331 #endif 333 #endif
OLDNEW
« no previous file with comments | « src/utils/SkPictureUtils.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698