Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DGrGpuFactory.cpp17 GrBackendContext backendContext, in Make() argument
22 return GrGLGpu::Make(backendContext, options, context); in Make()
25 return GrVkGpu::Make(backendContext, options, context); in Make()
28 return GrMockGpu::Make(backendContext, options, context); in Make()
DGrContext.cpp87 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext) { in Create() argument
89 return Create(backend, backendContext, defaultOptions); in Create()
92 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext, in Create() argument
97 context->fGpu = GrGpu::Make(backend, backendContext, options, context.get()); in Create()
157 sk_sp<GrContext> GrContext::MakeVulkan(sk_sp<const GrVkBackendContext> backendContext) { in MakeVulkan() argument
159 return MakeVulkan(std::move(backendContext), defaultOptions); in MakeVulkan()
162 sk_sp<GrContext> GrContext::MakeVulkan(sk_sp<const GrVkBackendContext> backendContext, in MakeVulkan() argument
166 context->fGpu = GrVkGpu::Make(std::move(backendContext), options, context.get()); in MakeVulkan()
/external/skia/src/gpu/
DGrGpuFactory.cpp17 GrBackendContext backendContext, in Make() argument
22 return GrGLGpu::Make(backendContext, options, context); in Make()
25 return GrVkGpu::Make(backendContext, options, context); in Make()
28 return GrMockGpu::Make(backendContext, options, context); in Make()
DGrContext.cpp202 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext) { in Create() argument
204 return Create(backend, backendContext, defaultOptions); in Create()
207 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext, in Create() argument
212 context->fGpu = GrGpu::Make(backend, backendContext, options, context.get()); in Create()
277 sk_sp<GrContext> GrContext::MakeVulkan(sk_sp<const GrVkBackendContext> backendContext) { in MakeVulkan() argument
279 return MakeVulkan(std::move(backendContext), defaultOptions); in MakeVulkan()
282 sk_sp<GrContext> GrContext::MakeVulkan(sk_sp<const GrVkBackendContext> backendContext, in MakeVulkan() argument
286 context->fGpu = GrVkGpu::Make(std::move(backendContext), options, context.get()); in MakeVulkan()
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp113 sk_sp<const GrVkBackendContext> backendContext; in Create() local
115 backendContext = sharedContext->getVkBackendContext(); in Create()
122 backendContext.reset(GrVkBackendContext::Create(instProc, devProc)); in Create()
124 if (!backendContext) { in Create()
127 return new VkTestContextImpl(std::move(backendContext)); in Create()
150 VkTestContextImpl(sk_sp<const GrVkBackendContext> backendContext) in VkTestContextImpl() argument
151 : VkTestContext(std::move(backendContext)) { in VkTestContextImpl()
DVkTestContext.h21 virtual GrBackendContext backendContext() override { in backendContext() function
/external/skia/tools/gpu/vk/
DVkTestContext.cpp113 sk_sp<const GrVkBackendContext> backendContext; in Create() local
115 backendContext = sharedContext->getVkBackendContext(); in Create()
122 backendContext.reset(GrVkBackendContext::Create(instProc, devProc)); in Create()
124 if (!backendContext) { in Create()
127 return new VkTestContextImpl(std::move(backendContext)); in Create()
150 VkTestContextImpl(sk_sp<const GrVkBackendContext> backendContext) in VkTestContextImpl() argument
151 : VkTestContext(std::move(backendContext)) { in VkTestContextImpl()
DVkTestContext.h21 virtual GrBackendContext backendContext() override { in backendContext() function
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp27 sk_sp<GrGpu> GrMockGpu::Make(GrBackendContext backendContext, in Make() argument
29 return Make(reinterpret_cast<const GrMockOptions*>(backendContext), contextOptions, context); in Make()
/external/skia/src/gpu/mock/
DGrMockGpu.cpp27 sk_sp<GrGpu> GrMockGpu::Make(GrBackendContext backendContext, in Make() argument
29 return Make(reinterpret_cast<const GrMockOptions*>(backendContext), contextOptions, context); in Make()
/external/skqp/tools/gpu/mock/
DMockTestContext.cpp23 virtual GrBackendContext backendContext() override { in backendContext() function in __anon0c80b6900111::MockTestContext
/external/skia/tools/gpu/mock/
DMockTestContext.cpp23 virtual GrBackendContext backendContext() override { in backendContext() function in __anon40569cd90111::MockTestContext
/external/skia/tools/gpu/
DTestContext.h62 virtual GrBackendContext backendContext() = 0;
/external/skqp/tools/gpu/
DTestContext.h62 virtual GrBackendContext backendContext() = 0;
/external/skia/src/gpu/vk/
DGrVkGpu.h41 static sk_sp<GrGpu> Make(GrBackendContext backendContext, const GrContextOptions&, GrContext*);
161 GrVkGpu(GrContext*, const GrContextOptions&, sk_sp<const GrVkBackendContext> backendContext);
DGrVkGpu.cpp76 sk_sp<GrGpu> GrVkGpu::Make(GrBackendContext backendContext, const GrContextOptions& options, in Make() argument
78 const auto* backend = reinterpret_cast<const GrVkBackendContext*>(backendContext); in Make()
82 sk_sp<GrGpu> GrVkGpu::Make(sk_sp<const GrVkBackendContext> backendContext, in Make() argument
84 if (!backendContext) { in Make()
88 if (!backendContext->fInterface->validate(backendContext->fExtensions)) { in Make()
92 return sk_sp<GrGpu>(new GrVkGpu(context, options, std::move(backendContext))); in Make()
/external/skqp/src/gpu/vk/
DGrVkGpu.h41 static sk_sp<GrGpu> Make(GrBackendContext backendContext, const GrContextOptions&, GrContext*);
177 GrVkGpu(GrContext*, const GrContextOptions&, sk_sp<const GrVkBackendContext> backendContext);
DGrVkGpu.cpp76 sk_sp<GrGpu> GrVkGpu::Make(GrBackendContext backendContext, const GrContextOptions& options, in Make() argument
78 const auto* backend = reinterpret_cast<const GrVkBackendContext*>(backendContext); in Make()
82 sk_sp<GrGpu> GrVkGpu::Make(sk_sp<const GrVkBackendContext> backendContext, in Make() argument
84 if (!backendContext) { in Make()
88 if (!backendContext->fInterface->validate(backendContext->fExtensions)) { in Make()
92 return sk_sp<GrGpu>(new GrVkGpu(context, options, std::move(backendContext))); in Make()
/external/skqp/tools/gpu/gl/
DGLTestContext.h24 virtual GrBackendContext backendContext() override { in backendContext() function
/external/skia/tools/gpu/gl/
DGLTestContext.h24 virtual GrBackendContext backendContext() override { in backendContext() function
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm125 GrBackendContext backendContext() override { return 0; }
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm125 GrBackendContext backendContext() override { return 0; }
/external/skia/src/gpu/gl/
DGrGLGpu.h37 static sk_sp<GrGpu> Make(GrBackendContext backendContext, const GrContextOptions&, GrContext*);
/external/skqp/src/gpu/gl/
DGrGLGpu.h37 static sk_sp<GrGpu> Make(GrBackendContext backendContext, const GrContextOptions&, GrContext*);
/external/skia/bench/
Dnanobench.cpp217 this->contextInfo.testContext()->backendContext()); in fillOptions()

12