Home
last modified time | relevance | path

Searched refs:contextOptions (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/tests/
DGrContextFactoryTest.cpp85 GrContextOptions contextOptions = options; in DEF_GPUTEST() local
86 contextOptions.fExecutor = nullptr; in DEF_GPUTEST()
87 GrContextFactory serialFactory(contextOptions); in DEF_GPUTEST()
90 contextOptions.fExecutor = threadPool.get(); in DEF_GPUTEST()
91 GrContextFactory threadedFactory(contextOptions); in DEF_GPUTEST()
/external/skqp/tests/
DGrContextFactoryTest.cpp120 GrContextOptions contextOptions = options; in DEF_GPUTEST() local
121 contextOptions.fExecutor = nullptr; in DEF_GPUTEST()
122 GrContextFactory serialFactory(contextOptions); in DEF_GPUTEST()
125 contextOptions.fExecutor = threadPool.get(); in DEF_GPUTEST()
126 GrContextFactory threadedFactory(contextOptions); in DEF_GPUTEST()
/external/skqp/src/gpu/mock/
DGrMockCaps.h17 GrMockCaps(const GrContextOptions& contextOptions, const GrMockOptions& options) in GrMockCaps() argument
18 : INHERITED(contextOptions), fOptions(options) { in GrMockCaps()
28 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrMockCaps()
35 this->applyOptionsOverrides(contextOptions); in GrMockCaps()
DGrMockGpu.cpp47 const GrContextOptions& contextOptions, GrContext* context) { in Make() argument
52 return sk_sp<GrGpu>(new GrMockGpu(context, *mockOptions, contextOptions)); in Make()
82 const GrContextOptions& contextOptions) in GrMockGpu() argument
85 fCaps.reset(new GrMockCaps(contextOptions, options)); in GrMockGpu()
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp19 GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in GrVkCaps() argument
23 : INHERITED(contextOptions) { in GrVkCaps()
50 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrVkCaps()
52 this->init(contextOptions, vkInterface, physDev, features, physicalDeviceVersion, extensions); in GrVkCaps()
271 void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in init() argument
361 if (!contextOptions.fDisableDriverCorrectnessWorkarounds) { in init()
381 if (!contextOptions.fDisableDriverCorrectnessWorkarounds) { in init()
391 this->applyOptionsOverrides(contextOptions); in init()
392 fShaderCaps->applyOptionsOverrides(contextOptions); in init()
DGrVkCaps.h30 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
168 void init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
/external/skia/src/gpu/dawn/
DGrDawnCaps.cpp15 GrDawnCaps::GrDawnCaps(const GrContextOptions& contextOptions) : INHERITED(contextOptions) { in GrDawnCaps() argument
18 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrDawnCaps()
33 this->finishInitialization(contextOptions); in GrDawnCaps()
DGrDawnCaps.h18 GrDawnCaps(const GrContextOptions& contextOptions);
/external/skia/src/gpu/mock/
DGrMockCaps.h17 GrMockCaps(const GrContextOptions& contextOptions, const GrMockOptions& options) in GrMockCaps() argument
18 : INHERITED(contextOptions), fOptions(options) { in GrMockCaps()
31 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrMockCaps()
41 this->finishInitialization(contextOptions); in GrMockCaps()
DGrMockGpu.cpp50 const GrContextOptions& contextOptions, GrDirectContext* direct) { in Make() argument
55 return sk_sp<GrGpu>(new GrMockGpu(direct, *mockOptions, contextOptions)); in Make()
78 const GrContextOptions& contextOptions) in GrMockGpu() argument
81 this->initCapsAndCompiler(sk_make_sp<GrMockCaps>(contextOptions, options)); in GrMockGpu()
/external/skia/dm/
DDMSrcSink.cpp1603 GrContextOptions contextOptions = this->baseContextOptions(); in draw() local
1604 contextOptions.fGpuPathRenderers = GpuPathRenderers::kNone; in draw()
1605 contextOptions.fExecutor = fExecutor.get(); in draw()
1607 Result result = this->onDraw(src, dst, wStream, log, contextOptions); in draw()
1615 contextOptions.fExecutor = nullptr; in draw()
1616 Result refResult = this->onDraw(src, &reference, &refStream, &refLog, contextOptions); in draw()
1636 GrContextOptions contextOptions = this->baseContextOptions(); in draw() local
1637 contextOptions.fPersistentCache = &memoryCache; in draw()
1639 contextOptions.fShaderCacheStrategy = GrContextOptions::ShaderCacheStrategy::kBackendSource; in draw()
1642 Result result = this->onDraw(src, dst, wStream, log, contextOptions); in draw()
[all …]
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp28 GrGLCaps::GrGLCaps(const GrContextOptions& contextOptions, in GrGLCaps() argument
30 const GrGLInterface* glInterface) : INHERITED(contextOptions) { in GrGLCaps()
76 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrGLCaps()
78 this->init(contextOptions, ctxInfo, glInterface); in GrGLCaps()
81 void GrGLCaps::init(const GrContextOptions& contextOptions, in init() argument
320 if (contextOptions.fSuppressPathRendering) { in init()
391 if (!contextOptions.fAvoidStencilBuffers) { in init()
393 this->initFSAASupport(contextOptions, ctxInfo, gli); in init()
607 this->initConfigTable(contextOptions, ctxInfo, gli, shaderCaps); in init()
609 if (!contextOptions.fDisableDriverCorrectnessWorkarounds) { in init()
[all …]
DGrGLCaps.h110 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo,
458 void initFSAASupport(const GrContextOptions& contextOptions, const GrGLContextInfo&,
/external/skia/src/gpu/d3d/
DGrD3DCaps.h27 GrD3DCaps(const GrContextOptions& contextOptions, IDXGIAdapter1*, ID3D12Device*);
120 void init(const GrContextOptions& contextOptions, IDXGIAdapter1*, ID3D12Device*);
DGrD3DCaps.cpp24 GrD3DCaps::GrD3DCaps(const GrContextOptions& contextOptions, IDXGIAdapter1* adapter, in GrD3DCaps() argument
26 : INHERITED(contextOptions) { in GrD3DCaps()
58 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrD3DCaps()
60 this->init(contextOptions, adapter, device); in GrD3DCaps()
121 void GrD3DCaps::init(const GrContextOptions& contextOptions, IDXGIAdapter1* adapter, in init() argument
166 if (!contextOptions.fDisableDriverCorrectnessWorkarounds) { in init()
170 this->finishInitialization(contextOptions); in init()
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm17 GrMtlCaps::GrMtlCaps(const GrContextOptions& contextOptions, const id<MTLDevice> device,
19 : INHERITED(contextOptions) {
20 fShaderCaps.reset(new GrShaderCaps(contextOptions));
28 this->applyOptionsOverrides(contextOptions);
29 fShaderCaps->applyOptionsOverrides(contextOptions);
DGrMtlCaps.h26 GrMtlCaps(const GrContextOptions& contextOptions, id<MTLDevice> device,
/external/skqp/src/gpu/
DGrContextThreadSafeProxyPriv.h20 const GrContextOptions& contextOptions() { return fProxy->fOptions; } in contextOptions() function
DGrDDLContext.cpp73 if (!context->init(proxy->priv().contextOptions())) { in MakeDDL()
/external/skia/src/gpu/vk/
DGrVkCaps.h28 GrVkCaps(const GrContextOptions& contextOptions,
280 void init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
DGrVkCaps.cpp35 GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in GrVkCaps() argument
39 : INHERITED(contextOptions) { in GrVkCaps()
69 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrVkCaps()
71 this->init(contextOptions, vkInterface, physDev, features, physicalDeviceVersion, extensions, in GrVkCaps()
290 void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in init() argument
456 if (contextOptions.fMaxCachedVulkanSecondaryCommandBuffers >= 0) { in init()
458 contextOptions.fMaxCachedVulkanSecondaryCommandBuffers; in init()
461 if (!contextOptions.fDisableDriverCorrectnessWorkarounds) { in init()
465 this->finishInitialization(contextOptions); in init()
/external/skqp/dm/
DDMSrcSink.cpp1539 GrContextOptions contextOptions = this->baseContextOptions(); in draw() local
1540 contextOptions.fGpuPathRenderers = GpuPathRenderers::kNone; in draw()
1541 contextOptions.fExecutor = fExecutor.get(); in draw()
1543 Error err = this->onDraw(src, dst, wStream, log, contextOptions); in draw()
1551 contextOptions.fExecutor = nullptr; in draw()
1552 Error refErr = this->onDraw(src, &reference, &refStream, &refLog, contextOptions); in draw()
1581 GrContextOptions contextOptions = this->baseContextOptions(); in draw() local
1582 contextOptions.fPersistentCache = &memoryCache; in draw()
1584 Error err = this->onDraw(src, dst, wStream, log, contextOptions); in draw()
1593 Error refErr = this->onDraw(src, &reference, &refStream, &refLog, contextOptions); in draw()
/external/skia/src/gpu/gl/
DGrGLCaps.h118 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo,
488 void initFSAASupport(const GrContextOptions& contextOptions, const GrGLContextInfo&,
DGrGLCaps.cpp30 GrGLCaps::GrGLCaps(const GrContextOptions& contextOptions, in GrGLCaps() argument
32 const GrGLInterface* glInterface) : INHERITED(contextOptions) { in GrGLCaps()
71 fShaderCaps.reset(new GrShaderCaps(contextOptions)); in GrGLCaps()
73 this->init(contextOptions, ctxInfo, glInterface); in GrGLCaps()
76 void GrGLCaps::init(const GrContextOptions& contextOptions, in init() argument
418 if (!contextOptions.fAvoidStencilBuffers) { in init()
420 this->initFSAASupport(contextOptions, ctxInfo, gli); in init()
727 if (!contextOptions.fDisableDriverCorrectnessWorkarounds) { in init()
728 this->applyDriverCorrectnessWorkarounds(ctxInfo, contextOptions, gli, shaderCaps, in init()
735 this->finishInitialization(contextOptions); in init()
[all …]
/external/skia/src/gpu/mtl/
DGrMtlCaps.h24 GrMtlCaps(const GrContextOptions& contextOptions, id<MTLDevice> device,

12