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

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

Issue 1045723010: move Atlas Text Context to its own file (Closed) Base URL: https://skia.googlesource.com/skia.git@bmptext3
Patch Set: rebase 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/GrContext.cpp ('k') | src/gpu/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 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 "GrBitmapTextContext.h" 11 #include "GrBitmapTextContext.h"
11 #include "GrDrawTarget.h" 12 #include "GrDrawTarget.h"
12 #include "GrDrawTargetCaps.h" 13 #include "GrDrawTargetCaps.h"
13 #include "GrFontAtlasSizes.h" 14 #include "GrFontAtlasSizes.h"
14 #include "GrFontCache.h" 15 #include "GrFontCache.h"
15 #include "GrFontScaler.h" 16 #include "GrFontScaler.h"
16 #include "GrGpu.h" 17 #include "GrGpu.h"
17 #include "GrIndexBuffer.h" 18 #include "GrIndexBuffer.h"
18 #include "GrStrokeInfo.h" 19 #include "GrStrokeInfo.h"
19 #include "GrTexturePriv.h" 20 #include "GrTexturePriv.h"
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 } 737 }
737 } 738 }
738 739
739 inline void GrDistanceFieldTextContext::finish() { 740 inline void GrDistanceFieldTextContext::finish() {
740 this->flush(); 741 this->flush();
741 fTotalVertexCount = 0; 742 fTotalVertexCount = 0;
742 743
743 GrTextContext::finish(); 744 GrTextContext::finish();
744 } 745 }
745 746
OLDNEW
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698