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

Side by Side Diff: include/gpu/GrTypesPriv.h

Issue 608883003: GrResourceCache2 manages scratch texture. (Closed) Base URL: https://skia.googlesource.com/skia.git@surfimpl
Patch Set: remove todo Created 6 years, 2 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 | « include/gpu/GrTexture.h ('k') | include/gpu/SkGr.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 #ifndef GrTypesPriv_DEFINED 8 #ifndef GrTypesPriv_DEFINED
9 #define GrTypesPriv_DEFINED 9 #define GrTypesPriv_DEFINED
10 10
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 case kInverseFillBW_GrProcessorEdgeType: 210 case kInverseFillBW_GrProcessorEdgeType:
211 return kFillBW_GrProcessorEdgeType; 211 return kFillBW_GrProcessorEdgeType;
212 case kInverseFillAA_GrProcessorEdgeType: 212 case kInverseFillAA_GrProcessorEdgeType:
213 return kFillAA_GrProcessorEdgeType; 213 return kFillAA_GrProcessorEdgeType;
214 case kHairlineAA_GrProcessorEdgeType: 214 case kHairlineAA_GrProcessorEdgeType:
215 SkFAIL("Hairline fill isn't invertible."); 215 SkFAIL("Hairline fill isn't invertible.");
216 } 216 }
217 return kFillAA_GrProcessorEdgeType; // suppress warning. 217 return kFillAA_GrProcessorEdgeType; // suppress warning.
218 } 218 }
219 219
220 /**
221 * Indicates the type of pending IO operations that can be recorded for gpu reso urces.
222 */
223 enum GrIOType {
224 kRead_GrIOType,
225 kWrite_GrIOType,
226 kRW_GrIOType
227 };
228
220 #endif 229 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrTexture.h ('k') | include/gpu/SkGr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698