Home
last modified time | relevance | path

Searched refs:ImDrawIdx (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_draw.cpp584 …h.IdxBuffer.Size) { memcpy(_IdxWritePtr, ch.IdxBuffer.Data, sz * sizeof(ImDrawIdx)); _IdxWritePtr … in ChannelsMerge()
621 ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx; in PrimRect()
622 … _IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2); in PrimRect()
623 … _IdxWritePtr[3] = idx; _IdxWritePtr[4] = (ImDrawIdx)(idx+2); _IdxWritePtr[5] = (ImDrawIdx)(idx+3); in PrimRect()
636 ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx; in PrimRectUV()
637 … _IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2); in PrimRectUV()
638 … _IdxWritePtr[3] = idx; _IdxWritePtr[4] = (ImDrawIdx)(idx+2); _IdxWritePtr[5] = (ImDrawIdx)(idx+3); in PrimRectUV()
650 ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx; in PrimQuadUV()
651 … _IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2); in PrimQuadUV()
652 … _IdxWritePtr[3] = idx; _IdxWritePtr[4] = (ImDrawIdx)(idx+2); _IdxWritePtr[5] = (ImDrawIdx)(idx+3); in PrimQuadUV()
[all …]
Dimgui.h1743 #ifndef ImDrawIdx
1744 typedef unsigned short ImDrawIdx; typedef
1768 ImVector<ImDrawIdx> IdxBuffer;
1801 …ImVector<ImDrawIdx> IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemC…
1810ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each a…
1881 …inline void PrimWriteIdx(ImDrawIdx idx) { *_IdxWritePtr = idx;… in PrimWriteIdx()
1882 …Vtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) { PrimWriteIdx((ImDrawIdx)_VtxCurrentIdx);… in PrimVtx()
Dimgui.cpp3681 if (sizeof(ImDrawIdx) == 2) in AddDrawListToDrawData()
9328ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; in ShowMetricsWindow()
/external/mesa3d/src/intel/tools/imgui/
Dimgui_impl_opengl3.cpp178 const ImDrawIdx* idx_buffer_offset = 0; in ImGui_ImplOpenGL3_RenderDrawData()
184 …(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx), (const GLvoid*… in ImGui_ImplOpenGL3_RenderDrawData()
204 …glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT … in ImGui_ImplOpenGL3_RenderDrawData()
/external/skqp/tools/viewer/
DImGuiLayer.cpp152 ImDrawIdx rectIndex = drawList->IdxBuffer[indexOffset]; in onPaint()
/external/skia/tools/viewer/
DImGuiLayer.cpp195 ImDrawIdx rectIndex = drawList->IdxBuffer[indexOffset]; in onPaint()
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1213 size_t index_size = draw_data->TotalIdxCount * sizeof(ImDrawIdx); in render_swapchain_display()
1231 ImDrawIdx* idx_dst = NULL; in render_swapchain_display()
1240 memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx)); in render_swapchain_display()