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

Side by Side Diff: include/utils/SkPaintFilterCanvas.h

Issue 1239193002: remove all guards for changes to drawBitmapRect / drawImageRect (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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 | « include/utils/SkNWayCanvas.h ('k') | src/core/SkBitmapDevice.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 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPaintFilterCanvas_DEFINED 8 #ifndef SkPaintFilterCanvas_DEFINED
9 #define SkPaintFilterCanvas_DEFINED 9 #define SkPaintFilterCanvas_DEFINED
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 void onDrawPaint(const SkPaint&) override; 50 void onDrawPaint(const SkPaint&) override;
51 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 51 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
52 void onDrawRect(const SkRect&, const SkPaint&) override; 52 void onDrawRect(const SkRect&, const SkPaint&) override;
53 void onDrawRRect(const SkRRect&, const SkPaint&) override; 53 void onDrawRRect(const SkRRect&, const SkPaint&) override;
54 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 54 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
55 void onDrawOval(const SkRect&, const SkPaint&) override; 55 void onDrawOval(const SkRect&, const SkPaint&) override;
56 void onDrawPath(const SkPath&, const SkPaint&) override; 56 void onDrawPath(const SkPath&, const SkPaint&) override;
57 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 57 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
58 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 58 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
59 SK_VIRTUAL_CONSTRAINT_TYPE) override; 59 SrcRectConstraint) override;
60 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 60 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
61 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 61 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
62 const SkPaint* SRC_RECT_CONSTRAINT_PARAM(constraint)) o verride; 62 const SkPaint*, SrcRectConstraint) override;
63 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 63 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
64 const SkPaint*) override; 64 const SkPaint*) override;
65 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri de; 65 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri de;
66 void onDrawVertices(VertexMode vmode, int vertexCount, 66 void onDrawVertices(VertexMode vmode, int vertexCount,
67 const SkPoint vertices[], const SkPoint texs[], 67 const SkPoint vertices[], const SkPoint texs[],
68 const SkColor colors[], SkXfermode* xmode, 68 const SkColor colors[], SkXfermode* xmode,
69 const uint16_t indices[], int indexCount, 69 const uint16_t indices[], int indexCount,
70 const SkPaint&) override; 70 const SkPaint&) override;
71 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 71 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
72 const SkPoint texCoords[4], SkXfermode* xmode, 72 const SkPoint texCoords[4], SkXfermode* xmode,
(...skipping 11 matching lines...) Expand all
84 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 84 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
85 const SkPaint& paint) override; 85 const SkPaint& paint) override;
86 86
87 private: 87 private:
88 class AutoPaintFilter; 88 class AutoPaintFilter;
89 89
90 typedef SkNWayCanvas INHERITED; 90 typedef SkNWayCanvas INHERITED;
91 }; 91 };
92 92
93 #endif 93 #endif
OLDNEW
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698