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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.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/debugger/SkDebugCanvas.h ('k') | src/utils/debugger/SkDrawCommand.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 2012 Google Inc. 3 * Copyright 2012 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 8
9 9
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 const SkPaint* paint, 441 const SkPaint* paint,
442 SkCanvas::DrawBitmapRectFlags flags) { 442 SkCanvas::DrawBitmapRectFlags flags) {
443 this->addDrawCommand(new SkDrawBitmapRectCommand(bitmap, src, dst, paint, fl ags)); 443 this->addDrawCommand(new SkDrawBitmapRectCommand(bitmap, src, dst, paint, fl ags));
444 } 444 }
445 445
446 void SkDebugCanvas::drawBitmapNine(const SkBitmap& bitmap, 446 void SkDebugCanvas::drawBitmapNine(const SkBitmap& bitmap,
447 const SkIRect& center, const SkRect& dst, const SkPaint* paint) { 447 const SkIRect& center, const SkRect& dst, const SkPaint* paint) {
448 this->addDrawCommand(new SkDrawBitmapNineCommand(bitmap, center, dst, paint) ); 448 this->addDrawCommand(new SkDrawBitmapNineCommand(bitmap, center, dst, paint) );
449 } 449 }
450 450
451 void SkDebugCanvas::drawData(const void* data, size_t length) {
452 this->addDrawCommand(new SkDrawDataCommand(data, length));
453 }
454
455 void SkDebugCanvas::beginCommentGroup(const char* description) { 451 void SkDebugCanvas::beginCommentGroup(const char* description) {
456 this->addDrawCommand(new SkBeginCommentGroupCommand(description)); 452 this->addDrawCommand(new SkBeginCommentGroupCommand(description));
457 } 453 }
458 454
459 void SkDebugCanvas::addComment(const char* kywd, const char* value) { 455 void SkDebugCanvas::addComment(const char* kywd, const char* value) {
460 this->addDrawCommand(new SkCommentCommand(kywd, value)); 456 this->addDrawCommand(new SkCommentCommand(kywd, value));
461 } 457 }
462 458
463 void SkDebugCanvas::endCommentGroup() { 459 void SkDebugCanvas::endCommentGroup() {
464 this->addDrawCommand(new SkEndCommentGroupCommand()); 460 this->addDrawCommand(new SkEndCommentGroupCommand());
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 } 682 }
687 683
688 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { 684 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) {
689 if (fCalledAddStackData) { 685 if (fCalledAddStackData) {
690 fClipStackData.appendf("<br>"); 686 fClipStackData.appendf("<br>");
691 addPathData(devPath, "pathOut"); 687 addPathData(devPath, "pathOut");
692 return true; 688 return true;
693 } 689 }
694 return false; 690 return false;
695 } 691 }
OLDNEW
« no previous file with comments | « src/utils/debugger/SkDebugCanvas.h ('k') | src/utils/debugger/SkDrawCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698