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

Side by Side Diff: src/utils/SkNWayCanvas.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/SkLuaCanvas.cpp ('k') | src/utils/SkProxyCanvas.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 /* 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 "SkNWayCanvas.h" 8 #include "SkNWayCanvas.h"
9 9
10 SkNWayCanvas::SkNWayCanvas(int width, int height) 10 SkNWayCanvas::SkNWayCanvas(int width, int height)
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4] , 298 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4] ,
299 const SkPoint texCoords[4], SkXfermode* xmode, 299 const SkPoint texCoords[4], SkXfermode* xmode,
300 const SkPaint& paint) { 300 const SkPaint& paint) {
301 Iter iter(fList); 301 Iter iter(fList);
302 while (iter.next()) { 302 while (iter.next()) {
303 iter->drawPatch(cubics, colors, texCoords, xmode, paint); 303 iter->drawPatch(cubics, colors, texCoords, xmode, paint);
304 } 304 }
305 } 305 }
306 306
307 void SkNWayCanvas::drawData(const void* data, size_t length) {
308 Iter iter(fList);
309 while (iter.next()) {
310 iter->drawData(data, length);
311 }
312 }
313
314 SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) { 307 SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) {
315 Iter iter(fList); 308 Iter iter(fList);
316 while (iter.next()) { 309 while (iter.next()) {
317 iter->setDrawFilter(filter); 310 iter->setDrawFilter(filter);
318 } 311 }
319 return this->INHERITED::setDrawFilter(filter); 312 return this->INHERITED::setDrawFilter(filter);
320 } 313 }
321 314
322 void SkNWayCanvas::beginCommentGroup(const char* description) { 315 void SkNWayCanvas::beginCommentGroup(const char* description) {
323 Iter iter(fList); 316 Iter iter(fList);
324 while (iter.next()) { 317 while (iter.next()) {
325 iter->beginCommentGroup(description); 318 iter->beginCommentGroup(description);
326 } 319 }
327 } 320 }
328 321
329 void SkNWayCanvas::addComment(const char* kywd, const char* value) { 322 void SkNWayCanvas::addComment(const char* kywd, const char* value) {
330 Iter iter(fList); 323 Iter iter(fList);
331 while (iter.next()) { 324 while (iter.next()) {
332 iter->addComment(kywd, value); 325 iter->addComment(kywd, value);
333 } 326 }
334 } 327 }
335 328
336 void SkNWayCanvas::endCommentGroup() { 329 void SkNWayCanvas::endCommentGroup() {
337 Iter iter(fList); 330 Iter iter(fList);
338 while (iter.next()) { 331 while (iter.next()) {
339 iter->endCommentGroup(); 332 iter->endCommentGroup();
340 } 333 }
341 } 334 }
OLDNEW
« no previous file with comments | « src/utils/SkLuaCanvas.cpp ('k') | src/utils/SkProxyCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698