Home
last modified time | relevance | path

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

/external/skia/tools/flags/
DSkCommonFlagsConfig.h55 typedef sk_gpu_test::GrContextFactory::ContextOverrides ContextOverrides; typedef
62 ContextOverrides getContextOverrides() const { return fContextOverrides; } in getContextOverrides()
64 SkASSERT(!(fContextOverrides & ContextOverrides::kRequireNVPRSupport) || in getUseNVPR()
65 !(fContextOverrides & ContextOverrides::kDisableNVPR)); in getUseNVPR()
66 return fContextOverrides & ContextOverrides::kRequireNVPRSupport; in getUseNVPR()
68 bool getUseInstanced() const { return fContextOverrides & ContextOverrides::kUseInstanced; } in getUseInstanced()
77 ContextOverrides fContextOverrides;
DSkCommonFlagsConfig.cpp206 , fContextOverrides(ContextOverrides::kNone) in SkCommandLineConfigGpu()
213 fContextOverrides |= ContextOverrides::kRequireNVPRSupport; in SkCommandLineConfigGpu()
217 fContextOverrides |= ContextOverrides::kDisableNVPR; in SkCommandLineConfigGpu()
220 fContextOverrides |= ContextOverrides::kUseInstanced; in SkCommandLineConfigGpu()
230 fContextOverrides |= ContextOverrides::kRequireSRGBSupport; in SkCommandLineConfigGpu()
231 fContextOverrides |= ContextOverrides::kAllowSRGBWithoutDecodeControl; in SkCommandLineConfigGpu()
234 fContextOverrides |= ContextOverrides::kAvoidStencilBuffers; in SkCommandLineConfigGpu()
/external/skia/tools/gpu/
DGrContextFactory.h57 enum class ContextOverrides { enum
140 ContextOverrides overrides = ContextOverrides::kNone);
152 GrContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone);
156 ContextInfo getContextInfoInternal(ContextType type, ContextOverrides overrides,
161 ContextOverrides fOverrides;
211 GR_MAKE_BITFIELD_CLASS_OPS(sk_gpu_test::GrContextFactory::ContextOverrides);
DGrContextFactory.cpp102 GrContext* GrContextFactory::get(ContextType type, ContextOverrides overrides) { in get()
106 ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOverrides overrides, in getContextInfoInternal()
185 ContextOverrides::kRequireNVPRSupport & overrides, glShareContext); in getContextInfoInternal()
206 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
240 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
256 if (ContextOverrides::kDisableNVPR & overrides) { in getContextInfoInternal()
259 if (ContextOverrides::kUseInstanced & overrides) { in getContextInfoInternal()
262 if (ContextOverrides::kAllowSRGBWithoutDecodeControl & overrides) { in getContextInfoInternal()
265 if (ContextOverrides::kAvoidStencilBuffers & overrides) { in getContextInfoInternal()
275 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
[all …]
/external/skia/dm/
DDMGpuSupport.h34 sk_gpu_test::GrContextFactory::ContextOverrides overrides, in NewGpuSurface()
84 enum class ContextOverrides {}; enum
99 sk_gpu_test::GrContextFactory::ContextOverrides, in NewGpuSurface() argument
DDMSrcSink.h308 sk_gpu_test::GrContextFactory::ContextOverrides, int samples, bool diText,
322 sk_gpu_test::GrContextFactory::ContextOverrides fContextOverrides;
DDM.cpp848 GrContextFactory::ContextOverrides contextOverrides = gpuConfig->getContextOverrides(); in create_sink()
1431 GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts()
1440 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in RunWithGPUTestContexts()
DDMSrcSink.cpp1299 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);
DSurfaceSemaphoreTest.cpp157 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
DTestConfigParsing.cpp194 SkCommandLineConfigGpu::ContextOverrides::kAvoidStencilBuffers)); in DEF_TEST()
/external/skia/bench/
Dnanobench.h33 sk_gpu_test::GrContextFactory::ContextOverrides ctxOverrides;
Dnanobench.cpp404 #define kBogusContextOverrides GrContextFactory::ContextOverrides::kNone