Home
last modified time | relevance | path

Searched refs:cmd_list (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_marmalade.cpp53 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_Marmalade_RenderDrawData() local
54 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_Marmalade_RenderDrawData()
55 const int nVert = cmd_list->VtxBuffer.Size; in ImGui_Marmalade_RenderDrawData()
63 pVertStream[i].x = cmd_list->VtxBuffer[i].pos.x * g_RenderScale.x; in ImGui_Marmalade_RenderDrawData()
64 pVertStream[i].y = cmd_list->VtxBuffer[i].pos.y * g_RenderScale.y; in ImGui_Marmalade_RenderDrawData()
65 pUVStream[i].x = cmd_list->VtxBuffer[i].uv.x; in ImGui_Marmalade_RenderDrawData()
66 pUVStream[i].y = cmd_list->VtxBuffer[i].uv.y; in ImGui_Marmalade_RenderDrawData()
67 pColStream[i] = cmd_list->VtxBuffer[i].col; in ImGui_Marmalade_RenderDrawData()
75 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_Marmalade_RenderDrawData()
77 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_Marmalade_RenderDrawData()
[all …]
Dimgui_impl_dx9.cpp204 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX9_RenderDrawData() local
205 const ImDrawVert* vtx_src = cmd_list->VtxBuffer.Data; in ImGui_ImplDX9_RenderDrawData()
206 for (int i = 0; i < cmd_list->VtxBuffer.Size; i++) 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()
236 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX9_RenderDrawData() local
237 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplDX9_RenderDrawData()
239 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX9_RenderDrawData()
247 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX9_RenderDrawData()
262 …itive(D3DPT_TRIANGLELIST, pcmd->VtxOffset + global_vtx_offset, 0, (UINT)cmd_list->VtxBuffer.Size, … in ImGui_ImplDX9_RenderDrawData()
[all …]
Dimgui_impl_allegro5.cpp125 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplAllegro5_RenderDrawData() local
130 vertices.resize(cmd_list->IdxBuffer.Size); in ImGui_ImplAllegro5_RenderDrawData()
131 for (int i = 0; i < cmd_list->IdxBuffer.Size; i++) in ImGui_ImplAllegro5_RenderDrawData()
133 const ImDrawVert* src_v = &cmd_list->VtxBuffer[cmd_list->IdxBuffer[i]]; in ImGui_ImplAllegro5_RenderDrawData()
147 indices_converted.resize(cmd_list->IdxBuffer.Size); in ImGui_ImplAllegro5_RenderDrawData()
148 for (int i = 0; i < cmd_list->IdxBuffer.Size; ++i) in ImGui_ImplAllegro5_RenderDrawData()
149 indices_converted[i] = (int)cmd_list->IdxBuffer.Data[i]; in ImGui_ImplAllegro5_RenderDrawData()
154 indices = (const int*)cmd_list->IdxBuffer.Data; in ImGui_ImplAllegro5_RenderDrawData()
160 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplAllegro5_RenderDrawData()
162 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplAllegro5_RenderDrawData()
[all …]
Dimgui_impl_sdlrenderer.cpp139 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplSDLRenderer_RenderDrawData() local
140 const ImDrawVert* vtx_buffer = cmd_list->VtxBuffer.Data; in ImGui_ImplSDLRenderer_RenderDrawData()
141 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_ImplSDLRenderer_RenderDrawData()
143 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplSDLRenderer_RenderDrawData()
145 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplSDLRenderer_RenderDrawData()
153 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplSDLRenderer_RenderDrawData()
180 cmd_list->VtxBuffer.Size, in ImGui_ImplSDLRenderer_RenderDrawData()
Dimgui_impl_dx10.cpp159 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX10_RenderDrawData() local
160 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX10_RenderDrawData()
161 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX10_RenderDrawData()
162 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
163 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
241 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX10_RenderDrawData() local
242 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplDX10_RenderDrawData()
244 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX10_RenderDrawData()
252 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX10_RenderDrawData()
272 global_idx_offset += cmd_list->IdxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
[all …]
Dimgui_impl_wgpu.cpp394 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplWGPU_RenderDrawData() local
395 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplWGPU_RenderDrawData()
396 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplWGPU_RenderDrawData()
397 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplWGPU_RenderDrawData()
398 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplWGPU_RenderDrawData()
416 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplWGPU_RenderDrawData() local
417 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplWGPU_RenderDrawData()
419 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplWGPU_RenderDrawData()
427 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplWGPU_RenderDrawData()
457 global_idx_offset += cmd_list->IdxBuffer.Size; in ImGui_ImplWGPU_RenderDrawData()
[all …]
Dimgui_impl_dx11.cpp165 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX11_RenderDrawData() local
166 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX11_RenderDrawData()
167 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX11_RenderDrawData()
168 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
169 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
251 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX11_RenderDrawData() local
252 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplDX11_RenderDrawData()
254 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX11_RenderDrawData()
262 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX11_RenderDrawData()
282 global_idx_offset += cmd_list->IdxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
[all …]
Dimgui_impl_opengl2.cpp182 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplOpenGL2_RenderDrawData() local
183 const ImDrawVert* vtx_buffer = cmd_list->VtxBuffer.Data; in ImGui_ImplOpenGL2_RenderDrawData()
184 const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; in ImGui_ImplOpenGL2_RenderDrawData()
189 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplOpenGL2_RenderDrawData()
191 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplOpenGL2_RenderDrawData()
199 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplOpenGL2_RenderDrawData()
Dimgui_impl_dx12.cpp228 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX12_RenderDrawData() local
229 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplDX12_RenderDrawData()
230 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplDX12_RenderDrawData()
231 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
232 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
247 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplDX12_RenderDrawData() local
248 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplDX12_RenderDrawData()
250 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX12_RenderDrawData()
258 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX12_RenderDrawData()
277 global_idx_offset += cmd_list->IdxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
[all …]
Dimgui_impl_opengl3.cpp425 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplOpenGL3_RenderDrawData() local
428 …ufferData(GL_ARRAY_BUFFER, (GLsizeiptr)cmd_list->VtxBuffer.Size * (int)sizeof(ImDrawVert), (const … in ImGui_ImplOpenGL3_RenderDrawData()
429 …a(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)cmd_list->IdxBuffer.Size * (int)sizeof(ImDrawIdx), (const G… in ImGui_ImplOpenGL3_RenderDrawData()
431 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplOpenGL3_RenderDrawData()
433 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplOpenGL3_RenderDrawData()
441 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplOpenGL3_RenderDrawData()
Dimgui_impl_metal.mm488 const ImDrawList* cmd_list = drawData->CmdLists[n];
490 …r *)vertexBuffer.buffer.contents + vertexBufferOffset, cmd_list->VtxBuffer.Data, (size_t)cmd_list-…
491 …har *)indexBuffer.buffer.contents + indexBufferOffset, cmd_list->IdxBuffer.Data, (size_t)cmd_list-…
493 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++)
495 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i];
503 pcmd->UserCallback(cmd_list, pcmd);
542 vertexBufferOffset += (size_t)cmd_list->VtxBuffer.Size * sizeof(ImDrawVert);
543 indexBufferOffset += (size_t)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx);
Dimgui_impl_vulkan.cpp466 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplVulkan_RenderDrawData() local
467 … memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in ImGui_ImplVulkan_RenderDrawData()
468 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in ImGui_ImplVulkan_RenderDrawData()
469 vtx_dst += cmd_list->VtxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
470 idx_dst += cmd_list->IdxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
498 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplVulkan_RenderDrawData() local
499 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplVulkan_RenderDrawData()
501 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplVulkan_RenderDrawData()
509 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplVulkan_RenderDrawData()
537 global_idx_offset += cmd_list->IdxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
[all …]
/third_party/mesa3d/src/intel/tools/imgui/
Dimgui_impl_opengl3.cpp177 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in ImGui_ImplOpenGL3_RenderDrawData() local
181 …lBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)cmd_list->VtxBuffer.Size * sizeof(ImDrawVert), (const GLv… in ImGui_ImplOpenGL3_RenderDrawData()
184 …Data(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx), (const GLv… in ImGui_ImplOpenGL3_RenderDrawData()
186 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ImGui_ImplOpenGL3_RenderDrawData()
188 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplOpenGL3_RenderDrawData()
192 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplOpenGL3_RenderDrawData()
/third_party/node/tools/gyp/pylib/gyp/
Dflock_tool.py36 def ExecFlock(self, lockfile, *cmd_list): argument
51 return subprocess.call(cmd_list)
Dmac_tool.py253 def ExecFlock(self, lockfile, *cmd_list): argument
258 return subprocess.call(cmd_list)
260 def ExecFilterLibtool(self, *cmd_list): argument
277 libtoolout = subprocess.Popen(cmd_list, stderr=subprocess.PIPE, env=env)
285 for i in range(len(cmd_list) - 1):
286 if cmd_list[i] == "-o" and cmd_list[i + 1].endswith(".a"):
287 os.utime(cmd_list[i + 1], None)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dflock_tool.py36 def ExecFlock(self, lockfile, *cmd_list): argument
51 return subprocess.call(cmd_list)
Dmac_tool.py253 def ExecFlock(self, lockfile, *cmd_list): argument
258 return subprocess.call(cmd_list)
260 def ExecFilterLibtool(self, *cmd_list): argument
277 libtoolout = subprocess.Popen(cmd_list, stderr=subprocess.PIPE, env=env)
285 for i in range(len(cmd_list) - 1):
286 if cmd_list[i] == "-o" and cmd_list[i + 1].endswith(".a"):
287 os.utime(cmd_list[i + 1], None)
/third_party/libdrm/freedreno/msm/
Dmsm_ringbuffer.c86 struct list_head cmd_list; member
123 assert(!LIST_IS_EMPTY(&msm_ring->cmd_list)); in current_cmd()
124 return LIST_LAST_ENTRY(&msm_ring->cmd_list, struct msm_cmd, list); in current_cmd()
191 list_addtail(&cmd->list, &msm_ring->cmd_list); in ring_cmd_new()
325 LIST_FOR_EACH_ENTRY_SAFE(cmd, tmp, &msm_ring->cmd_list, list) { in delete_cmds()
623 LIST_FOR_EACH_ENTRY(cmd, &msm_target->cmd_list, list) { in msm_ringbuffer_emit_reloc_ring()
710 list_inithead(&msm_ring->cmd_list); in msm_ringbuffer_new()
/third_party/f2fs-tools/tools/
Df2fscrypt.c881 const struct cmd_desc cmd_list[] = { variable
895 for (p = cmd_list; p->cmd_name; p++) { in do_help()
909 for (p = cmd_list; p->cmd_name; p++) { in do_help()
924 do_help(argc, argv, cmd_list); in main()
927 for (cmd = cmd_list; cmd->cmd_name; cmd++) { in main()
934 do_help(1, argv, cmd_list); in main()
/third_party/node/deps/v8/tools/
Drun-wasm-api-tests.py70 def _Call(cmd_list, silent=False): argument
71 cmd = " ".join(cmd_list)
/third_party/f2fs-tools/tools/f2fs_io/
Df2fs_io.c1275 const struct cmd_desc cmd_list[] = { variable
1309 for (p = cmd_list; p->cmd_name; p++) { in do_help()
1323 for (p = cmd_list; p->cmd_name; p++) { in do_help()
1374 do_help(argc, argv, cmd_list); in main()
1377 for (cmd = cmd_list; cmd->cmd_name; cmd++) { in main()
1384 do_help(1, argv, cmd_list); in main()
/third_party/node/deps/v8/tools/dev/
Dv8gen.py120 list_cmd.set_defaults(func=self.cmd_list)
191 def cmd_list(self): member in GenerateGnArgs
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1247 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in render_swapchain_display() local
1248 memcpy(vtx_dst, cmd_list->VtxBuffer.Data, cmd_list->VtxBuffer.Size * sizeof(ImDrawVert)); in render_swapchain_display()
1249 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in render_swapchain_display()
1250 vtx_dst += cmd_list->VtxBuffer.Size; in render_swapchain_display()
1251 idx_dst += cmd_list->IdxBuffer.Size; in render_swapchain_display()
1312 const ImDrawList* cmd_list = draw_data->CmdLists[n]; in render_swapchain_display() local
1313 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in render_swapchain_display()
1315 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in render_swapchain_display()
1330 vtx_offset += cmd_list->VtxBuffer.Size; in render_swapchain_display()
/third_party/mesa3d/src/imgui/
Dimgui_draw.cpp1278 ImDrawList* cmd_list = CmdLists[i]; in DeIndexAllBuffers() local
1279 if (cmd_list->IdxBuffer.empty()) in DeIndexAllBuffers()
1281 new_vtx_buffer.resize(cmd_list->IdxBuffer.Size); in DeIndexAllBuffers()
1282 for (int j = 0; j < cmd_list->IdxBuffer.Size; j++) in DeIndexAllBuffers()
1283 new_vtx_buffer[j] = cmd_list->VtxBuffer[cmd_list->IdxBuffer[j]]; in DeIndexAllBuffers()
1284 cmd_list->VtxBuffer.swap(new_vtx_buffer); in DeIndexAllBuffers()
1285 cmd_list->IdxBuffer.resize(0); in DeIndexAllBuffers()
1286 TotalVtxCount += cmd_list->VtxBuffer.Size; in DeIndexAllBuffers()
1297 ImDrawList* cmd_list = CmdLists[i]; in ScaleClipRects() local
1298 for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) in ScaleClipRects()
[all …]
/third_party/iptables/
Dbackport-nft-Expand-extended-error-reporting-to-nft_cmd-too.patch74 list_for_each_entry_safe(cmd, next, &h->cmd_list, head) {

12