/third_party/skia/tools/gpu/d3d/ |
D | D3DTestContext.cpp | 20 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/src/gpu/vk/ |
D | GrVkGpu.cpp | 62 sk_sp<GrGpu> GrVkGpu::Make(const GrVkBackendContext& backendContext, in Make() argument 64 if (backendContext.fInstance == VK_NULL_HANDLE || in Make() 65 backendContext.fPhysicalDevice == VK_NULL_HANDLE || in Make() 66 backendContext.fDevice == VK_NULL_HANDLE || in Make() 67 backendContext.fQueue == VK_NULL_HANDLE) { in Make() 70 if (!backendContext.fGetProc) { in Make() 76 backendContext.fGetProc("vkEnumerateInstanceVersion", in Make() 91 backendContext.fGetProc("vkGetPhysicalDeviceProperties", in Make() 92 backendContext.fInstance, in Make() 99 localGetPhysicalDeviceProperties(backendContext.fPhysicalDevice, &physDeviceProperties); in Make() [all …]
|
/third_party/skia/tools/gpu/vk/ |
D | VkTestContext.cpp | 25 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/tools/sk_app/ |
D | VulkanWindowContext.cpp | 64 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.fPhysicalDevice, &physDeviceProperties); in initializeContext() [all …]
|
D | GraphiteMetalWindowContext.mm | 48 skgpu::mtl::BackendContext backendContext = {}; 49 backendContext.fDevice.retain((GrMTLHandle)fDevice.get()); 50 backendContext.fQueue.retain((GrMTLHandle)fQueue.get()); 51 fGraphiteContext = skgpu::Context::MakeMetal(backendContext);
|
D | MetalWindowContext.mm | 82 GrMtlBackendContext backendContext = {}; 83 backendContext.fDevice.retain((GrMTLHandle)fDevice.get()); 84 backendContext.fQueue.retain((GrMTLHandle)fQueue.get()); 87 backendContext.fBinaryArchive.retain((__bridge GrMTLHandle)fPipelineArchive); 90 fContext = GrDirectContext::MakeMetal(backendContext, fDisplayParams.fGrContextOptions);
|
/third_party/skia/tools/gpu/mtl/ |
D | MtlTestContext.mm | 23 GrMtlBackendContext backendContext = {}; 26 backendContext = sharedContextImpl->getMtlBackendContext(); 48 backendContext.fDevice.retain((GrMTLHandle)device.get()); 50 backendContext.fQueue.retain((GrMTLHandle)queue.get()); 53 return new MtlTestContextImpl(backendContext);
|
/third_party/skia/tools/graphite/mtl/ |
D | MtlTestContext.mm | 43 skgpu::mtl::BackendContext backendContext = {}; 44 backendContext.fDevice.retain(device.get()); 45 backendContext.fQueue.reset([*device newCommandQueue]); 47 return std::unique_ptr<GraphiteTestContext>(new TestContext(backendContext));
|
/third_party/skia/src/gpu/ |
D | GrDirectContext.cpp | 1156 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext) { in MakeVulkan() argument 1158 return MakeVulkan(backendContext, defaultOptions); in MakeVulkan() 1161 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext, in MakeVulkan() argument 1165 direct->fGpu = GrVkGpu::Make(backendContext, options, direct.get()); in MakeVulkan() 1176 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext) { in MakeMetal() argument 1178 return MakeMetal(backendContext, defaultOptions); in MakeMetal() 1181 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext, in MakeMetal() argument 1185 direct->fGpu = GrMtlTrampoline::MakeGpu(backendContext, options, direct.get()); in MakeMetal() 1204 GrMtlBackendContext backendContext = {}; in MakeMetal() local 1205 backendContext.fDevice.reset(device); in MakeMetal() [all …]
|
/third_party/skia/tools/sk_app/win/ |
D | D3D12WindowContext_win.cpp | 80 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/mtl/ |
D | MtlTrampoline.mm | 13 sk_sp<skgpu::Gpu> Trampoline::MakeGpu(const BackendContext& backendContext) { 14 return Gpu::Make(backendContext);
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlTrampoline.mm | 18 sk_sp<GrGpu> GrMtlTrampoline::MakeGpu(const GrMtlBackendContext& backendContext, 21 return GrMtlGpu::Make(backendContext, options, direct);
|
/third_party/skia/experimental/graphite/src/ |
D | Context.cpp | 28 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/ |
D | GrD3DGpu.cpp | 42 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() argument 71 , fDevice(backendContext.fDevice) in GrD3DGpu() 72 , fQueue(backendContext.fQueue) in GrD3DGpu() 79 backendContext.fAdapter.get(), in GrD3DGpu() 80 backendContext.fDevice.get())); in GrD3DGpu()
|
D | GrD3DGpu.h | 30 static sk_sp<GrGpu> Make(const GrD3DBackendContext& backendContext, const GrContextOptions&,
|