Home
last modified time | relevance | path

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

/external/angle/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 …]
DSwapChain9.h69 IDirect3DSwapChain9 *mSwapChain; variable
DRenderTarget9.h92 SwapChain9 *mSwapChain;
/external/angle/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 …]
DSurfaceD3D.h101 SwapChainD3D *mSwapChain; variable
/external/angle/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 …]
DRenderTarget11.h121 SwapChain11 *mSwapChain;
DSwapChain11.h99 IDXGISwapChain *mSwapChain; variable
/external/angle/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()
DDXGISwapChainWindowSurfaceWGL.h88 IDXGISwapChain *mSwapChain; variable
/external/angle/src/libANGLE/renderer/d3d/d3d11/winrt/
DSwapChainPanelNativeWindow.cpp301 mSwapChain = newSwapChain; in createSwapChain()
336 HRESULT result = mSwapChain.As(&swapChain2); in scaleSwapChain()
DSwapChainPanelNativeWindow.h43 ComPtr<IDXGISwapChain1> mSwapChain; variable