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

Side by Side Diff: src/gpu/GrDistanceFieldTextContext.cpp

Issue 1073473005: Rename DistanceFieldTextureEffect.{cpp,h} (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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/GrAADistanceFieldPathRenderer.cpp ('k') | src/gpu/effects/GrDistanceFieldGeoProc.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 #include "GrDistanceFieldTextContext.h" 8 #include "GrDistanceFieldTextContext.h"
9 #include "GrAtlas.h" 9 #include "GrAtlas.h"
10 #include "GrAtlasTextContext.h" 10 #include "GrAtlasTextContext.h"
(...skipping 10 matching lines...) Expand all
21 21
22 #include "SkAutoKern.h" 22 #include "SkAutoKern.h"
23 #include "SkColorFilter.h" 23 #include "SkColorFilter.h"
24 #include "SkDistanceFieldGen.h" 24 #include "SkDistanceFieldGen.h"
25 #include "SkDraw.h" 25 #include "SkDraw.h"
26 #include "SkGlyphCache.h" 26 #include "SkGlyphCache.h"
27 #include "SkGpuDevice.h" 27 #include "SkGpuDevice.h"
28 #include "SkPath.h" 28 #include "SkPath.h"
29 #include "SkRTConf.h" 29 #include "SkRTConf.h"
30 #include "SkStrokeRec.h" 30 #include "SkStrokeRec.h"
31 #include "effects/GrDistanceFieldTextureEffect.h" 31 #include "effects/GrDistanceFieldGeoProc.h"
32 32
33 SK_CONF_DECLARE(bool, c_DumpFontCache, "gpu.dumpFontCache", false, 33 SK_CONF_DECLARE(bool, c_DumpFontCache, "gpu.dumpFontCache", false,
34 "Dump the contents of the font cache before every purge."); 34 "Dump the contents of the font cache before every purge.");
35 35
36 static const int kMinDFFontSize = 18; 36 static const int kMinDFFontSize = 18;
37 static const int kSmallDFFontSize = 32; 37 static const int kSmallDFFontSize = 32;
38 static const int kSmallDFFontLimit = 32; 38 static const int kSmallDFFontLimit = 32;
39 static const int kMediumDFFontSize = 72; 39 static const int kMediumDFFontSize = 72;
40 static const int kMediumDFFontLimit = 72; 40 static const int kMediumDFFontLimit = 72;
41 static const int kLargeDFFontSize = 162; 41 static const int kLargeDFFontSize = 162;
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 } 819 }
820 } 820 }
821 821
822 inline void GrDistanceFieldTextContext::finish() { 822 inline void GrDistanceFieldTextContext::finish() {
823 this->flush(); 823 this->flush();
824 fTotalVertexCount = 0; 824 fTotalVertexCount = 0;
825 825
826 GrTextContext::finish(); 826 GrTextContext::finish();
827 } 827 }
828 828
OLDNEW
« no previous file with comments | « src/gpu/GrAADistanceFieldPathRenderer.cpp ('k') | src/gpu/effects/GrDistanceFieldGeoProc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698