Home
last modified time | relevance | path

Searched refs:backendDevice (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DD3D12Backend.cpp36 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 …]
DD3D11on12Util.cpp113 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/
DVulkanBackend.cpp32 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/
DWireHelper.cpp88 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()
DWireHelper.h32 virtual std::pair<wgpu::Device, WGPUDevice> RegisterDevice(WGPUDevice backendDevice) = 0;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanBackend.cpp31 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/
DOpenGLBackend.cpp37 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/
DValidationTest.cpp106 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()
DValidationTest.h78 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/
DD3D12Backend.cpp27 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/
DOpenGLBackend.cpp33 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/
DSampleUtils.cpp101 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/
DSampleUtils.cpp130 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/
DMetalBackend.mm39 Device* backendDevice = ToBackend(FromAPI(device));
40 Ref<TextureBase> texture = backendDevice->CreateTextureWrappingIOSurface(
/third_party/flutter/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp250 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()
DDawnTest.h173 DawnDevice backendDevice = nullptr; variable
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp829 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()
DDawnTest.h342 WGPUDevice backendDevice = nullptr; variable