Home
last modified time | relevance | path

Searched refs:ContextOverrides (Results 1 – 12 of 12) sorted by relevance

/external/skia/tools/flags/
DSkCommonFlagsConfig.h55 typedef sk_gpu_test::GrContextFactory::ContextOverrides ContextOverrides; typedef
61 ContextOverrides getContextOverrides() const { return fContextOverrides; } in getContextOverrides()
63 SkASSERT(!(fContextOverrides & ContextOverrides::kRequireNVPRSupport) || in getUseNVPR()
64 !(fContextOverrides & ContextOverrides::kDisableNVPR)); in getUseNVPR()
65 return fContextOverrides & ContextOverrides::kRequireNVPRSupport; in getUseNVPR()
67 bool getUseInstanced() const { return fContextOverrides & ContextOverrides::kUseInstanced; } in getUseInstanced()
75 ContextOverrides fContextOverrides;
DSkCommonFlagsConfig.cpp187 , fContextOverrides(ContextOverrides::kNone) in SkCommandLineConfigGpu()
193 fContextOverrides |= ContextOverrides::kRequireNVPRSupport; in SkCommandLineConfigGpu()
197 fContextOverrides |= ContextOverrides::kDisableNVPR; in SkCommandLineConfigGpu()
200 fContextOverrides |= ContextOverrides::kUseInstanced; in SkCommandLineConfigGpu()
210 fContextOverrides |= ContextOverrides::kRequireSRGBSupport; in SkCommandLineConfigGpu()
211 fContextOverrides |= ContextOverrides::kAllowSRGBWithoutDecodeControl; in SkCommandLineConfigGpu()
/external/skia/tools/gpu/
DGrContextFactory.h92 enum class ContextOverrides { enum
134 ContextOverrides overrides = ContextOverrides::kNone);
146 GrContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone) {
152 ContextInfo getContextInfoInternal(ContextType type, ContextOverrides overrides,
157 ContextOverrides fOverrides;
172 GR_MAKE_BITFIELD_CLASS_OPS(sk_gpu_test::GrContextFactory::ContextOverrides);
DGrContextFactory.cpp98 ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOverrides overrides, in getContextInfoInternal()
175 ContextOverrides::kRequireNVPRSupport & overrides, glShareContext); in getContextInfoInternal()
198 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
224 if (ContextOverrides::kDisableNVPR & overrides) { in getContextInfoInternal()
227 if (ContextOverrides::kUseInstanced & overrides) { in getContextInfoInternal()
230 if (ContextOverrides::kAllowSRGBWithoutDecodeControl & overrides) { in getContextInfoInternal()
237 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
242 if (ContextOverrides::kUseInstanced & overrides) { in getContextInfoInternal()
247 if (ContextOverrides::kRequireSRGBSupport & overrides) { in getContextInfoInternal()
265 ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOverrides overrides) { in getContextInfo()
/external/skia/dm/
DDMGpuSupport.h34 sk_gpu_test::GrContextFactory::ContextOverrides overrides, in NewGpuSurface()
83 enum class ContextOverrides {}; enum
98 sk_gpu_test::GrContextFactory::ContextOverrides, in NewGpuSurface() argument
DDMSrcSink.h309 sk_gpu_test::GrContextFactory::ContextOverrides,
323 sk_gpu_test::GrContextFactory::ContextOverrides fContextOverrides;
DDM.cpp852 GrContextFactory::ContextOverrides contextOverrides = gpuConfig->getContextOverrides(); in create_sink()
1506 GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts()
1515 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in RunWithGPUTestContexts()
DDMSrcSink.cpp1240 GrContextFactory::ContextOverrides overrides, in GPUSink()
/external/skia/tools/skiaserve/
DRequest.cpp77 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
80 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
84 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
134 GrContextFactory::ContextOverrides::kNone); in getContext()
137 GrContextFactory::ContextOverrides::kNone); in getContext()
141 GrContextFactory::ContextOverrides::kNone); in getContext()
/external/skia/tests/
DGrContextFactoryTest.cpp26 GrContextFactory::ContextOverrides::kRequireNVPRSupport);
43 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kDisableNVPR);
61 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kRequireSRGBSupport);
/external/skia/bench/
Dnanobench.h33 sk_gpu_test::GrContextFactory::ContextOverrides ctxOverrides;
Dnanobench.cpp399 #define kBogusContextOverrides GrContextFactory::ContextOverrides::kNone