Home
last modified time | relevance | path

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

/external/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 …]
/external/skia/src/gpu/d3d/
DGrD3DCommandList.cpp54 GR_D3D_CALL_ERRCHECK(fAllocator->Reset()); in reset()
55 GR_D3D_CALL_ERRCHECK(fCommandList->Reset(fAllocator.get(), nullptr)); in reset()
272 GR_D3D_CALL_ERRCHECK(device->CreateCommandAllocator( in Make()
276 GR_D3D_CALL_ERRCHECK(device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, in Make()
347 GR_D3D_CALL_ERRCHECK(fCommandList->QueryInterface(IID_PPV_ARGS(&commandList1))); in setCenteredSamplePositions()
357 GR_D3D_CALL_ERRCHECK(fCommandList->QueryInterface(IID_PPV_ARGS(&commandList1))); in setDefaultSamplePositions()
615 GR_D3D_CALL_ERRCHECK(device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, in Make()
619 GR_D3D_CALL_ERRCHECK(device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_COPY, allocator.get(), in Make()
DGrD3DUtil.h16 #define GR_D3D_CALL_ERRCHECK(X) \ macro
DGrD3DCaps.cpp132 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_FEATURE_LEVELS, &flDesc, in init()
138 GR_D3D_CALL_ERRCHECK(adapter->GetDesc(&adapterDesc)); in init()
141 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &optionsDesc, in init()
265 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, in stencil_format_supported()
716 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS, in multisample_count_supported()
756 GR_D3D_CALL_ERRCHECK(device->CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, in init()
DGrD3DPipelineStateBuilder.cpp558 GR_D3D_CALL_ERRCHECK( in create_pipeline_state()
729 GR_D3D_CALL_ERRCHECK( in MakeComputePipeline()
DGrD3DGpu.cpp86 GR_D3D_CALL_ERRCHECK(fDevice->CreateFence(fCurrentFenceValue, D3D12_FENCE_FLAG_NONE, in GrD3DGpu()
214 GR_D3D_CALL_ERRCHECK(fFence->SetEventOnCompletion(fCurrentFenceValue, fenceEvent)); in waitForQueueCompletion()
1528 GR_D3D_CALL_ERRCHECK(fQueue->Signal(fFence.get(), ++fCurrentFenceValue)); in insertFence()