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

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

Issue 975303005: Creation of GrBatchAtlas and Distancefieldpathrenderer batch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nit Created 5 years, 9 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/GrBatchTarget.cpp ('k') | src/gpu/GrDrawTarget.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 GrGeometryProcessor; 13 #include "GrGeometryProcessor.h"
14
14 class GrTextStrike; 15 class GrTextStrike;
15 16
16 /* 17 /*
17 * This class implements GrTextContext using standard bitmap fonts 18 * This class implements GrTextContext using standard bitmap fonts
18 */ 19 */
19 class GrBitmapTextContext : public GrTextContext { 20 class GrBitmapTextContext : public GrTextContext {
20 public: 21 public:
21 static GrBitmapTextContext* Create(GrContext*, const SkDeviceProperties&); 22 static GrBitmapTextContext* Create(GrContext*, const SkDeviceProperties&);
22 23
23 virtual ~GrBitmapTextContext() {} 24 virtual ~GrBitmapTextContext() {}
(...skipping 26 matching lines...) Expand all
50 const SkPoint& offset) SK_OVERRIDE; 51 const SkPoint& offset) SK_OVERRIDE;
51 52
52 void init(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&); 53 void init(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&);
53 void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler* ); 54 void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler* );
54 bool uploadGlyph(GrGlyph*, GrFontScaler*); 55 bool uploadGlyph(GrGlyph*, GrFontScaler*);
55 void flush(); // automatically called by destructor 56 void flush(); // automatically called by destructor
56 void finish(); 57 void finish();
57 }; 58 };
58 59
59 #endif 60 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrBatchTarget.cpp ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698