Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSwapChainD3D12.cpp137 NewSwapChainBase* previousSwapChain, in Create() argument
140 DAWN_TRY(swapchain->Initialize(previousSwapChain)); in Create()
154 MaybeError SwapChain::Initialize(NewSwapChainBase* previousSwapChain) { in Initialize() argument
165 if (previousSwapChain == nullptr) { in Initialize()
172 DAWN_INVALID_IF(previousSwapChain->GetBackendType() != wgpu::BackendType::D3D12, in Initialize()
174 previousSwapChain->GetBackendType(), wgpu::BackendType::D3D12); in Initialize()
177 SwapChain* previousD3D12SwapChain = static_cast<SwapChain*>(previousSwapChain); in Initialize()
182 DAWN_INVALID_IF(GetDevice() != previousSwapChain->GetDevice(), in Initialize()
203 bool canReuseBuffers = GetWidth() == previousSwapChain->GetWidth() && in Initialize()
204 GetHeight() == previousSwapChain->GetHeight() && in Initialize()
[all …]
DSwapChainD3D12.h45 NewSwapChainBase* previousSwapChain,
54 MaybeError Initialize(NewSwapChainBase* previousSwapChain);
DDeviceD3D12.h174 NewSwapChainBase* previousSwapChain,
DDeviceD3D12.cpp428 NewSwapChainBase* previousSwapChain, in CreateSwapChainImpl() argument
430 return SwapChain::Create(this, surface, previousSwapChain, descriptor); in CreateSwapChainImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DSwapChainMTL.mm69 NewSwapChainBase* previousSwapChain,
72 DAWN_TRY(swapchain->Initialize(previousSwapChain));
83 MaybeError SwapChain::Initialize(NewSwapChainBase* previousSwapChain) {
86 if (previousSwapChain != nullptr) {
90 DAWN_INVALID_IF(previousSwapChain->GetBackendType() != wgpu::BackendType::Metal,
92 previousSwapChain->GetBackendType(), wgpu::BackendType::Metal);
94 previousSwapChain->DetachFromSurface();
DSwapChainMTL.h45 NewSwapChainBase* previousSwapChain,
53 MaybeError Initialize(NewSwapChainBase* previousSwapChain);
DDeviceMTL.h105 NewSwapChainBase* previousSwapChain,
DDeviceMTL.mm276 NewSwapChainBase* previousSwapChain,
278 return SwapChain::Create(this, surface, previousSwapChain, descriptor);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSwapChainVk.cpp219 NewSwapChainBase* previousSwapChain, in Create() argument
222 DAWN_TRY(swapchain->Initialize(previousSwapChain)); in Create()
235 MaybeError SwapChain::Initialize(NewSwapChainBase* previousSwapChain) { in Initialize() argument
241 if (previousSwapChain != nullptr) { in Initialize()
248 DAWN_INVALID_IF(previousSwapChain->GetBackendType() != wgpu::BackendType::Vulkan, in Initialize()
250 previousSwapChain->GetBackendType(), wgpu::BackendType::Vulkan); in Initialize()
253 SwapChain* previousVulkanSwapChain = static_cast<SwapChain*>(previousSwapChain); in Initialize()
258 ToBackend(previousSwapChain->GetDevice())->GetVkInstance(); in Initialize()
272 ToBackend(previousSwapChain->GetDevice()) in Initialize()
DSwapChainVk.h49 NewSwapChainBase* previousSwapChain,
55 MaybeError Initialize(NewSwapChainBase* previousSwapChain);
DDeviceVk.h131 NewSwapChainBase* previousSwapChain,
DDeviceVk.cpp154 NewSwapChainBase* previousSwapChain, in CreateSwapChainImpl() argument
156 return SwapChain::Create(this, surface, previousSwapChain, descriptor); in CreateSwapChainImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp163 NewSwapChainBase* previousSwapChain, in CreateSwapChainImpl() argument
165 return SwapChain::Create(this, surface, previousSwapChain, descriptor); in CreateSwapChainImpl()
391 NewSwapChainBase* previousSwapChain, in Create() argument
394 DAWN_TRY(swapchain->Initialize(previousSwapChain)); in Create()
398 MaybeError SwapChain::Initialize(NewSwapChainBase* previousSwapChain) { in Initialize() argument
399 if (previousSwapChain != nullptr) { in Initialize()
403 if (previousSwapChain->GetBackendType() != wgpu::BackendType::Null) { in Initialize()
DDeviceNull.h150 NewSwapChainBase* previousSwapChain,
289 NewSwapChainBase* previousSwapChain,
295 MaybeError Initialize(NewSwapChainBase* previousSwapChain);
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.h107 NewSwapChainBase* previousSwapChain,
DDeviceGL.cpp163 NewSwapChainBase* previousSwapChain, in CreateSwapChainImpl() argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp1521 NewSwapChainBase* previousSwapChain = surface->GetAttachedSwapChain(); in CreateSwapChain() local
1523 CreateSwapChainImpl(surface, previousSwapChain, descriptor); in CreateSwapChain()
1525 if (previousSwapChain != nullptr) { in CreateSwapChain()
1526 previousSwapChain->DetachFromSurface(); in CreateSwapChain()
DDevice.h408 NewSwapChainBase* previousSwapChain,