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

Side by Side Diff: src/core/SkPictureFlat.h

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/core/SkPictureData.cpp ('k') | src/core/SkPicturePlayback.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 #ifndef SkPictureFlat_DEFINED 8 #ifndef SkPictureFlat_DEFINED
9 #define SkPictureFlat_DEFINED 9 #define SkPictureFlat_DEFINED
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 COMMENT, 62 COMMENT,
63 END_COMMENT_GROUP, 63 END_COMMENT_GROUP,
64 64
65 // new ops -- feel free to re-alphabetize on next version bump 65 // new ops -- feel free to re-alphabetize on next version bump
66 DRAW_DRRECT, 66 DRAW_DRRECT,
67 PUSH_CULL, 67 PUSH_CULL,
68 POP_CULL, 68 POP_CULL,
69 69
70 DRAW_PATCH, // could not add in aphabetical order 70 DRAW_PATCH, // could not add in aphabetical order
71 DRAW_PICTURE_MATRIX_PAINT, 71 DRAW_PICTURE_MATRIX_PAINT,
72 DRAW_TEXT_BLOB,
72 73
73 LAST_DRAWTYPE_ENUM = DRAW_PICTURE_MATRIX_PAINT 74 LAST_DRAWTYPE_ENUM = DRAW_TEXT_BLOB
74 }; 75 };
75 76
76 // In the 'match' method, this constant will match any flavor of DRAW_BITMAP* 77 // In the 'match' method, this constant will match any flavor of DRAW_BITMAP*
77 static const int kDRAW_BITMAP_FLAVOR = LAST_DRAWTYPE_ENUM+1; 78 static const int kDRAW_BITMAP_FLAVOR = LAST_DRAWTYPE_ENUM+1;
78 79
79 enum DrawVertexFlags { 80 enum DrawVertexFlags {
80 DRAW_VERTICES_HAS_TEXS = 0x01, 81 DRAW_VERTICES_HAS_TEXS = 0x01,
81 DRAW_VERTICES_HAS_COLORS = 0x02, 82 DRAW_VERTICES_HAS_COLORS = 0x02,
82 DRAW_VERTICES_HAS_INDICES = 0x04, 83 DRAW_VERTICES_HAS_INDICES = 0x04,
83 DRAW_VERTICES_HAS_XFER = 0x08, 84 DRAW_VERTICES_HAS_XFER = 0x08,
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 } 602 }
602 603
603 private: 604 private:
604 SkChunkAlloc fHeap; 605 SkChunkAlloc fHeap;
605 SkAutoTUnref<SkRefCntSet> fTypefaceSet; 606 SkAutoTUnref<SkRefCntSet> fTypefaceSet;
606 void* fLastAllocated; 607 void* fLastAllocated;
607 mutable SkTypefacePlayback fTypefacePlayback; 608 mutable SkTypefacePlayback fTypefacePlayback;
608 }; 609 };
609 610
610 #endif 611 #endif
OLDNEW
« no previous file with comments | « src/core/SkPictureData.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698