Home
last modified time | relevance | path

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

12

/external/skqp/tools/gpu/
DGrContextFactory.h55 enum class ContextOverrides { enum
130 ContextOverrides overrides = ContextOverrides::kNone);
142 GrContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone);
146 ContextInfo getContextInfoInternal(ContextType type, ContextOverrides overrides,
151 ContextOverrides fOverrides;
201 GR_MAKE_BITFIELD_CLASS_OPS(sk_gpu_test::GrContextFactory::ContextOverrides);
DGrContextFactory.cpp116 GrContext* GrContextFactory::get(ContextType type, ContextOverrides overrides) { in get()
120 ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOverrides overrides, in getContextInfoInternal()
193 ContextOverrides::kRequireNVPRSupport & overrides, glShareContext); in getContextInfoInternal()
209 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
242 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
257 if (ContextOverrides::kDisableNVPR & overrides) { in getContextInfoInternal()
260 if (ContextOverrides::kAvoidStencilBuffers & overrides) { in getContextInfoInternal()
271 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
293 ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOverrides overrides) { in getContextInfo()
/external/skia/tools/gpu/
DGrContextFactory.h55 enum class ContextOverrides { enum
130 ContextOverrides overrides = ContextOverrides::kNone);
142 GrContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone);
146 ContextInfo getContextInfoInternal(ContextType type, ContextOverrides overrides,
151 ContextOverrides fOverrides;
201 GR_MAKE_BITFIELD_CLASS_OPS(sk_gpu_test::GrContextFactory::ContextOverrides);
DGrContextFactory.cpp116 GrContext* GrContextFactory::get(ContextType type, ContextOverrides overrides) { in get()
120 ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOverrides overrides, in getContextInfoInternal()
193 ContextOverrides::kRequireNVPRSupport & overrides, glShareContext); in getContextInfoInternal()
209 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
242 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
257 if (ContextOverrides::kDisableNVPR & overrides) { in getContextInfoInternal()
260 if (ContextOverrides::kAvoidStencilBuffers & overrides) { in getContextInfoInternal()
271 if (ContextOverrides::kRequireNVPRSupport & overrides) { in getContextInfoInternal()
293 ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOverrides overrides) { in getContextInfo()
/external/skqp/tools/flags/
DSkCommonFlagsConfig.h54 typedef sk_gpu_test::GrContextFactory::ContextOverrides ContextOverrides; typedef
64 ContextOverrides getContextOverrides() const { return fContextOverrides; } in getContextOverrides()
66 SkASSERT(!(fContextOverrides & ContextOverrides::kRequireNVPRSupport) || in getUseNVPR()
67 !(fContextOverrides & ContextOverrides::kDisableNVPR)); in getUseNVPR()
68 return fContextOverrides & ContextOverrides::kRequireNVPRSupport; in getUseNVPR()
81 ContextOverrides fContextOverrides;
DSkCommonFlagsConfig.cpp431 , fContextOverrides(ContextOverrides::kNone) in SkCommandLineConfigGpu()
441 fContextOverrides |= ContextOverrides::kRequireNVPRSupport; in SkCommandLineConfigGpu()
445 fContextOverrides |= ContextOverrides::kDisableNVPR; in SkCommandLineConfigGpu()
448 fContextOverrides |= ContextOverrides::kAvoidStencilBuffers; in SkCommandLineConfigGpu()
/external/skia/tools/flags/
DSkCommonFlagsConfig.h54 typedef sk_gpu_test::GrContextFactory::ContextOverrides ContextOverrides; typedef
64 ContextOverrides getContextOverrides() const { return fContextOverrides; } in getContextOverrides()
66 SkASSERT(!(fContextOverrides & ContextOverrides::kRequireNVPRSupport) || in getUseNVPR()
67 !(fContextOverrides & ContextOverrides::kDisableNVPR)); in getUseNVPR()
68 return fContextOverrides & ContextOverrides::kRequireNVPRSupport; in getUseNVPR()
81 ContextOverrides fContextOverrides;
DSkCommonFlagsConfig.cpp435 , fContextOverrides(ContextOverrides::kNone) in SkCommandLineConfigGpu()
445 fContextOverrides |= ContextOverrides::kRequireNVPRSupport; in SkCommandLineConfigGpu()
449 fContextOverrides |= ContextOverrides::kDisableNVPR; in SkCommandLineConfigGpu()
452 fContextOverrides |= ContextOverrides::kAvoidStencilBuffers; in SkCommandLineConfigGpu()
/external/skia/tools/skiaserve/
DRequest.cpp54 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
57 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
93 GrContextFactory::ContextOverrides::kNone); in getContext()
96 GrContextFactory::ContextOverrides::kNone); in getContext()
/external/skqp/tools/skiaserve/
DRequest.cpp54 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
57 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
93 GrContextFactory::ContextOverrides::kNone); in getContext()
96 GrContextFactory::ContextOverrides::kNone); in getContext()
/external/skia/dm/
DDMGpuTestProcs.cpp56 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts()
67 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in RunWithGPUTestContexts()
DDMSrcSink.h331 sk_gpu_test::GrContextFactory::ContextOverrides,
341 const sk_gpu_test::GrContextFactory::ContextOverrides& contextOverrides() { in contextOverrides()
357 sk_gpu_test::GrContextFactory::ContextOverrides fContextOverrides;
371 sk_gpu_test::GrContextFactory::ContextOverrides,
393 sk_gpu_test::GrContextFactory::ContextOverrides,
DDMSrcSink.cpp1329 GrContextFactory::ContextOverrides overrides, in GPUSink()
1452 GrContextFactory::ContextOverrides overrides, in GPUThreadTestingSink()
1497 GrContextFactory::ContextOverrides overrides, in GPUPersistentCacheTestingSink()
/external/skqp/dm/
DDMGpuTestProcs.cpp56 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts()
67 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in RunWithGPUTestContexts()
DDMSrcSink.h345 sk_gpu_test::GrContextFactory::ContextOverrides,
355 const sk_gpu_test::GrContextFactory::ContextOverrides& contextOverrides() { in contextOverrides()
371 sk_gpu_test::GrContextFactory::ContextOverrides fContextOverrides;
385 sk_gpu_test::GrContextFactory::ContextOverrides,
407 sk_gpu_test::GrContextFactory::ContextOverrides,
DDMSrcSink.cpp1396 GrContextFactory::ContextOverrides overrides, in GPUSink()
1519 GrContextFactory::ContextOverrides overrides, in GPUThreadTestingSink()
1564 GrContextFactory::ContextOverrides overrides, in GPUPersistentCacheTestingSink()
/external/skia/tests/
DGrContextFactoryTest.cpp26 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in DEF_GPUTEST()
42 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
DVkDrawableTest.cpp278 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
DSurfaceSemaphoreTest.cpp192 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
/external/skqp/tests/
DGrContextFactoryTest.cpp26 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in DEF_GPUTEST()
42 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
DVkDrawableTest.cpp278 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
DSurfaceSemaphoreTest.cpp192 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
/external/skqp/bench/
Dnanobench.h29 sk_gpu_test::GrContextFactory::ContextOverrides ctxOverrides;
/external/skia/bench/
Dnanobench.h29 sk_gpu_test::GrContextFactory::ContextOverrides ctxOverrides;
Dnanobench.cpp406 #define kBogusContextOverrides GrContextFactory::ContextOverrides::kNone

12