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

Side by Side Diff: src/gpu/text/GrStencilAndCoverTextContext.cpp

Issue 1905383002: Retract SkDevice a bit more (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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/GrLayerHoister.cpp ('k') | src/image/SkImage_Gpu.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 2014 Google Inc. 2 * Copyright 2014 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 "GrStencilAndCoverTextContext.h" 8 #include "GrStencilAndCoverTextContext.h"
9 #include "GrAtlasTextContext.h" 9 #include "GrAtlasTextContext.h"
10 #include "GrContext.h"
10 #include "GrDrawContext.h" 11 #include "GrDrawContext.h"
11 #include "GrPath.h" 12 #include "GrPath.h"
12 #include "GrPathRange.h" 13 #include "GrPathRange.h"
13 #include "GrResourceProvider.h" 14 #include "GrResourceProvider.h"
14 #include "GrTextUtils.h" 15 #include "GrTextUtils.h"
15 #include "SkAutoKern.h" 16 #include "SkAutoKern.h"
16 #include "SkDraw.h" 17 #include "SkDraw.h"
17 #include "SkDrawProcs.h" 18 #include "SkDrawProcs.h"
18 #include "SkGlyphCache.h" 19 #include "SkGlyphCache.h"
19 #include "SkGpuDevice.h"
20 #include "SkGrPriv.h" 20 #include "SkGrPriv.h"
21 #include "SkDrawFilter.h" 21 #include "SkDrawFilter.h"
22 #include "SkPath.h" 22 #include "SkPath.h"
23 #include "SkTextBlobRunIterator.h" 23 #include "SkTextBlobRunIterator.h"
24 #include "SkTextMapStateProc.h" 24 #include "SkTextMapStateProc.h"
25 #include "SkTextFormatParams.h" 25 #include "SkTextFormatParams.h"
26 26
27 #include "batches/GrDrawPathBatch.h" 27 #include "batches/GrDrawPathBatch.h"
28 28
29 template<typename Key, typename Val> static void delete_hash_map_entry(const Key &, Val* val) { 29 template<typename Key, typename Val> static void delete_hash_map_entry(const Key &, Val* val) {
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 } 703 }
704 704
705 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed ed(int *count) { 705 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed ed(int *count) {
706 *count = fCount; 706 *count = fCount;
707 if (fCount) { 707 if (fCount) {
708 this->flush(); 708 this->flush();
709 return fBuilder->build(); 709 return fBuilder->build();
710 } 710 }
711 return nullptr; 711 return nullptr;
712 } 712 }
OLDNEW
« no previous file with comments | « src/gpu/GrLayerHoister.cpp ('k') | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698