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

Side by Side Diff: src/utils/SkProxyCanvas.cpp

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/utils/SkNWayCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.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 #include "SkProxyCanvas.h" 8 #include "SkProxyCanvas.h"
9 9
10 SkProxyCanvas::SkProxyCanvas(SkCanvas* proxy) : fProxy(proxy) { 10 SkProxyCanvas::SkProxyCanvas(SkCanvas* proxy) : fProxy(proxy) {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors, 160 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors,
161 xmode, indices, indexCount, paint); 161 xmode, indices, indexCount, paint);
162 } 162 }
163 163
164 void SkProxyCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4 ], 164 void SkProxyCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4 ],
165 const SkPoint texCoords[4], SkXfermode* xmode, 165 const SkPoint texCoords[4], SkXfermode* xmode,
166 const SkPaint& paint) { 166 const SkPaint& paint) {
167 fProxy->drawPatch(cubics, colors, texCoords, xmode, paint); 167 fProxy->drawPatch(cubics, colors, texCoords, xmode, paint);
168 } 168 }
169 169
170 void SkProxyCanvas::drawData(const void* data, size_t length) {
171 fProxy->drawData(data, length);
172 }
173
174 void SkProxyCanvas::beginCommentGroup(const char* description) { 170 void SkProxyCanvas::beginCommentGroup(const char* description) {
175 fProxy->beginCommentGroup(description); 171 fProxy->beginCommentGroup(description);
176 } 172 }
177 173
178 void SkProxyCanvas::addComment(const char* kywd, const char* value) { 174 void SkProxyCanvas::addComment(const char* kywd, const char* value) {
179 fProxy->addComment(kywd, value); 175 fProxy->addComment(kywd, value);
180 } 176 }
181 177
182 void SkProxyCanvas::endCommentGroup() { 178 void SkProxyCanvas::endCommentGroup() {
183 fProxy->endCommentGroup(); 179 fProxy->endCommentGroup();
184 } 180 }
185 181
186 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) { 182 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) {
187 return fProxy->setDrawFilter(filter); 183 return fProxy->setDrawFilter(filter);
188 } 184 }
OLDNEW
« no previous file with comments | « src/utils/SkNWayCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698