Home
last modified time | relevance | path

Searched refs:GR_D3D_CALL_ERRCHECK (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/tools/sk_app/win/
DD3D12WindowContext_win.cpp21 #define GR_D3D_CALL_ERRCHECK(X) \ macro
98 GR_D3D_CALL_ERRCHECK(CreateDXGIFactory2(dxgiFactoryFlags, IID_PPV_ARGS(&factory))); in initializeContext()
110 GR_D3D_CALL_ERRCHECK(factory->CreateSwapChainForHwnd( in initializeContext()
114 GR_D3D_CALL_ERRCHECK(factory->MakeWindowAssociation(fWindow, DXGI_MWA_NO_ALT_ENTER)); in initializeContext()
116 GR_D3D_CALL_ERRCHECK(swapChain->QueryInterface(IID_PPV_ARGS(&fSwapChain))); in initializeContext()
127 GR_D3D_CALL_ERRCHECK(fDevice->CreateFence(fFenceValues[fBufferIndex], D3D12_FENCE_FLAG_NONE, in initializeContext()
147 GR_D3D_CALL_ERRCHECK(fSwapChain->GetBuffer(i, IID_PPV_ARGS(&fBuffers[i]))); in setupSurfaces()
188 GR_D3D_CALL_ERRCHECK(fFence->SetEventOnCompletion(fFenceValues[fBufferIndex], fFenceEvent)); in getBackbufferSurface()
205 GR_D3D_CALL_ERRCHECK(fSwapChain->Present(1, 0)); in swapBuffers()
208 GR_D3D_CALL_ERRCHECK(fQueue->Signal(fFence.get(), fFenceValues[fBufferIndex])); in swapBuffers()
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DCommandList.cpp55 GR_D3D_CALL_ERRCHECK(fAllocator->Reset()); in reset()
56 GR_D3D_CALL_ERRCHECK(fCommandList->Reset(fAllocator.get(), nullptr)); in reset()
273 GR_D3D_CALL_ERRCHECK(device->CreateCommandAllocator( in Make()
277 GR_D3D_CALL_ERRCHECK(device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, in Make()
601 GR_D3D_CALL_ERRCHECK(device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, in Make()
605 GR_D3D_CALL_ERRCHECK(device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_COPY, allocator.get(), in Make()
DGrD3DCaps.cpp135 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_FEATURE_LEVELS, &flDesc, in init()
141 GR_D3D_CALL_ERRCHECK(adapter->GetDesc(&adapterDesc)); in init()
144 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &optionsDesc, in init()
166 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS2, &optionsDesc2, in init()
270 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, in stencil_format_supported()
721 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS, in multisample_count_supported()
761 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, in init()
DGrD3DUtil.h16 #define GR_D3D_CALL_ERRCHECK(X) \ macro
DGrD3DPipelineStateBuilder.cpp551 GR_D3D_CALL_ERRCHECK( in create_pipeline_state()
707 GR_D3D_CALL_ERRCHECK( in MakeComputePipeline()
DGrD3DGpu.cpp86 GR_D3D_CALL_ERRCHECK(fDevice->CreateFence(fCurrentFenceValue, D3D12_FENCE_FLAG_NONE, in GrD3DGpu()
215 GR_D3D_CALL_ERRCHECK(fFence->SetEventOnCompletion(fCurrentFenceValue, fenceEvent)); in waitForQueueCompletion()
1729 GR_D3D_CALL_ERRCHECK(fQueue->Signal(fFence.get(), ++fCurrentFenceValue)); in insertFence()