Home
last modified time | relevance | path

Searched refs:backendContext (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/tools/gpu/d3d/
H A DD3DTestContext.cpp20 GrD3DBackendContext backendContext; in Create() local
25 backendContext = sharedContext->getD3DBackendContext(); in Create()
28 if (!sk_gpu_test::CreateD3DBackendContext(&backendContext)) { in Create()
34 return new D3DTestContextImpl(backendContext, ownsContext); in Create()
56 D3DTestContextImpl(const GrD3DBackendContext& backendContext, bool ownsContext) in D3DTestContextImpl() argument
57 : D3DTestContext(backendContext, ownsContext) { in D3DTestContextImpl()
/third_party/skia/tools/gpu/vk/
H A DVkTestContext.cpp25 GrVkBackendContext backendContext; in Create() local
32 backendContext = sharedContext->getVkBackendContext(); in Create()
54 if (!sk_gpu_test::CreateVkBackendContext(getProc, &backendContext, extensions, in Create()
63 backendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in Create()
66 return new VkTestContextImpl(backendContext, extensions, features, ownsContext, in Create()
114 VkTestContextImpl(const GrVkBackendContext& backendContext, const GrVkExtensions* extensions, in VkTestContextImpl() argument
118 : VkTestContext(backendContext, extensions, features, ownsContext, debugCallback, in VkTestContextImpl()
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.cpp61 sk_sp<GrGpu> GrVkGpu::Make(const GrVkBackendContext& backendContext, in Make() argument
63 if (backendContext.fInstance == VK_NULL_HANDLE || in Make()
64 backendContext.fPhysicalDevice == VK_NULL_HANDLE || in Make()
65 backendContext.fDevice == VK_NULL_HANDLE || in Make()
66 backendContext.fQueue == VK_NULL_HANDLE) { in Make()
69 if (!backendContext.fGetProc) { in Make()
75 backendContext.fGetProc("vkEnumerateInstanceVersion", in Make()
90 backendContext.fGetProc("vkGetPhysicalDeviceProperties", in Make()
91 backendContext.fInstance, in Make()
98 localGetPhysicalDeviceProperties(backendContext in Make()
221 GrVkGpu(GrDirectContext* direct, const GrVkBackendContext& backendContext, sk_sp<GrVkCaps> caps, sk_sp<const GrVkInterface> interface, uint32_t instanceVersion, uint32_t physicalDeviceVersion, sk_sp<GrVkMemoryAllocator> memoryAllocator, sk_sp<GrVkMemoryAllocator> memoryAllocatorCacheImage) GrVkGpu() argument
[all...]
/third_party/skia/tools/sk_app/
H A DVulkanWindowContext.cpp64 GrVkBackendContext backendContext; in initializeContext() local
67 if (!sk_gpu_test::CreateVkBackendContext(getProc, &backendContext, &extensions, &features, in initializeContext()
79 fInstance = backendContext.fInstance; in initializeContext()
80 fPhysicalDevice = backendContext.fPhysicalDevice; in initializeContext()
81 fDevice = backendContext.fDevice; in initializeContext()
82 fGraphicsQueueIndex = backendContext.fGraphicsQueueIndex; in initializeContext()
83 fGraphicsQueue = backendContext.fQueue; in initializeContext()
87 backendContext.fGetProc("vkGetPhysicalDeviceProperties", in initializeContext()
88 backendContext.fInstance, in initializeContext()
95 localGetPhysicalDeviceProperties(backendContext in initializeContext()
[all...]
/third_party/skia/src/gpu/
H A DGrDirectContext.cpp1287 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext) {
1289 return MakeVulkan(backendContext, defaultOptions);
1292 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext,
1296 direct->fGpu = GrVkGpu::Make(backendContext, options, direct.get());
1307 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext) {
1309 return MakeMetal(backendContext, defaultOptions);
1312 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext,
1316 direct->fGpu = GrMtlTrampoline::MakeGpu(backendContext, options, direct.get());
1335 GrMtlBackendContext backendContext = {};
1336 backendContext
[all...]
/third_party/skia/tools/sk_app/win/
H A DD3D12WindowContext_win.cpp80 GrD3DBackendContext backendContext; in initializeContext() local
81 sk_gpu_test::CreateD3DBackendContext(&backendContext); in initializeContext()
82 fDevice = backendContext.fDevice; in initializeContext()
83 fQueue = backendContext.fQueue; in initializeContext()
85 fContext = GrDirectContext::MakeDirect3D(backendContext, fDisplayParams.fGrContextOptions); in initializeContext()
/third_party/skia/experimental/graphite/src/
H A DContext.cpp28 sk_sp<Context> Context::MakeMetal(const mtl::BackendContext& backendContext) { in MakeMetal() argument
29 sk_sp<Gpu> gpu = mtl::Trampoline::MakeGpu(backendContext); in MakeMetal()
/third_party/skia/src/gpu/d3d/
H A DGrD3DGpu.cpp42 sk_sp<GrGpu> GrD3DGpu::Make(const GrD3DBackendContext& backendContext, in Make() argument
44 sk_sp<GrD3DMemoryAllocator> memoryAllocator = backendContext.fMemoryAllocator; in Make()
48 backendContext.fAdapter.get(), backendContext.fDevice.get()); in Make()
55 return sk_sp<GrGpu>(new GrD3DGpu(direct, contextOptions, backendContext, memoryAllocator)); in Make()
68 const GrD3DBackendContext& backendContext, in GrD3DGpu()
71 , fDevice(backendContext.fDevice) in GrD3DGpu()
72 , fQueue(backendContext.fQueue) in GrD3DGpu()
79 backendContext.fAdapter.get(), in GrD3DGpu()
80 backendContext in GrD3DGpu()
67 GrD3DGpu(GrDirectContext* direct, const GrContextOptions& contextOptions, const GrD3DBackendContext& backendContext, sk_sp<GrD3DMemoryAllocator> allocator) GrD3DGpu() argument
[all...]
H A DGrD3DGpu.h30 static sk_sp<GrGpu> Make(const GrD3DBackendContext& backendContext, const GrContextOptions&,

Completed in 9 milliseconds