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

Side by Side Diff: src/core/SkRecorder.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 | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.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 2014 Google Inc. 2 * Copyright 2014 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 SkRecorder_DEFINED 8 #ifndef SkRecorder_DEFINED
9 #define SkRecorder_DEFINED 9 #define SkRecorder_DEFINED
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle ) SK_OVERRIDE; 126 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle ) SK_OVERRIDE;
127 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt yle) SK_OVERRIDE; 127 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt yle) SK_OVERRIDE;
128 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle ) SK_OVERRIDE; 128 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle ) SK_OVERRIDE;
129 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) SK_OVERRIDE; 129 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) SK_OVERRIDE;
130 130
131 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) SK_OVE RRIDE; 131 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) SK_OVE RRIDE;
132 132
133 void beginCommentGroup(const char*) SK_OVERRIDE; 133 void beginCommentGroup(const char*) SK_OVERRIDE;
134 void addComment(const char*, const char*) SK_OVERRIDE; 134 void addComment(const char*, const char*) SK_OVERRIDE;
135 void endCommentGroup() SK_OVERRIDE; 135 void endCommentGroup() SK_OVERRIDE;
136 void drawData(const void*, size_t) SK_OVERRIDE;
137 136
138 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) SK_OVERRI DE { return NULL; } 137 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) SK_OVERRI DE { return NULL; }
139 138
140 private: 139 private:
141 template <typename T> 140 template <typename T>
142 T* copy(const T*); 141 T* copy(const T*);
143 142
144 template <typename T> 143 template <typename T>
145 T* copy(const T[], size_t count); 144 T* copy(const T[], size_t count);
146 145
147 SkIRect devBounds() const { 146 SkIRect devBounds() const {
148 SkIRect devBounds; 147 SkIRect devBounds;
149 this->getClipDeviceBounds(&devBounds); 148 this->getClipDeviceBounds(&devBounds);
150 return devBounds; 149 return devBounds;
151 } 150 }
152 151
153 SkRecord* fRecord; 152 SkRecord* fRecord;
154 153
155 SkAutoTDelete<SkCanvasDrawableList> fDrawableList; 154 SkAutoTDelete<SkCanvasDrawableList> fDrawableList;
156 }; 155 };
157 156
158 #endif//SkRecorder_DEFINED 157 #endif//SkRecorder_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698