Home
last modified time | relevance | path

Searched refs:backendDevice (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A 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 in Create()
168 Device* backendDevice = ToBackend(FromAPI(device)); SetExternalMemoryReservation() local
[all...]
H A 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/
H A 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/dawn_native/opengl/
H A 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/
H A 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);
H A DValidationTest.h78 size_t warningsBefore = dawn_native::GetDeprecationWarningCountForTesting(backendDevice); \
82 size_t warningsAfter = dawn_native::GetDeprecationWarningCountForTesting(backendDevice); \
107 wgpu::Device RegisterDevice(WGPUDevice backendDevice);
132 // the |backendDevice| since limits are not implemented in the wire.
141 WGPUDevice backendDevice; member in ValidationTest
/third_party/skia/third_party/externals/dawn/examples/
H A 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/utils/
H A DWireHelper.h31 // The function should take ownership of |backendDevice|.
32 virtual std::pair<wgpu::Device, WGPUDevice> RegisterDevice(WGPUDevice backendDevice) = 0;
/third_party/skia/third_party/externals/dawn/src/tests/
H A DDawnTest.cpp829 auto toggles = dawn_native::GetTogglesUsed(backendDevice); in HasToggleEnabled()
874 dawn_native::GetProcs().deviceGetLimits(backendDevice, &supportedLimits);
952 std::tie(device, backendDevice) =
954 ASSERT_NE(nullptr, backendDevice);
H A DDawnTest.h342 WGPUDevice backendDevice = nullptr; member in DawnTestBase
498 // the |backendDevice| since limits are not implemented in the wire.

Completed in 9 milliseconds