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

Side by Side Diff: src/gpu/text/GrAtlasTextContext.h

Issue 1988923002: Remove GrRenderTarget from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 4 years, 6 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/text/GrAtlasTextBlob.cpp ('k') | src/gpu/text/GrStencilAndCoverTextContext.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 GrAtlasTextContext_DEFINED 8 #ifndef GrAtlasTextContext_DEFINED
9 #define GrAtlasTextContext_DEFINED 9 #define GrAtlasTextContext_DEFINED
10 10
11 #include "GrAtlasTextBlob.h" 11 #include "GrAtlasTextBlob.h"
12 #include "GrDistanceFieldAdjustTable.h" 12 #include "GrDistanceFieldAdjustTable.h"
13 #include "GrGeometryProcessor.h" 13 #include "GrGeometryProcessor.h"
14 #include "SkTextBlobRunIterator.h" 14 #include "SkTextBlobRunIterator.h"
15 15
16 #ifdef GR_TEST_UTILS 16 #ifdef GR_TEST_UTILS
17 #include "GrBatchTest.h" 17 #include "GrBatchTest.h"
18 #endif 18 #endif
19 19
20 class GrDrawBatch; 20 class GrDrawBatch;
21 class GrDrawContext; 21 class GrDrawContext;
22 class GrDrawTarget;
23 class GrPipelineBuilder; 22 class GrPipelineBuilder;
24 class GrTextBlobCache; 23 class GrTextBlobCache;
25 class SkGlyph; 24 class SkGlyph;
26 25
27 /* 26 /*
28 * Renders text using some kind of an atlas, ie BitmapText or DistanceField text 27 * Renders text using some kind of an atlas, ie BitmapText or DistanceField text
29 */ 28 */
30 class GrAtlasTextContext { 29 class GrAtlasTextContext {
31 public: 30 public:
32 static GrAtlasTextContext* Create(); 31 static GrAtlasTextContext* Create();
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; 89 SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable;
91 90
92 #ifdef GR_TEST_UTILS 91 #ifdef GR_TEST_UTILS
93 static const uint32_t kTextBlobBatchScalerContextFlags = 92 static const uint32_t kTextBlobBatchScalerContextFlags =
94 SkPaint::kFakeGammaAndBoostContrast_ScalerContextFlags; 93 SkPaint::kFakeGammaAndBoostContrast_ScalerContextFlags;
95 DRAW_BATCH_TEST_FRIEND(TextBlobBatch); 94 DRAW_BATCH_TEST_FRIEND(TextBlobBatch);
96 #endif 95 #endif
97 }; 96 };
98 97
99 #endif 98 #endif
OLDNEW
« no previous file with comments | « src/gpu/text/GrAtlasTextBlob.cpp ('k') | src/gpu/text/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698