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

Side by Side Diff: src/gpu/batches/GrAtlasTextBatch.h

Issue 1521453002: Move all text stuff to its own folder (Closed) Base URL: https://skia.googlesource.com/skia.git@cleanuptext11textutils2
Patch Set: Created 5 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
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrAtlasTextBatch.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 2015 Google Inc. 2 * Copyright 2015 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 GrAtlasTextBatch_DEFINED 8 #ifndef GrAtlasTextBatch_DEFINED
9 #define GrAtlasTextBatch_DEFINED 9 #define GrAtlasTextBatch_DEFINED
10 10
11 #include "batches/GrVertexBatch.h" 11 #include "batches/GrVertexBatch.h"
12 12
13 #include "GrAtlasTextContext.h" 13 #include "text/GrAtlasTextContext.h"
14 #include "GrDistanceFieldAdjustTable.h" 14 #include "text/GrDistanceFieldAdjustTable.h"
15 15
16 class GrAtlasTextBatch : public GrVertexBatch { 16 class GrAtlasTextBatch : public GrVertexBatch {
17 public: 17 public:
18 DEFINE_BATCH_CLASS_ID 18 DEFINE_BATCH_CLASS_ID
19 19
20 static const int kVerticesPerGlyph = GrAtlasTextBlob::kVerticesPerGlyph; 20 static const int kVerticesPerGlyph = GrAtlasTextBlob::kVerticesPerGlyph;
21 static const int kIndicesPerGlyph = 6; 21 static const int kIndicesPerGlyph = 6;
22 22
23 typedef GrAtlasTextBlob Blob; 23 typedef GrAtlasTextBlob Blob;
24 typedef Blob::Run Run; 24 typedef Blob::Run Run;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 GrBatchFontCache* fFontCache; 197 GrBatchFontCache* fFontCache;
198 198
199 // Distance field properties 199 // Distance field properties
200 SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; 200 SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable;
201 SkColor fFilteredColor; 201 SkColor fFilteredColor;
202 202
203 typedef GrVertexBatch INHERITED; 203 typedef GrVertexBatch INHERITED;
204 }; 204 };
205 205
206 #endif 206 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrAtlasTextBatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698