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

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

Issue 830083002: remove unused drawData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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/SkCanvas.h ('k') | include/utils/SkLuaCanvas.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 29 matching lines...) Expand all
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 kDrawPatch_Verb,
50 kDrawData_Verb, 50 kDrawData_Verb, // obsolete
51 51
52 kBeginCommentGroup_Verb, 52 kBeginCommentGroup_Verb,
53 kAddComment_Verb, 53 kAddComment_Verb,
54 kEndCommentGroup_Verb, 54 kEndCommentGroup_Verb,
55 55
56 kCull_Verb 56 kCull_Verb
57 }; 57 };
58 58
59 /** 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
60 each drawing command. 60 each drawing command.
(...skipping 26 matching lines...) Expand all
87 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 87 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
88 const SkRect& dst, const SkPaint* paint, 88 const SkRect& dst, const SkPaint* paint,
89 DrawBitmapRectFlags flags) SK_OVERRIDE; 89 DrawBitmapRectFlags flags) SK_OVERRIDE;
90 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 90 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
91 const SkPaint* paint) SK_OVERRIDE; 91 const SkPaint* paint) SK_OVERRIDE;
92 virtual void drawVertices(VertexMode vmode, int vertexCount, 92 virtual void drawVertices(VertexMode vmode, int vertexCount,
93 const SkPoint vertices[], const SkPoint texs[], 93 const SkPoint vertices[], const SkPoint texs[],
94 const SkColor colors[], SkXfermode* xmode, 94 const SkColor colors[], SkXfermode* xmode,
95 const uint16_t indices[], int indexCount, 95 const uint16_t indices[], int indexCount,
96 const SkPaint& paint) SK_OVERRIDE; 96 const SkPaint& paint) SK_OVERRIDE;
97 virtual void drawData(const void*, size_t) SK_OVERRIDE;
98 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; 97 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
99 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; 98 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
100 virtual void endCommentGroup() SK_OVERRIDE; 99 virtual void endCommentGroup() SK_OVERRIDE;
101 100
102 protected: 101 protected:
103 virtual void willSave() SK_OVERRIDE; 102 virtual void willSave() SK_OVERRIDE;
104 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 103 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
105 virtual void willRestore() SK_OVERRIDE; 104 virtual void willRestore() SK_OVERRIDE;
106 105
107 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 106 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 public: 164 public:
166 SkDebugfDumper(); 165 SkDebugfDumper();
167 166
168 private: 167 private:
169 typedef SkFormatDumper INHERITED; 168 typedef SkFormatDumper INHERITED;
170 }; 169 };
171 170
172 #endif 171 #endif
173 172
174 #endif 173 #endif
OLDNEW
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698