/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | D3D12Backend.cpp | 36 Device* backendDevice = ToBackend(FromAPI(device)); in CreateNativeSwapChainImpl() local 39 impl = CreateSwapChainImplementation(new NativeSwapChainImpl(backendDevice, window)); in CreateNativeSwapChainImpl() 79 Device* backendDevice = ToBackend(FromAPI(device)); in ProduceTexture() local 109 Ref<TextureBase> texture = backendDevice->CreateExternalTexture( in ProduceTexture() 122 Device* backendDevice = ToBackend(FromAPI(device)); in Create() local 125 if (FAILED(backendDevice->GetD3D12Device()->OpenSharedHandle( in Create() 132 if (backendDevice->ConsumedError( in Create() 133 ValidateTextureDescriptor(backendDevice, textureDescriptor))) { in Create() 137 if (backendDevice->ConsumedError( in Create() 144 if (backendDevice->ConsumedError( in Create() [all …]
|
D | D3D11on12Util.cpp | 113 Device* backendDevice = reinterpret_cast<Device*>(device); in GetOrCreateD3D11on12Resource() local 118 ComPtr<ID3D11On12Device> d3d11on12Device = backendDevice->GetOrCreateD3D11on12Device(); in GetOrCreateD3D11on12Resource()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | VulkanBackend.cpp | 32 Device* backendDevice = ToBackend(FromAPI(device)); in GetInstance() local 33 return backendDevice->GetVkInstance(); in GetInstance() 38 Device* backendDevice = ToBackend(FromAPI(device)); in GetInstanceProcAddr() local 39 return (*backendDevice->fn.GetInstanceProcAddr)(backendDevice->GetVkInstance(), pName); in GetInstanceProcAddr() 46 Device* backendDevice = ToBackend(FromAPI(device)); in CreateNativeSwapChainImpl() local 50 impl = CreateSwapChainImplementation(new NativeSwapChainImpl(backendDevice, surface)); in CreateNativeSwapChainImpl() 89 Device* backendDevice = ToBackend(FromAPI(device)); in WrapVulkanImage() local 93 return ToAPI(backendDevice->CreateTextureWrappingVulkanImage( in WrapVulkanImage()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | WireHelper.cpp | 88 std::pair<wgpu::Device, WGPUDevice> RegisterDevice(WGPUDevice backendDevice) override { in RegisterDevice() argument 89 ASSERT(backendDevice != nullptr); in RegisterDevice() 90 return std::make_pair(wgpu::Device::Acquire(backendDevice), backendDevice); in RegisterDevice() 132 std::pair<wgpu::Device, WGPUDevice> RegisterDevice(WGPUDevice backendDevice) override { in RegisterDevice() argument 133 ASSERT(backendDevice != nullptr); in RegisterDevice() 136 mWireServer->InjectDevice(backendDevice, reservation.id, reservation.generation); in RegisterDevice() 137 dawn_native::GetProcs().deviceRelease(backendDevice); in RegisterDevice() 139 return std::make_pair(wgpu::Device::Acquire(reservation.device), backendDevice); in RegisterDevice()
|
D | WireHelper.h | 32 virtual std::pair<wgpu::Device, WGPUDevice> RegisterDevice(WGPUDevice backendDevice) = 0;
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | VulkanBackend.cpp | 31 Device* backendDevice = reinterpret_cast<Device*>(device); in GetInstance() local 32 return backendDevice->GetVkInstance(); in GetInstance() 39 Device* backendDevice = reinterpret_cast<Device*>(device); in CreateNativeSwapChainImpl() local 43 impl = CreateSwapChainImplementation(new NativeSwapChainImpl(backendDevice, surface)); in CreateNativeSwapChainImpl()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | OpenGLBackend.cpp | 37 Device* backendDevice = ToBackend(FromAPI(device)); in CreateNativeSwapChainImpl() local 41 new NativeSwapChainImpl(backendDevice, present, presentUserdata)); in CreateNativeSwapChainImpl() 59 Device* backendDevice = ToBackend(FromAPI(device)); in WrapExternalEGLImage() local 61 backendDevice->CreateTextureWrappingEGLImage(descriptor, descriptor->image); in WrapExternalEGLImage()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ValidationTest.cpp | 106 std::tie(device, backendDevice) = mWireHelper->RegisterDevice(CreateTestDevice()); in SetUp() 128 dawn_native::GetDeprecationWarningCountForTesting(backendDevice)); in TearDown() 151 wgpu::Device ValidationTest::RegisterDevice(WGPUDevice backendDevice) { in RegisterDevice() argument 152 return mWireHelper->RegisterDevice(backendDevice).first; in RegisterDevice() 183 auto toggles = dawn_native::GetTogglesUsed(backendDevice); in HasToggleEnabled() 192 dawn_native::GetProcs().deviceGetLimits(backendDevice, &supportedLimits); in GetSupportedLimits()
|
D | ValidationTest.h | 78 size_t warningsBefore = dawn_native::GetDeprecationWarningCountForTesting(backendDevice); \ 82 size_t warningsAfter = dawn_native::GetDeprecationWarningCountForTesting(backendDevice); \ 107 wgpu::Device RegisterDevice(WGPUDevice backendDevice); 141 WGPUDevice backendDevice; variable
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | D3D12Backend.cpp | 27 Device* backendDevice = reinterpret_cast<Device*>(device); in CreateNativeSwapChainImpl() local 30 impl = CreateSwapChainImplementation(new NativeSwapChainImpl(backendDevice, window)); in CreateNativeSwapChainImpl()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | OpenGLBackend.cpp | 33 Device* backendDevice = reinterpret_cast<Device*>(device); in CreateNativeSwapChainImpl() local 37 new NativeSwapChainImpl(backendDevice, present, presentUserdata)); in CreateNativeSwapChainImpl()
|
/third_party/flutter/skia/third_party/externals/dawn/examples/ |
D | SampleUtils.cpp | 101 DawnDevice backendDevice = backendAdapter.CreateDevice(); in CreateCppDawnDevice() local 104 binding = utils::CreateBinding(backendType, window, backendDevice); in CreateCppDawnDevice() 116 cDevice = backendDevice; in CreateCppDawnDevice() 125 serverDesc.device = backendDevice; in CreateCppDawnDevice()
|
/third_party/skia/third_party/externals/dawn/examples/ |
D | SampleUtils.cpp | 130 WGPUDevice backendDevice = backendAdapter.CreateDevice(); in CreateCppDawnDevice() local 133 binding = utils::CreateBinding(backendType, window, backendDevice); in CreateCppDawnDevice() 145 cDevice = backendDevice; in CreateCppDawnDevice() 167 wireServer->InjectDevice(backendDevice, deviceReservation.id, in CreateCppDawnDevice()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | MetalBackend.mm | 39 Device* backendDevice = ToBackend(FromAPI(device)); 40 Ref<TextureBase> texture = backendDevice->CreateTextureWrappingIOSurface(
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 250 backendProcs.deviceRelease(backendDevice); in ~DawnTest() 380 backendDevice = backendAdapter.CreateDevice(&deviceDescriptor); in SetUp() 387 mBinding.reset(utils::CreateBinding(backendType, testWindow, backendDevice)); in SetUp() 399 serverDesc.device = backendDevice; in SetUp() 418 cDevice = backendDevice; in SetUp()
|
D | DawnTest.h | 173 DawnDevice backendDevice = nullptr; variable
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 829 auto toggles = dawn_native::GetTogglesUsed(backendDevice); in HasToggleEnabled() 874 dawn_native::GetProcs().deviceGetLimits(backendDevice, &supportedLimits); in GetSupportedLimits() 952 std::tie(device, backendDevice) = in SetUp() 954 ASSERT_NE(nullptr, backendDevice); in SetUp()
|
D | DawnTest.h | 342 WGPUDevice backendDevice = nullptr; variable
|