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

Side by Side Diff: src/gpu/GrResourceProvider.h

Issue 1872253004: Revert of Pass effects directly to fontcache (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/GrPathRendering.cpp ('k') | src/gpu/GrResourceProvider.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 GrResourceProvider_DEFINED 8 #ifndef GrResourceProvider_DEFINED
9 #define GrResourceProvider_DEFINED 9 #define GrResourceProvider_DEFINED
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 return this->createQuadIndexBuffer(); 79 return this->createQuadIndexBuffer();
80 } 80 }
81 81
82 /** 82 /**
83 * Factories for GrPath and GrPathRange objects. It's an error to call these if path rendering 83 * Factories for GrPath and GrPathRange objects. It's an error to call these if path rendering
84 * is not supported. 84 * is not supported.
85 */ 85 */
86 GrPath* createPath(const SkPath&, const GrStrokeInfo&); 86 GrPath* createPath(const SkPath&, const GrStrokeInfo&);
87 GrPathRange* createPathRange(GrPathRange::PathGenerator*, const GrStrokeInfo &); 87 GrPathRange* createPathRange(GrPathRange::PathGenerator*, const GrStrokeInfo &);
88 GrPathRange* createGlyphs(const SkTypeface*, const SkScalerContextEffects&, 88 GrPathRange* createGlyphs(const SkTypeface*, const SkDescriptor*, const GrSt rokeInfo&);
89 const SkDescriptor*, const GrStrokeInfo&);
90 89
91 using GrTextureProvider::assignUniqueKeyToResource; 90 using GrTextureProvider::assignUniqueKeyToResource;
92 using GrTextureProvider::findAndRefResourceByUniqueKey; 91 using GrTextureProvider::findAndRefResourceByUniqueKey;
93 using GrTextureProvider::findAndRefTextureByUniqueKey; 92 using GrTextureProvider::findAndRefTextureByUniqueKey;
94 using GrTextureProvider::abandon; 93 using GrTextureProvider::abandon;
95 94
96 enum Flags { 95 enum Flags {
97 /** If the caller intends to do direct reads/writes to/from the CPU then this flag must be 96 /** If the caller intends to do direct reads/writes to/from the CPU then this flag must be
98 * set when accessing resources during a GrDrawTarget flush. This inclu des the execution of 97 * set when accessing resources during a GrDrawTarget flush. This inclu des the execution of
99 * GrBatch objects. The reason is that these memory operations are done immediately and 98 * GrBatch objects. The reason is that these memory operations are done immediately and
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 const GrUniqueKey& key); 165 const GrUniqueKey& key);
167 166
168 const GrBuffer* createQuadIndexBuffer(); 167 const GrBuffer* createQuadIndexBuffer();
169 168
170 GrUniqueKey fQuadIndexBufferKey; 169 GrUniqueKey fQuadIndexBufferKey;
171 170
172 typedef GrTextureProvider INHERITED; 171 typedef GrTextureProvider INHERITED;
173 }; 172 };
174 173
175 #endif 174 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPathRendering.cpp ('k') | src/gpu/GrResourceProvider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698