Home
last modified time | relevance | path

Searched refs:mSwapChain (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DSurfaceD3D.cpp44 mSwapChain(nullptr), in SurfaceD3D()
92 SafeDelete(mSwapChain); in releaseSwapChain()
168 return mSwapChain->getSyncValues(ust, msc, sbc); in getSyncValues()
179 ASSERT(!mSwapChain); in resetSwapChain()
204 mSwapChain = in resetSwapChain()
207 if (!mSwapChain) in resetSwapChain()
217 SafeDelete(mSwapChain); in resetSwapChain()
229 ASSERT(mSwapChain); in resizeSwapChain()
232 mSwapChain->resize(displayD3D, std::max(1, backbufferWidth), std::max(1, backbufferHeight)); in resizeSwapChain()
255 ASSERT(mSwapChain); in resetSwapChain()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DSurfaceD3D.cpp45 mSwapChain(nullptr), in SurfaceD3D()
93 SafeDelete(mSwapChain); in releaseSwapChain()
162 return mSwapChain->getSyncValues(ust, msc, sbc); in getSyncValues()
167 ASSERT(!mSwapChain); in resetSwapChain()
192 mSwapChain = in resetSwapChain()
195 if (!mSwapChain) in resetSwapChain()
205 SafeDelete(mSwapChain); in resetSwapChain()
217 ASSERT(mSwapChain); in resizeSwapChain()
220 mSwapChain->resize(displayD3D, std::max(1, backbufferWidth), std::max(1, backbufferHeight)); in resizeSwapChain()
243 ASSERT(mSwapChain); in resetSwapChain()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderTarget9.cpp108 : mSwapChain(swapChain), mDepth(depth) in SurfaceRenderTarget9()
115 return mSwapChain->getWidth(); in getWidth()
120 return mSwapChain->getHeight(); in getHeight()
130 return (mDepth ? mSwapChain->getDepthBufferInternalFormat() in getInternalFormat()
131 : mSwapChain->getRenderTargetInternalFormat()); in getInternalFormat()
142 return (mDepth ? mSwapChain->getDepthStencil() : mSwapChain->getRenderTarget()); in getSurface()
147 return (mDepth ? nullptr : mSwapChain->getOffscreenTexture()); in getTexture()
DSwapChain9.cpp33 mSwapChain(nullptr), in SwapChain9()
51 SafeRelease(mSwapChain); in release()
114 SafeRelease(mSwapChain); in reset()
218 result = device->CreateAdditionalSwapChain(&presentParameters, &mSwapChain); in reset()
239 result = mSwapChain->GetBackBuffer(0, D3DBACKBUFFER_TYPE_MONO, &mBackBuffer); in reset()
280 if (!mSwapChain) in swapRect()
349 HRESULT result = mSwapChain->Present(&rect, &rect, nullptr, nullptr, 0); in swapRect()
433 if (!mSwapChain) in recreate()
445 HRESULT result = mSwapChain->GetPresentParameters(&presentParameters); in recreate()
455 SafeRelease(mSwapChain); in recreate()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderTarget9.cpp108 : mSwapChain(swapChain), mDepth(depth) in SurfaceRenderTarget9()
115 return mSwapChain->getWidth(); in getWidth()
120 return mSwapChain->getHeight(); in getHeight()
130 return (mDepth ? mSwapChain->getDepthBufferInternalFormat() in getInternalFormat()
131 : mSwapChain->getRenderTargetInternalFormat()); in getInternalFormat()
142 return (mDepth ? mSwapChain->getDepthStencil() : mSwapChain->getRenderTarget()); in getSurface()
147 return (mDepth ? nullptr : mSwapChain->getOffscreenTexture()); in getTexture()
DSwapChain9.cpp33 mSwapChain(nullptr), in SwapChain9()
51 SafeRelease(mSwapChain); in release()
114 SafeRelease(mSwapChain); in reset()
218 result = device->CreateAdditionalSwapChain(&presentParameters, &mSwapChain); in reset()
239 result = mSwapChain->GetBackBuffer(0, D3DBACKBUFFER_TYPE_MONO, &mBackBuffer); in reset()
280 if (!mSwapChain) in swapRect()
349 HRESULT result = mSwapChain->Present(&rect, &rect, nullptr, nullptr, 0); in swapRect()
433 if (!mSwapChain) in recreate()
445 HRESULT result = mSwapChain->GetPresentParameters(&presentParameters); in recreate()
455 SafeRelease(mSwapChain); in recreate()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderTarget11.cpp325 mSwapChain(swapChain), in SurfaceRenderTarget11()
328 ASSERT(mSwapChain); in SurfaceRenderTarget11()
335 return mSwapChain->getWidth(); in getWidth()
340 return mSwapChain->getHeight(); in getHeight()
350 return GetSurfaceRTFormat(mDepth, mSwapChain); in getInternalFormat()
355 return mSwapChain->getSamples(); in getSamples()
360 return (mDepth ? mSwapChain->getDepthStencilTexture() : mSwapChain->getOffscreenTexture()); in getTexture()
366 return mSwapChain->getRenderTarget(); in getRenderTargetView()
372 return mSwapChain->getDepthStencil(); in getDepthStencilView()
378 return (mDepth ? mSwapChain->getDepthStencilShaderResource() in getShaderResourceView()
[all …]
DSwapChain11.cpp72 mSwapChain(nullptr), in SwapChain11()
118 SafeRelease(mSwapChain); in release()
366 if (mSwapChain) in resetOffscreenColorBuffer()
488 ASSERT(mSwapChain && mBackBufferTexture.valid() && mBackBufferRTView.valid() && in resize()
497 HRESULT hr = mSwapChain->GetDesc(&desc); in resize()
505 hr = mSwapChain->ResizeBuffers(desc.BufferCount, backbufferWidth, backbufferHeight, in resize()
527 hr = mSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), in resize()
595 if (mSwapChain != nullptr) in reset()
611 SafeRelease(mSwapChain); in reset()
626 backbufferHeight, mNeedsOffscreenTexture ? 1 : getD3DSamples(), &mSwapChain); in reset()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderTarget11.cpp325 mSwapChain(swapChain), in SurfaceRenderTarget11()
328 ASSERT(mSwapChain); in SurfaceRenderTarget11()
335 return mSwapChain->getWidth(); in getWidth()
340 return mSwapChain->getHeight(); in getHeight()
350 return GetSurfaceRTFormat(mDepth, mSwapChain); in getInternalFormat()
355 return mSwapChain->getSamples(); in getSamples()
360 return (mDepth ? mSwapChain->getDepthStencilTexture() : mSwapChain->getOffscreenTexture()); in getTexture()
366 return mSwapChain->getRenderTarget(); in getRenderTargetView()
372 return mSwapChain->getDepthStencil(); in getDepthStencilView()
378 return (mDepth ? mSwapChain->getDepthStencilShaderResource() in getShaderResourceView()
[all …]
DSwapChain11.cpp72 mSwapChain(nullptr), in SwapChain11()
118 SafeRelease(mSwapChain); in release()
354 if (mSwapChain) in resetOffscreenColorBuffer()
476 ASSERT(mSwapChain && mBackBufferTexture.valid() && mBackBufferRTView.valid() && in resize()
485 HRESULT hr = mSwapChain->GetDesc(&desc); in resize()
493 hr = mSwapChain->ResizeBuffers(desc.BufferCount, backbufferWidth, backbufferHeight, in resize()
512 hr = mSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), in resize()
580 if (mSwapChain != nullptr) in reset()
596 SafeRelease(mSwapChain); in reset()
611 backbufferHeight, mNeedsOffscreenTexture ? 1 : getD3DSamples(), &mSwapChain); in reset()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp75 if (mSwapChain != VK_NULL_HANDLE) { in ~NativeSwapChainImpl()
76 mDevice->GetFencedDeleter()->DeleteWhenUnused(mSwapChain); in ~NativeSwapChainImpl()
77 mSwapChain = VK_NULL_HANDLE; in ~NativeSwapChainImpl()
115 VkSwapchainKHR oldSwapchain = mSwapChain; in Configure()
139 &*mSwapChain) != VK_SUCCESS) { in Configure()
146 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
153 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
180 if (mDevice->fn.AcquireNextImageKHR(mDevice->GetVkDevice(), mSwapChain, in GetNextTexture()
209 presentInfo.pSwapchains = &*mSwapChain; in Present()
DSwapChainVk.cpp271 std::swap(previousVulkanSwapChain->mSwapChain, previousVkSwapChain); in Initialize()
308 nullptr, &*mSwapChain), in Initialize()
315 device->fn.GetSwapchainImagesKHR(device->GetVkDevice(), mSwapChain, &count, nullptr), in Initialize()
320 device->fn.GetSwapchainImagesKHR(device->GetVkDevice(), mSwapChain, &count, in Initialize()
526 presentInfo.pSwapchains = &*mSwapChain; in PresentImpl()
577 device->GetVkDevice(), mSwapChain, std::numeric_limits<uint64_t>::max(), semaphore, in GetCurrentTextureViewInternal()
653 if (mSwapChain != VK_NULL_HANDLE) { in DetachFromSurfaceImpl()
654 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mSwapChain); in DetachFromSurfaceImpl()
655 mSwapChain = VK_NULL_HANDLE; in DetachFromSurfaceImpl()
DNativeSwapChainImplVk.h58 VkSwapchainKHR mSwapChain = VK_NULL_HANDLE; variable
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp50 if (mSwapChain != VK_NULL_HANDLE) { in ~NativeSwapChainImpl()
51 mDevice->GetFencedDeleter()->DeleteWhenUnused(mSwapChain); in ~NativeSwapChainImpl()
52 mSwapChain = VK_NULL_HANDLE; in ~NativeSwapChainImpl()
107 &mSwapChain) != VK_SUCCESS) { in Configure()
114 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
121 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
169 if (mDevice->fn.AcquireNextImageKHR(mDevice->GetVkDevice(), mSwapChain, in GetNextTexture()
194 presentInfo.pSwapchains = &mSwapChain; in Present()
DNativeSwapChainImplVk.h56 VkSwapchainKHR mSwapChain = VK_NULL_HANDLE; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DNativeSwapChainImplD3D12.cpp79 ASSERT_SUCCESS(swapChain1.As(&mSwapChain)); in Configure()
84 ASSERT_SUCCESS(mSwapChain->GetBuffer(i, IID_PPV_ARGS(&mBuffers[i]))); in Configure()
95 mCurrentBuffer = mSwapChain->GetCurrentBackBufferIndex(); in GetNextTexture()
108 ASSERT_SUCCESS(mSwapChain->Present(mInterval, 0)); in Present()
DNativeSwapChainImplD3D12.h52 ComPtr<IDXGISwapChain3> mSwapChain = nullptr; variable
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DNativeSwapChainImplD3D12.cpp77 ASSERT_SUCCESS(swapChain1.As(&mSwapChain)); in Configure()
82 ASSERT_SUCCESS(mSwapChain->GetBuffer(i, IID_PPV_ARGS(&mBuffers[i]))); in Configure()
93 mCurrentBuffer = mSwapChain->GetCurrentBackBufferIndex(); in GetNextTexture()
106 ASSERT_SUCCESS(mSwapChain->Present(1, 0)); in Present()
DNativeSwapChainImplD3D12.h50 ComPtr<IDXGISwapChain3> mSwapChain = nullptr; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSurface.cpp183 if (mSwapChain != nullptr) { in ~Surface()
184 mSwapChain->DetachFromSurface(); in ~Surface()
185 mSwapChain = nullptr; in ~Surface()
190 return mSwapChain.Get(); in GetAttachedSwapChain()
194 mSwapChain = swapChain; in SetAttachedSwapChain()
DSurface.h81 Ref<NewSwapChainBase> mSwapChain; variable
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp46 mSwapChain(nullptr), in DXGISwapChainWindowSurfaceWGL()
79 SafeRelease(mSwapChain); in ~DXGISwapChainWindowSurfaceWGL()
126 HRESULT result = mSwapChain->Present(mSwapInterval, 0); in swap()
192 HRESULT result = mSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), in bindTexImage()
459 mSwapChain = mSwapChain1; in createSwapChain()
460 mSwapChain->AddRef(); in createSwapChain()
482 result = dxgiFactory->CreateSwapChain(mDevice, &swapChainDesc, &mSwapChain); in createSwapChain()
492 result = mSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), in createSwapChain()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp46 mSwapChain(nullptr), in DXGISwapChainWindowSurfaceWGL()
79 SafeRelease(mSwapChain); in ~DXGISwapChainWindowSurfaceWGL()
126 HRESULT result = mSwapChain->Present(mSwapInterval, 0); in swap()
192 HRESULT result = mSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), in bindTexImage()
459 mSwapChain = mSwapChain1; in createSwapChain()
460 mSwapChain->AddRef(); in createSwapChain()
482 result = dxgiFactory->CreateSwapChain(mDevice, &swapChainDesc, &mSwapChain); in createSwapChain()
492 result = mSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), in createSwapChain()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DSwapChainPanelNativeWindow.cpp301 mSwapChain = newSwapChain; in createSwapChain()
336 HRESULT result = mSwapChain.As(&swapChain2); in scaleSwapChain()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DSwapChainPanelNativeWindow.cpp301 mSwapChain = newSwapChain; in createSwapChain()
336 HRESULT result = mSwapChain.As(&swapChain2); in scaleSwapChain()

12