Searched refs:IndexBufferSize (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_dx9.cpp | 47 int IndexBufferSize; member 49 …Data() { memset(this, 0, sizeof(*this)); VertexBufferSize = 5000; IndexBufferSize = 10000; } in ImGui_ImplDX9_Data() 159 if (!bd->pIB || bd->IndexBufferSize < draw_data->TotalIdxCount) in ImGui_ImplDX9_RenderDrawData() 162 bd->IndexBufferSize = draw_data->TotalIdxCount + 10000; in ImGui_ImplDX9_RenderDrawData() 163 …if (bd->pd3dDevice->CreateIndexBuffer(bd->IndexBufferSize * sizeof(ImDrawIdx), D3DUSAGE_DYNAMIC | … in ImGui_ImplDX9_RenderDrawData()
|
D | imgui_impl_wgpu.cpp | 62 int IndexBufferSize; member 364 if (fr->IndexBuffer == NULL || fr->IndexBufferSize < draw_data->TotalIdxCount) in ImGui_ImplWGPU_RenderDrawData() 372 fr->IndexBufferSize = draw_data->TotalIdxCount + 10000; in ImGui_ImplWGPU_RenderDrawData() 379 fr->IndexBufferSize * sizeof(ImDrawIdx), in ImGui_ImplWGPU_RenderDrawData() 386 fr->IndexBufferHost = new ImDrawIdx[fr->IndexBufferSize]; in ImGui_ImplWGPU_RenderDrawData() 695 fr->IndexBufferSize = 10000; in ImGui_ImplWGPU_Init()
|
D | imgui_impl_dx12.cpp | 56 int IndexBufferSize; member 134 ibv.SizeInBytes = fr->IndexBufferSize * sizeof(ImDrawIdx); in ImGui_ImplDX12_SetupRenderState() 192 if (fr->IndexBuffer == NULL || fr->IndexBufferSize < draw_data->TotalIdxCount) in ImGui_ImplDX12_RenderDrawData() 195 fr->IndexBufferSize = draw_data->TotalIdxCount + 10000; in ImGui_ImplDX12_RenderDrawData() 204 desc.Width = fr->IndexBufferSize * sizeof(ImDrawIdx); in ImGui_ImplDX12_RenderDrawData() 719 fr->IndexBufferSize = 10000; in ImGui_ImplDX12_Init()
|
D | imgui_impl_dx10.cpp | 60 int IndexBufferSize; member 62 …_Data() { memset(this, 0, sizeof(*this)); VertexBufferSize = 5000; IndexBufferSize = 10000; } in ImGui_ImplDX10_Data() 138 if (!bd->pIB || bd->IndexBufferSize < draw_data->TotalIdxCount) in ImGui_ImplDX10_RenderDrawData() 141 bd->IndexBufferSize = draw_data->TotalIdxCount + 10000; in ImGui_ImplDX10_RenderDrawData() 145 desc.ByteWidth = bd->IndexBufferSize * sizeof(ImDrawIdx); in ImGui_ImplDX10_RenderDrawData()
|
D | imgui_impl_dx11.cpp | 61 int IndexBufferSize; member 63 …_Data() { memset(this, 0, sizeof(*this)); VertexBufferSize = 5000; IndexBufferSize = 10000; } in ImGui_ImplDX11_Data() 141 if (!bd->pIB || bd->IndexBufferSize < draw_data->TotalIdxCount) in ImGui_ImplDX11_RenderDrawData() 144 bd->IndexBufferSize = draw_data->TotalIdxCount + 10000; in ImGui_ImplDX11_RenderDrawData() 148 desc.ByteWidth = bd->IndexBufferSize * sizeof(ImDrawIdx); in ImGui_ImplDX11_RenderDrawData()
|
D | imgui_impl_vulkan.cpp | 66 VkDeviceSize IndexBufferSize; member 454 if (rb->IndexBuffer == VK_NULL_HANDLE || rb->IndexBufferSize < index_size) in ImGui_ImplVulkan_RenderDrawData() 455 …CreateOrResizeBuffer(rb->IndexBuffer, rb->IndexBufferMemory, rb->IndexBufferSize, index_size, VK_B… in ImGui_ImplVulkan_RenderDrawData() 462 …err = vkMapMemory(v->Device, rb->IndexBufferMemory, 0, rb->IndexBufferSize, 0, (void**)(&idx_dst)); in ImGui_ImplVulkan_RenderDrawData() 1452 buffers->IndexBufferSize = 0; in ImGui_ImplVulkanH_DestroyFrameRenderBuffers()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_dx12.cpp | 49 int IndexBufferSize; member 71 int g_IndexBufferSize = frameResources->IndexBufferSize; in ImGui_ImplDX12_RenderDrawData() 122 frameResources->IndexBufferSize = g_IndexBufferSize; in ImGui_ImplDX12_RenderDrawData() 611 g_pFrameResources[i].IndexBufferSize = 10000; in ImGui_ImplDX12_Init()
|
D | imgui_impl_vulkan.cpp | 60 VkDeviceSize IndexBufferSize; member 217 if (!fd->IndexBuffer || fd->IndexBufferSize < index_size) in ImGui_ImplVulkan_RenderDrawData() 218 …CreateOrResizeBuffer(fd->IndexBuffer, fd->IndexBufferMemory, fd->IndexBufferSize, index_size, VK_B… in ImGui_ImplVulkan_RenderDrawData()
|