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

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

Issue 1411723005: Make SkTextBlob::RunIterator public. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-10-27 (Tuesday) 15:53:46 EDT Created 5 years, 1 month 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
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 "GrDrawContext.h" 10 #include "GrDrawContext.h"
11 #include "GrDrawTarget.h" 11 #include "GrDrawTarget.h"
12 #include "GrPath.h" 12 #include "GrPath.h"
13 #include "GrPathRange.h" 13 #include "GrPathRange.h"
14 #include "GrResourceProvider.h" 14 #include "GrResourceProvider.h"
15 #include "SkAutoKern.h" 15 #include "SkAutoKern.h"
16 #include "SkDraw.h" 16 #include "SkDraw.h"
17 #include "SkDrawProcs.h" 17 #include "SkDrawProcs.h"
18 #include "SkGlyphCache.h" 18 #include "SkGlyphCache.h"
19 #include "SkGpuDevice.h" 19 #include "SkGpuDevice.h"
20 #include "SkGrPriv.h" 20 #include "SkGrPriv.h"
21 #include "SkPath.h" 21 #include "SkPath.h"
22 #include "SkTextBlobPriv.h"
22 #include "SkTextMapStateProc.h" 23 #include "SkTextMapStateProc.h"
23 #include "SkTextFormatParams.h" 24 #include "SkTextFormatParams.h"
24 25
25 #include "batches/GrDrawPathBatch.h" 26 #include "batches/GrDrawPathBatch.h"
26 27
27 template<typename Key, typename Val> static void delete_hash_map_entry(const Key &, Val* val) { 28 template<typename Key, typename Val> static void delete_hash_map_entry(const Key &, Val* val) {
28 SkASSERT(*val); 29 SkASSERT(*val);
29 delete *val; 30 delete *val;
30 } 31 }
31 32
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 fBuffIdx = 0; 601 fBuffIdx = 0;
601 } 602 }
602 603
603 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfInit ialized() { 604 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfInit ialized() {
604 if (!this->isInitialized()) { 605 if (!this->isInitialized()) {
605 return nullptr; 606 return nullptr;
606 } 607 }
607 this->flush(); 608 this->flush();
608 return fBuilder->build(); 609 return fBuilder->build();
609 } 610 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698