Searched refs:fSwapChain (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/tools/sk_app/ |
H A D | DawnWindowContext.cpp | 47 fSwapChain = fDevice.CreateSwapChain(nullptr, &swapChainDesc); in initializeContext() 48 if (!fSwapChain) { in initializeContext() 52 fSwapChain.Configure(fSwapChainFormat, kUsage, width, height); in initializeContext() 72 rtInfo.fTextureView = fSwapChain.GetCurrentTextureView(); in getBackbufferSurface() 87 fSwapChain.Present(); in swapBuffers() 97 fSwapChain = fDevice.CreateSwapChain(nullptr, &swapChainDesc); in resize() 98 if (!fSwapChain) { in resize() 102 fSwapChain.Configure(fSwapChainFormat, kUsage, fWidth, fHeight); in resize()
|
H A D | DawnWindowContext.h | 47 wgpu::SwapChain fSwapChain; member in sk_app::DawnWindowContext
|
/third_party/skia/tools/sk_app/win/ |
H A D | D3D12WindowContext_win.cpp | 57 gr_cp<IDXGISwapChain3> fSwapChain; member in sk_app::D3D12WindowContext 116 GR_D3D_CALL_ERRCHECK(swapChain->QueryInterface(IID_PPV_ARGS(&fSwapChain))); in initializeContext() 118 fBufferIndex = fSwapChain->GetCurrentBackBufferIndex(); in initializeContext() 147 GR_D3D_CALL_ERRCHECK(fSwapChain->GetBuffer(i, IID_PPV_ARGS(&fBuffers[i]))); in setupSurfaces() 176 fSwapChain.reset(nullptr); in destroyContext() 184 fBufferIndex = fSwapChain->GetCurrentBackBufferIndex(); in getBackbufferSurface() 205 GR_D3D_CALL_ERRCHECK(fSwapChain->Present(1, 0)); in swapBuffers() 227 GR_D3D_CALL_ERRCHECK(fSwapChain->ResizeBuffers(0, width, height, in resize()
|
Completed in 1 milliseconds