Home
last modified time | relevance | path

Searched refs:idx_dst (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_dx9.cpp83 ImDrawIdx* idx_dst; in ImGui_ImplDX9_RenderDrawData() local
86 …if (g_pIB->Lock(0, (UINT)(draw_data->TotalIdxCount * sizeof(ImDrawIdx)), (void**)&idx_dst, D3DLOCK… in ImGui_ImplDX9_RenderDrawData()
103 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX9_RenderDrawData()
104 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX9_RenderDrawData()
Dimgui_impl_dx10.cpp96 ImDrawIdx* idx_dst = NULL; in ImGui_ImplDX10_RenderDrawData() local
98 g_pIB->Map(D3D10_MAP_WRITE_DISCARD, 0, (void**)&idx_dst); in ImGui_ImplDX10_RenderDrawData()
103 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX10_RenderDrawData()
105 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_dx11.cpp100 ImDrawIdx* idx_dst = (ImDrawIdx*)idx_resource.pData; in ImGui_ImplDX11_RenderDrawData() local
105 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX11_RenderDrawData()
107 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
Dimgui_impl_dx12.cpp134 ImDrawIdx* idx_dst = (ImDrawIdx*)idx_resource; in ImGui_ImplDX12_RenderDrawData() local
139 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX12_RenderDrawData()
141 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
Dimgui_impl_vulkan.cpp223 ImDrawIdx* idx_dst = NULL; in ImGui_ImplVulkan_RenderDrawData() local
226 err = vkMapMemory(g_Device, fd->IndexBufferMemory, 0, index_size, 0, (void**)(&idx_dst)); in ImGui_ImplVulkan_RenderDrawData()
232 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplVulkan_RenderDrawData()
234 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx9.cpp185 ImDrawIdx* idx_dst; in ImGui_ImplDX9_RenderDrawData() local
191 …if (bd->pIB->Lock(0, (UINT)(draw_data->TotalIdxCount * sizeof(ImDrawIdx)), (void**)&idx_dst, D3DLO… in ImGui_ImplDX9_RenderDrawData()
217 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX9_RenderDrawData()
218 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX9_RenderDrawData()
Dimgui_impl_dx10.cpp154 ImDrawIdx* idx_dst = NULL; in ImGui_ImplDX10_RenderDrawData() local
156 bd->pIB->Map(D3D10_MAP_WRITE_DISCARD, 0, (void**)&idx_dst); in ImGui_ImplDX10_RenderDrawData()
161 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX10_RenderDrawData()
163 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_wgpu.cpp391 ImDrawIdx* idx_dst = (ImDrawIdx*)fr->IndexBufferHost; in ImGui_ImplWGPU_RenderDrawData() local
396 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplWGPU_RenderDrawData()
398 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplWGPU_RenderDrawData()
401 int64_t ib_write_size = ((char*)idx_dst - (char*)fr->IndexBufferHost + 3) & ~3; in ImGui_ImplWGPU_RenderDrawData()
Dimgui_impl_dx11.cpp162 ImDrawIdx* idx_dst = (ImDrawIdx*)idx_resource.pData; in ImGui_ImplDX11_RenderDrawData() local
167 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX11_RenderDrawData()
169 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
Dimgui_impl_dx12.cpp225 ImDrawIdx* idx_dst = (ImDrawIdx*)idx_resource; in ImGui_ImplDX12_RenderDrawData() local
230 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX12_RenderDrawData()
232 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
Dimgui_impl_vulkan.cpp459 ImDrawIdx* idx_dst = NULL; in ImGui_ImplVulkan_RenderDrawData() local
462 …err = vkMapMemory(v->Device, rb->IndexBufferMemory, 0, rb->IndexBufferSize, 0, (void**)(&idx_dst)); in ImGui_ImplVulkan_RenderDrawData()
468 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplVulkan_RenderDrawData()
470 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1240 ImDrawIdx* idx_dst = NULL; in render_swapchain_display() local
1244 0, index_size, 0, (void**)(&idx_dst))); in render_swapchain_display()
1249 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in render_swapchain_display()
1251 idx_dst += cmd_list->IdxBuffer.Size; in render_swapchain_display()