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

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

Issue 761563002: First step to moving vertex attributes to the geometryProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more cleanup Created 6 years 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
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 GrDrawState;
jvanverth1 2014/12/01 16:00:03 Do you need to add this?
13 class GrGeometryProcessor; 14 class GrGeometryProcessor;
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
(...skipping 23 matching lines...) Expand all
46 const SkScalar pos[], int scalarsPerPosition, 47 const SkScalar pos[], int scalarsPerPosition,
47 const SkPoint& offset) SK_OVERRIDE; 48 const SkPoint& offset) SK_OVERRIDE;
48 49
49 void init(const GrPaint&, const SkPaint&); 50 void init(const GrPaint&, const SkPaint&);
50 void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler* ); 51 void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler* );
51 void flush(); // automatically called by destructor 52 void flush(); // automatically called by destructor
52 void finish(); 53 void finish();
53 }; 54 };
54 55
55 #endif 56 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698