Home
last modified time | relevance | path

Searched refs:ElemCount (Results 1 – 25 of 39) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_opengl2.cpp147 …glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT … in ImGui_ImplOpenGL2_RenderDrawData()
150 idx_buffer += pcmd->ElemCount; in ImGui_ImplOpenGL2_RenderDrawData()
Dimgui_impl_marmalade.cpp88 IwGxDrawPrims(IW_GX_TRI_LIST, (uint16*)idx_buffer, pcmd->ElemCount); in ImGui_Marmalade_RenderDrawData()
90 idx_buffer += pcmd->ElemCount; in ImGui_Marmalade_RenderDrawData()
Dimgui_impl_dx9.cpp184 …(D3DPT_TRIANGLELIST, vtx_offset, 0, (UINT)cmd_list->VtxBuffer.Size, idx_offset, pcmd->ElemCount/3); in ImGui_ImplDX9_RenderDrawData()
186 idx_offset += pcmd->ElemCount; in ImGui_ImplDX9_RenderDrawData()
Dimgui_impl_allegro5.cpp138 …rim(&vertices[0], g_VertexDecl, texture, idx_offset, idx_offset + pcmd->ElemCount, ALLEGRO_PRIM_TR… in ImGui_ImplAllegro5_RenderDrawData()
140 idx_offset += pcmd->ElemCount; in ImGui_ImplAllegro5_RenderDrawData()
Dimgui_impl_opengl3.cpp256 …glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT … in ImGui_ImplOpenGL3_RenderDrawData()
259 idx_buffer_offset += pcmd->ElemCount; in ImGui_ImplOpenGL3_RenderDrawData()
Dimgui_impl_dx10.cpp223 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX10_RenderDrawData()
225 idx_offset += pcmd->ElemCount; in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_dx11.cpp228 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX11_RenderDrawData()
230 idx_offset += pcmd->ElemCount; in ImGui_ImplDX11_RenderDrawData()
Dimgui_impl_dx12.cpp218 ctx->DrawIndexedInstanced(pcmd->ElemCount, 1, idx_offset, vtx_offset, 0); in ImGui_ImplDX12_RenderDrawData()
220 idx_offset += pcmd->ElemCount; in ImGui_ImplDX12_RenderDrawData()
Dimgui_impl_metal.mm498 indexCount:pcmd->ElemCount
504 idx_buffer_offset += pcmd->ElemCount * sizeof(ImDrawIdx);
Dimgui_impl_vulkan.cpp315 vkCmdDrawIndexed(command_buffer, pcmd->ElemCount, 1, idx_offset, vtx_offset, 0); in ImGui_ImplVulkan_RenderDrawData()
317 idx_offset += pcmd->ElemCount; in ImGui_ImplVulkan_RenderDrawData()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_opengl2.cpp214 …glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT … in ImGui_ImplOpenGL2_RenderDrawData()
216 idx_buffer += pcmd->ElemCount; in ImGui_ImplOpenGL2_RenderDrawData()
Dimgui_impl_marmalade.cpp94 IwGxDrawPrims(IW_GX_TRI_LIST, (uint16*)idx_buffer, pcmd->ElemCount); in ImGui_Marmalade_RenderDrawData()
96 idx_buffer += pcmd->ElemCount; in ImGui_Marmalade_RenderDrawData()
Dimgui_impl_allegro5.cpp183 …m(&vertices[0], bd->VertexDecl, texture, idx_offset, idx_offset + pcmd->ElemCount, ALLEGRO_PRIM_TR… in ImGui_ImplAllegro5_RenderDrawData()
185 idx_offset += pcmd->ElemCount; in ImGui_ImplAllegro5_RenderDrawData()
Dimgui_impl_opengl3.cpp458 …glDrawElementsBaseVertex(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIG… in ImGui_ImplOpenGL3_RenderDrawData()
461 …glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT … in ImGui_ImplOpenGL3_RenderDrawData()
Dimgui_impl_sdlrenderer.cpp181 idx_buffer + pcmd->IdxOffset, pcmd->ElemCount, sizeof(ImDrawIdx)); in ImGui_ImplSDLRenderer_RenderDrawData()
Dimgui_impl_dx9.cpp262 …fset, 0, (UINT)cmd_list->VtxBuffer.Size, pcmd->IdxOffset + global_idx_offset, pcmd->ElemCount / 3); in ImGui_ImplDX9_RenderDrawData()
Dimgui_impl_dx10.cpp269 …ctx->DrawIndexed(pcmd->ElemCount, pcmd->IdxOffset + global_idx_offset, pcmd->VtxOffset + global_vt… in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_wgpu.cpp454 …wgpuRenderPassEncoderDrawIndexed(pass_encoder, pcmd->ElemCount, 1, pcmd->IdxOffset + global_idx_of… in ImGui_ImplWGPU_RenderDrawData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLowOverheadLoops.cpp824 Register ElemCount = LoLoop.VCTP->getOperand(1).getReg(); in RemoveLoopUpdate() local
838 MachineInstr *Def = RDA->getReachingMIDef(LastInstrInBlock, ElemCount); in RemoveLoopUpdate()
851 if (isRegLiveInExitBlocks(LoLoop.ML, ElemCount)) { in RemoveLoopUpdate()
858 RDA->getReachingLocalUses(Def, ElemCount, Uses); in RemoveLoopUpdate()
865 RDA->getAllInstWithUseBefore(Def, ElemCount, Uses); in RemoveLoopUpdate()
/third_party/flutter/skia/tools/viewer/
DImGuiLayer.cpp175 drawCmd->ElemCount, in onPaint()
179 indexOffset += drawCmd->ElemCount; in onPaint()
/third_party/skia/tools/viewer/
DImGuiLayer.cpp209 drawCmd->ElemCount, in onPaint()
213 indexOffset += drawCmd->ElemCount; in onPaint()
/third_party/skia/third_party/externals/imgui/
Dimgui_draw.cpp470 if (curr_cmd->ElemCount == 0 && curr_cmd->UserCallback == NULL) in _PopUnusedDrawCmd()
478 if (curr_cmd->ElemCount != 0) in AddCallback()
501 prev_cmd->ElemCount += curr_cmd->ElemCount; in _TryMergeDrawCmds()
512 …if (curr_cmd->ElemCount != 0 && memcmp(&curr_cmd->ClipRect, &_CmdHeader.ClipRect, sizeof(ImVec4)) … in _OnChangedClipRect()
521 …if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cm… in _OnChangedClipRect()
534 if (curr_cmd->ElemCount != 0 && curr_cmd->TextureId != _CmdHeader.TextureId) in _OnChangedTextureID()
543 …if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cm… in _OnChangedTextureID()
558 if (curr_cmd->ElemCount != 0) in _OnChangedVtxOffset()
640 draw_cmd->ElemCount += idx_count; in PrimReserve()
657 draw_cmd->ElemCount -= idx_count; in PrimUnreserve()
[all …]
/third_party/mesa3d/src/intel/tools/imgui/
Dimgui_impl_opengl3.cpp204 …glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT … in ImGui_ImplOpenGL3_RenderDrawData()
207 idx_buffer_offset += pcmd->ElemCount; in ImGui_ImplOpenGL3_RenderDrawData()
/third_party/mesa3d/src/imgui/
Dimgui_draw.cpp425 if (!current_cmd || current_cmd->ElemCount != 0 || current_cmd->UserCallback != NULL) in AddCallback()
443 …if (!curr_cmd || (curr_cmd->ElemCount != 0 && memcmp(&curr_cmd->ClipRect, &curr_clip_rect, sizeof(… in UpdateClipRect()
451 …if (curr_cmd->ElemCount == 0 && prev_cmd && memcmp(&prev_cmd->ClipRect, &curr_clip_rect, sizeof(Im… in UpdateClipRect()
462 …if (!curr_cmd || (curr_cmd->ElemCount != 0 && curr_cmd->TextureId != curr_texture_id) || curr_cmd-… in UpdateTextureID()
470 …if (curr_cmd->ElemCount == 0 && prev_cmd && prev_cmd->TextureId == curr_texture_id && memcmp(&prev… in UpdateTextureID()
563 if (CmdBuffer.Size && CmdBuffer.back().ElemCount == 0) in ChannelsMerge()
570 if (ch.CmdBuffer.Size && ch.CmdBuffer.back().ElemCount == 0) in ChannelsMerge()
606 draw_cmd.ElemCount += idx_count; in PrimReserve()
2932 …draw_list->CmdBuffer[draw_list->CmdBuffer.Size-1].ElemCount -= (idx_expected_size - draw_list->Idx… in RenderText()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_draw.cpp423 if (!current_cmd || current_cmd->ElemCount != 0 || current_cmd->UserCallback != NULL) in AddCallback()
441 …if (!curr_cmd || (curr_cmd->ElemCount != 0 && memcmp(&curr_cmd->ClipRect, &curr_clip_rect, sizeof(… in UpdateClipRect()
449 …if (curr_cmd->ElemCount == 0 && prev_cmd && memcmp(&prev_cmd->ClipRect, &curr_clip_rect, sizeof(Im… in UpdateClipRect()
460 …if (!curr_cmd || (curr_cmd->ElemCount != 0 && curr_cmd->TextureId != curr_texture_id) || curr_cmd-… in UpdateTextureID()
468 …if (curr_cmd->ElemCount == 0 && prev_cmd && prev_cmd->TextureId == curr_texture_id && memcmp(&prev… in UpdateTextureID()
561 if (CmdBuffer.Size && CmdBuffer.back().ElemCount == 0) in ChannelsMerge()
568 if (ch.CmdBuffer.Size && ch.CmdBuffer.back().ElemCount == 0) in ChannelsMerge()
604 draw_cmd.ElemCount += idx_count; in PrimReserve()
2920 …draw_list->CmdBuffer[draw_list->CmdBuffer.Size-1].ElemCount -= (idx_expected_size - draw_list->Idx… in RenderText()

12