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

Side by Side Diff: src/pipe/SkGPipeRead.cpp

Issue 499413002: SkTextBlob plumbing (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: review comments Created 6 years, 3 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/pipe/SkGPipePriv.h ('k') | src/pipe/SkGPipeWrite.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 8
9 9
10 #include "SkBitmapHeap.h" 10 #include "SkBitmapHeap.h"
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 if (state->shouldDraw()) { 663 if (state->shouldDraw()) {
664 canvas->drawData(data, size); 664 canvas->drawData(data, size);
665 } 665 }
666 } 666 }
667 667
668 static void drawPicture_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, 668 static void drawPicture_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32,
669 SkGPipeState* state) { 669 SkGPipeState* state) {
670 UNIMPLEMENTED 670 UNIMPLEMENTED
671 } 671 }
672 672
673 static void drawTextBlob_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32,
674 SkGPipeState* state) {
675 UNIMPLEMENTED
676 }
673 /////////////////////////////////////////////////////////////////////////////// 677 ///////////////////////////////////////////////////////////////////////////////
674 678
675 static void paintOp_rp(SkCanvas*, SkReader32* reader, uint32_t op32, 679 static void paintOp_rp(SkCanvas*, SkReader32* reader, uint32_t op32,
676 SkGPipeState* state) { 680 SkGPipeState* state) {
677 size_t offset = reader->offset(); 681 size_t offset = reader->offset();
678 size_t stop = offset + PaintOp_unpackData(op32); 682 size_t stop = offset + PaintOp_unpackData(op32);
679 SkPaint* p = state->editPaint(); 683 SkPaint* p = state->editPaint();
680 684
681 do { 685 do {
682 uint32_t p32 = reader->readU32(); 686 uint32_t p32 = reader->readU32();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 drawPatch_rp, 811 drawPatch_rp,
808 drawPath_rp, 812 drawPath_rp,
809 drawPicture_rp, 813 drawPicture_rp,
810 drawPoints_rp, 814 drawPoints_rp,
811 drawPosText_rp, 815 drawPosText_rp,
812 drawPosTextH_rp, 816 drawPosTextH_rp,
813 drawRect_rp, 817 drawRect_rp,
814 drawRRect_rp, 818 drawRRect_rp,
815 drawSprite_rp, 819 drawSprite_rp,
816 drawText_rp, 820 drawText_rp,
821 drawTextBlob_rp,
817 drawTextOnPath_rp, 822 drawTextOnPath_rp,
818 drawVertices_rp, 823 drawVertices_rp,
819 restore_rp, 824 restore_rp,
820 rotate_rp, 825 rotate_rp,
821 save_rp, 826 save_rp,
822 saveLayer_rp, 827 saveLayer_rp,
823 scale_rp, 828 scale_rp,
824 setMatrix_rp, 829 setMatrix_rp,
825 skew_rp, 830 skew_rp,
826 translate_rp, 831 translate_rp,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 status = kReadAtom_Status; 932 status = kReadAtom_Status;
928 break; 933 break;
929 } 934 }
930 } 935 }
931 936
932 if (bytesRead) { 937 if (bytesRead) {
933 *bytesRead = reader.offset(); 938 *bytesRead = reader.offset();
934 } 939 }
935 return status; 940 return status;
936 } 941 }
OLDNEW
« no previous file with comments | « src/pipe/SkGPipePriv.h ('k') | src/pipe/SkGPipeWrite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698