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

Side by Side Diff: src/gpu/GrBitmapTextContext.h

Issue 640413004: Revert of Fix color emoji. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « include/gpu/GrGlyph.h ('k') | src/gpu/GrBitmapTextContext.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 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrBitmapTextContext_DEFINED 8 #ifndef GrBitmapTextContext_DEFINED
9 #define GrBitmapTextContext_DEFINED 9 #define GrBitmapTextContext_DEFINED
10 10
(...skipping 22 matching lines...) Expand all
33 private: 33 private:
34 enum { 34 enum {
35 kMinRequestedGlyphs = 1, 35 kMinRequestedGlyphs = 1,
36 kDefaultRequestedGlyphs = 64, 36 kDefaultRequestedGlyphs = 64,
37 kMinRequestedVerts = kMinRequestedGlyphs * 4, 37 kMinRequestedVerts = kMinRequestedGlyphs * 4,
38 kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4, 38 kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4,
39 }; 39 };
40 40
41 GrTextStrike* fStrike; 41 GrTextStrike* fStrike;
42 void* fVertices; 42 void* fVertices;
43 int fCurrVertex; 43 int32_t fMaxVertices;
44 int fMaxVertices;
45 SkRect fVertexBounds;
46 GrTexture* fCurrTexture; 44 GrTexture* fCurrTexture;
47 GrMaskFormat fCurrMaskFormat;
48 SkAutoTUnref<GrGeometryProcessor> fCachedGeometryProcessor; 45 SkAutoTUnref<GrGeometryProcessor> fCachedGeometryProcessor;
49 // Used to check whether fCachedEffect is still valid. 46 // Used to check whether fCachedEffect is still valid.
50 uint32_t fEffectTextureUniqueID; 47 uint32_t fEffectTextureUniqueID;
48 int fCurrVertex;
49 SkRect fVertexBounds;
51 50
52 void init(const GrPaint&, const SkPaint&); 51 void init(const GrPaint&, const SkPaint&);
53 void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler* ); 52 void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler* );
54 void flush(); // automatically called by destructor 53 void flush(); // automatically called by destructor
55 void finish(); 54 void finish();
56 55
57 }; 56 };
58 57
59 #endif 58 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrGlyph.h ('k') | src/gpu/GrBitmapTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698