Searched refs:pVB (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_dx9.cpp | 43 LPDIRECT3DVERTEXBUFFER9 pVB; member 152 if (!bd->pVB || bd->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplDX9_RenderDrawData() 154 if (bd->pVB) { bd->pVB->Release(); bd->pVB = NULL; } in ImGui_ImplDX9_RenderDrawData() 156 …, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, D3DFVF_CUSTOMVERTEX, D3DPOOL_DEFAULT, &bd->pVB, NULL) < 0) in ImGui_ImplDX9_RenderDrawData() 186 …if (bd->pVB->Lock(0, (UINT)(draw_data->TotalVtxCount * sizeof(CUSTOMVERTEX)), (void**)&vtx_dst, D3… in ImGui_ImplDX9_RenderDrawData() 193 bd->pVB->Unlock(); in ImGui_ImplDX9_RenderDrawData() 220 bd->pVB->Unlock(); in ImGui_ImplDX9_RenderDrawData() 222 bd->pd3dDevice->SetStreamSource(0, bd->pVB, 0, sizeof(CUSTOMVERTEX)); in ImGui_ImplDX9_RenderDrawData() 366 if (bd->pVB) { bd->pVB->Release(); bd->pVB = NULL; } in ImGui_ImplDX9_InvalidateDeviceObjects()
|
D | imgui_impl_dx10.cpp | 48 ID3D10Buffer* pVB; member 96 ctx->IASetVertexBuffers(0, 1, &bd->pVB, &stride, &offset); in ImGui_ImplDX10_SetupRenderState() 123 if (!bd->pVB || bd->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplDX10_RenderDrawData() 125 if (bd->pVB) { bd->pVB->Release(); bd->pVB = NULL; } in ImGui_ImplDX10_RenderDrawData() 134 if (ctx->CreateBuffer(&desc, NULL, &bd->pVB) < 0) in ImGui_ImplDX10_RenderDrawData() 155 bd->pVB->Map(D3D10_MAP_WRITE_DISCARD, 0, (void**)&vtx_dst); in ImGui_ImplDX10_RenderDrawData() 165 bd->pVB->Unmap(); in ImGui_ImplDX10_RenderDrawData() 518 if (bd->pVB) { bd->pVB->Release(); bd->pVB = NULL; } in ImGui_ImplDX10_InvalidateDeviceObjects()
|
D | imgui_impl_dx11.cpp | 49 ID3D11Buffer* pVB; member 97 ctx->IASetVertexBuffers(0, 1, &bd->pVB, &stride, &offset); in ImGui_ImplDX11_SetupRenderState() 127 if (!bd->pVB || bd->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplDX11_RenderDrawData() 129 if (bd->pVB) { bd->pVB->Release(); bd->pVB = NULL; } in ImGui_ImplDX11_RenderDrawData() 138 if (bd->pd3dDevice->CreateBuffer(&desc, NULL, &bd->pVB) < 0) in ImGui_ImplDX11_RenderDrawData() 157 if (ctx->Map(bd->pVB, 0, D3D11_MAP_WRITE_DISCARD, 0, &vtx_resource) != S_OK) in ImGui_ImplDX11_RenderDrawData() 171 ctx->Unmap(bd->pVB, 0); in ImGui_ImplDX11_RenderDrawData() 530 if (bd->pVB) { bd->pVB->Release(); bd->pVB = NULL; } in ImGui_ImplDX11_InvalidateDeviceObjects()
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | api.cpp | 581 const SWR_VERTEX_BUFFER_STATE* pVB = &pVertexBuffers[i]; in SwrSetVertexBuffers() local 582 pState->vertexBuffers[pVB->index] = *pVB; in SwrSetVertexBuffers()
|