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

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

Issue 355673002: Rename GrAtlasMgr to GrAtlas (and other cleanup) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 6 years, 5 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/gpu/GrAtlas.cpp ('k') | src/gpu/GrLayerCache.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 * 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
11 #include "GrTextContext.h" 11 #include "GrTextContext.h"
12 12
13 class GrTextStrike; 13 class GrTextStrike;
14 class GrAtlasMgr;
15 14
16 /* 15 /*
17 * This class implements GrTextContext using standard bitmap fonts 16 * This class implements GrTextContext using standard bitmap fonts
18 */ 17 */
19 class GrBitmapTextContext : public GrTextContext { 18 class GrBitmapTextContext : public GrTextContext {
20 public: 19 public:
21 GrBitmapTextContext(GrContext*, const SkDeviceProperties&); 20 GrBitmapTextContext(GrContext*, const SkDeviceProperties&);
22 virtual ~GrBitmapTextContext(); 21 virtual ~GrBitmapTextContext();
23 22
24 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], siz e_t byteLength, 23 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], siz e_t byteLength,
(...skipping 23 matching lines...) Expand all
48 void* fVertices; 47 void* fVertices;
49 int32_t fMaxVertices; 48 int32_t fMaxVertices;
50 GrTexture* fCurrTexture; 49 GrTexture* fCurrTexture;
51 SkAutoTUnref<GrEffectRef> fCachedEffect; 50 SkAutoTUnref<GrEffectRef> fCachedEffect;
52 uint32_t fEffectTextureGenID; 51 uint32_t fEffectTextureGenID;
53 int fCurrVertex; 52 int fCurrVertex;
54 SkRect fVertexBounds; 53 SkRect fVertexBounds;
55 }; 54 };
56 55
57 #endif 56 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAtlas.cpp ('k') | src/gpu/GrLayerCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698