Home
last modified time | relevance | path

Searched refs:pd3dDevice (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx9.cpp42 LPDIRECT3DDEVICE9 pd3dDevice; member
85 bd->pd3dDevice->SetViewport(&vp); in ImGui_ImplDX9_SetupRenderState()
88 bd->pd3dDevice->SetPixelShader(NULL); in ImGui_ImplDX9_SetupRenderState()
89 bd->pd3dDevice->SetVertexShader(NULL); in ImGui_ImplDX9_SetupRenderState()
90 bd->pd3dDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID); in ImGui_ImplDX9_SetupRenderState()
91 bd->pd3dDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_GOURAUD); in ImGui_ImplDX9_SetupRenderState()
92 bd->pd3dDevice->SetRenderState(D3DRS_ZWRITEENABLE, FALSE); in ImGui_ImplDX9_SetupRenderState()
93 bd->pd3dDevice->SetRenderState(D3DRS_ALPHATESTENABLE, FALSE); in ImGui_ImplDX9_SetupRenderState()
94 bd->pd3dDevice->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE); in ImGui_ImplDX9_SetupRenderState()
95 bd->pd3dDevice->SetRenderState(D3DRS_ZENABLE, FALSE); in ImGui_ImplDX9_SetupRenderState()
[all …]
Dimgui_impl_dx10.cpp46 ID3D10Device* pd3dDevice; member
120 ID3D10Device* ctx = bd->pd3dDevice; in ImGui_ImplDX10_RenderDrawData()
322 bd->pd3dDevice->CreateTexture2D(&desc, &subResource, &pTexture); in ImGui_ImplDX10_CreateFontsTexture()
332 bd->pd3dDevice->CreateShaderResourceView(pTexture, &srv_desc, &bd->pFontTextureView); in ImGui_ImplDX10_CreateFontsTexture()
351 bd->pd3dDevice->CreateSamplerState(&desc, &bd->pFontSampler); in ImGui_ImplDX10_CreateFontsTexture()
358 if (!bd->pd3dDevice) in ImGui_ImplDX10_CreateDeviceObjects()
402 …if (bd->pd3dDevice->CreateVertexShader(vertexShaderBlob->GetBufferPointer(), vertexShaderBlob->Get… in ImGui_ImplDX10_CreateDeviceObjects()
415 …if (bd->pd3dDevice->CreateInputLayout(local_layout, 3, vertexShaderBlob->GetBufferPointer(), verte… in ImGui_ImplDX10_CreateDeviceObjects()
430 bd->pd3dDevice->CreateBuffer(&desc, NULL, &bd->pVertexConstantBuffer); in ImGui_ImplDX10_CreateDeviceObjects()
455 …if (bd->pd3dDevice->CreatePixelShader(pixelShaderBlob->GetBufferPointer(), pixelShaderBlob->GetBuf… in ImGui_ImplDX10_CreateDeviceObjects()
[all …]
Dimgui_impl_dx11.cpp46 ID3D11Device* pd3dDevice; member
138 if (bd->pd3dDevice->CreateBuffer(&desc, NULL, &bd->pVB) < 0) in ImGui_ImplDX11_RenderDrawData()
151 if (bd->pd3dDevice->CreateBuffer(&desc, NULL, &bd->pIB) < 0) in ImGui_ImplDX11_RenderDrawData()
334 bd->pd3dDevice->CreateTexture2D(&desc, &subResource, &pTexture); in ImGui_ImplDX11_CreateFontsTexture()
344 bd->pd3dDevice->CreateShaderResourceView(pTexture, &srvDesc, &bd->pFontTextureView); in ImGui_ImplDX11_CreateFontsTexture()
363 bd->pd3dDevice->CreateSamplerState(&desc, &bd->pFontSampler); in ImGui_ImplDX11_CreateFontsTexture()
370 if (!bd->pd3dDevice) in ImGui_ImplDX11_CreateDeviceObjects()
414 …if (bd->pd3dDevice->CreateVertexShader(vertexShaderBlob->GetBufferPointer(), vertexShaderBlob->Get… in ImGui_ImplDX11_CreateDeviceObjects()
427 …if (bd->pd3dDevice->CreateInputLayout(local_layout, 3, vertexShaderBlob->GetBufferPointer(), verte… in ImGui_ImplDX11_CreateDeviceObjects()
442 bd->pd3dDevice->CreateBuffer(&desc, NULL, &bd->pVertexConstantBuffer); in ImGui_ImplDX11_CreateDeviceObjects()
[all …]
Dimgui_impl_dx12.cpp62 ID3D12Device* pd3dDevice; member
189 …if (bd->pd3dDevice->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, D3D12_RESOURCE_ST… in ImGui_ImplDX12_RenderDrawData()
212 …if (bd->pd3dDevice->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, D3D12_RESOURCE_ST… in ImGui_ImplDX12_RenderDrawData()
314 bd->pd3dDevice->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, in ImGui_ImplDX12_CreateFontsTexture()
336 HRESULT hr = bd->pd3dDevice->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, in ImGui_ImplDX12_CreateFontsTexture()
371 hr = bd->pd3dDevice->CreateFence(0, D3D12_FENCE_FLAG_NONE, IID_PPV_ARGS(&fence)); in ImGui_ImplDX12_CreateFontsTexture()
383 hr = bd->pd3dDevice->CreateCommandQueue(&queueDesc, IID_PPV_ARGS(&cmdQueue)); in ImGui_ImplDX12_CreateFontsTexture()
387 …hr = bd->pd3dDevice->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&cmdAlloc… in ImGui_ImplDX12_CreateFontsTexture()
391 …hr = bd->pd3dDevice->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, cmdAlloc, NULL, IID_PPV_… in ImGui_ImplDX12_CreateFontsTexture()
422 bd->pd3dDevice->CreateShaderResourceView(pTexture, &srvDesc, bd->hFontSrvCpuDescHandle); in ImGui_ImplDX12_CreateFontsTexture()
[all …]