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

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

Issue 429343004: Stopped skipping tests in dm of SkPatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Moved DRAW_PATCH DrawType to the last position Created 6 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/core/SkWriter32.h ('k') | include/utils/SkNWayCanvas.h » ('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 2011 Google Inc. 3 * Copyright 2011 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 #ifndef SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 28 matching lines...) Expand all
39 kDrawPoints_Verb, 39 kDrawPoints_Verb,
40 kDrawOval_Verb, 40 kDrawOval_Verb,
41 kDrawRect_Verb, 41 kDrawRect_Verb,
42 kDrawRRect_Verb, 42 kDrawRRect_Verb,
43 kDrawDRRect_Verb, 43 kDrawDRRect_Verb,
44 kDrawPath_Verb, 44 kDrawPath_Verb,
45 kDrawBitmap_Verb, 45 kDrawBitmap_Verb,
46 kDrawText_Verb, 46 kDrawText_Verb,
47 kDrawPicture_Verb, 47 kDrawPicture_Verb,
48 kDrawVertices_Verb, 48 kDrawVertices_Verb,
49 kDrawPatch_Verb,
49 kDrawData_Verb, 50 kDrawData_Verb,
50 51
51 kBeginCommentGroup_Verb, 52 kBeginCommentGroup_Verb,
52 kAddComment_Verb, 53 kAddComment_Verb,
53 kEndCommentGroup_Verb, 54 kEndCommentGroup_Verb,
54 55
55 kCull_Verb 56 kCull_Verb
56 }; 57 };
57 58
58 /** Subclasses of this are installed on the DumpCanvas, and then called for 59 /** Subclasses of this are installed on the DumpCanvas, and then called for
(...skipping 29 matching lines...) Expand all
88 DrawBitmapRectFlags flags) SK_OVERRIDE; 89 DrawBitmapRectFlags flags) SK_OVERRIDE;
89 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 90 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
90 const SkPaint* paint) SK_OVERRIDE; 91 const SkPaint* paint) SK_OVERRIDE;
91 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 92 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
92 const SkPaint* paint) SK_OVERRIDE; 93 const SkPaint* paint) SK_OVERRIDE;
93 virtual void drawVertices(VertexMode vmode, int vertexCount, 94 virtual void drawVertices(VertexMode vmode, int vertexCount,
94 const SkPoint vertices[], const SkPoint texs[], 95 const SkPoint vertices[], const SkPoint texs[],
95 const SkColor colors[], SkXfermode* xmode, 96 const SkColor colors[], SkXfermode* xmode,
96 const uint16_t indices[], int indexCount, 97 const uint16_t indices[], int indexCount,
97 const SkPaint& paint) SK_OVERRIDE; 98 const SkPaint& paint) SK_OVERRIDE;
99 virtual void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRI DE;
98 virtual void drawData(const void*, size_t) SK_OVERRIDE; 100 virtual void drawData(const void*, size_t) SK_OVERRIDE;
99 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; 101 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
100 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; 102 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
101 virtual void endCommentGroup() SK_OVERRIDE; 103 virtual void endCommentGroup() SK_OVERRIDE;
102 104
103 protected: 105 protected:
104 virtual void willSave() SK_OVERRIDE; 106 virtual void willSave() SK_OVERRIDE;
105 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 107 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
106 virtual void willRestore() SK_OVERRIDE; 108 virtual void willRestore() SK_OVERRIDE;
107 109
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 public: 165 public:
164 SkDebugfDumper(); 166 SkDebugfDumper();
165 167
166 private: 168 private:
167 typedef SkFormatDumper INHERITED; 169 typedef SkFormatDumper INHERITED;
168 }; 170 };
169 171
170 #endif 172 #endif
171 173
172 #endif 174 #endif
OLDNEW
« no previous file with comments | « include/core/SkWriter32.h ('k') | include/utils/SkNWayCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698