Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_dx9.cpp82 CUSTOMVERTEX* vtx_dst; in ImGui_ImplDX9_RenderDrawData() local
84 …if (g_pVB->Lock(0, (UINT)(draw_data->TotalVtxCount * sizeof(CUSTOMVERTEX)), (void**)&vtx_dst, D3DL… in ImGui_ImplDX9_RenderDrawData()
94 vtx_dst->pos[0] = vtx_src->pos.x; in ImGui_ImplDX9_RenderDrawData()
95 vtx_dst->pos[1] = vtx_src->pos.y; in ImGui_ImplDX9_RenderDrawData()
96 vtx_dst->pos[2] = 0.0f; in ImGui_ImplDX9_RenderDrawData()
97vtx_dst->col = (vtx_src->col & 0xFF00FF00) | ((vtx_src->col & 0xFF0000) >> 16) | ((vtx_src->col & … in ImGui_ImplDX9_RenderDrawData()
98 vtx_dst->uv[0] = vtx_src->uv.x; in ImGui_ImplDX9_RenderDrawData()
99 vtx_dst->uv[1] = vtx_src->uv.y; in ImGui_ImplDX9_RenderDrawData()
100 vtx_dst++; in ImGui_ImplDX9_RenderDrawData()
Dimgui_impl_dx10.cpp95 ImDrawVert* vtx_dst = NULL; in ImGui_ImplDX10_RenderDrawData() local
97 g_pVB->Map(D3D10_MAP_WRITE_DISCARD, 0, (void**)&vtx_dst); in ImGui_ImplDX10_RenderDrawData()
102 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX10_RenderDrawData()
104 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_dx11.cpp99 ImDrawVert* vtx_dst = (ImDrawVert*)vtx_resource.pData; in ImGui_ImplDX11_RenderDrawData() local
104 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX11_RenderDrawData()
106 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
Dimgui_impl_dx12.cpp133 ImDrawVert* vtx_dst = (ImDrawVert*)vtx_resource; in ImGui_ImplDX12_RenderDrawData() local
138 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX12_RenderDrawData()
140 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
Dimgui_impl_vulkan.cpp222 ImDrawVert* vtx_dst = NULL; in ImGui_ImplVulkan_RenderDrawData() local
224 err = vkMapMemory(g_Device, fd->VertexBufferMemory, 0, vertex_size, 0, (void**)(&vtx_dst)); in ImGui_ImplVulkan_RenderDrawData()
231 … memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplVulkan_RenderDrawData()
233 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx9.cpp184 CUSTOMVERTEX* vtx_dst; in ImGui_ImplDX9_RenderDrawData() local
186 …if (bd->pVB->Lock(0, (UINT)(draw_data->TotalVtxCount * sizeof(CUSTOMVERTEX)), (void**)&vtx_dst, D3… in ImGui_ImplDX9_RenderDrawData()
208 vtx_dst->pos[0] = vtx_src->pos.x; in ImGui_ImplDX9_RenderDrawData()
209 vtx_dst->pos[1] = vtx_src->pos.y; in ImGui_ImplDX9_RenderDrawData()
210 vtx_dst->pos[2] = 0.0f; in ImGui_ImplDX9_RenderDrawData()
211 vtx_dst->col = IMGUI_COL_TO_DX9_ARGB(vtx_src->col); in ImGui_ImplDX9_RenderDrawData()
212 vtx_dst->uv[0] = vtx_src->uv.x; in ImGui_ImplDX9_RenderDrawData()
213 vtx_dst->uv[1] = vtx_src->uv.y; in ImGui_ImplDX9_RenderDrawData()
214 vtx_dst++; in ImGui_ImplDX9_RenderDrawData()
Dimgui_impl_dx10.cpp153 ImDrawVert* vtx_dst = NULL; in ImGui_ImplDX10_RenderDrawData() local
155 bd->pVB->Map(D3D10_MAP_WRITE_DISCARD, 0, (void**)&vtx_dst); in ImGui_ImplDX10_RenderDrawData()
160 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX10_RenderDrawData()
162 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_wgpu.cpp390 ImDrawVert* vtx_dst = (ImDrawVert*)fr->VertexBufferHost; in ImGui_ImplWGPU_RenderDrawData() local
395 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplWGPU_RenderDrawData()
397 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplWGPU_RenderDrawData()
400 int64_t vb_write_size = ((char*)vtx_dst - (char*)fr->VertexBufferHost + 3) & ~3; in ImGui_ImplWGPU_RenderDrawData()
Dimgui_impl_dx11.cpp161 ImDrawVert* vtx_dst = (ImDrawVert*)vtx_resource.pData; in ImGui_ImplDX11_RenderDrawData() local
166 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX11_RenderDrawData()
168 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
Dimgui_impl_dx12.cpp224 ImDrawVert* vtx_dst = (ImDrawVert*)vtx_resource; in ImGui_ImplDX12_RenderDrawData() local
229 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX12_RenderDrawData()
231 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
Dimgui_impl_vulkan.cpp458 ImDrawVert* vtx_dst = NULL; in ImGui_ImplVulkan_RenderDrawData() local
460 …r = vkMapMemory(v->Device, rb->VertexBufferMemory, 0, rb->VertexBufferSize, 0, (void**)(&vtx_dst)); in ImGui_ImplVulkan_RenderDrawData()
467 … memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplVulkan_RenderDrawData()
469 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1239 ImDrawVert* vtx_dst = NULL; in render_swapchain_display() local
1242 0, vertex_size, 0, (void**)(&vtx_dst))); in render_swapchain_display()
1248 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in render_swapchain_display()
1250 vtx_dst += cmd_list->VtxBuffer.Size; in render_swapchain_display()