Searched refs:ImDrawIdx (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 584 …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 …]
|
D | imgui.h | 1743 #ifndef ImDrawIdx 1744 typedef unsigned short ImDrawIdx; typedef 1768 ImVector<ImDrawIdx> IdxBuffer; 1801 …ImVector<ImDrawIdx> IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemC… 1810 …ImDrawIdx* _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()
|
D | imgui.cpp | 3681 if (sizeof(ImDrawIdx) == 2) in AddDrawListToDrawData() 9328 … ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; in ShowMetricsWindow()
|
/external/mesa3d/src/intel/tools/imgui/ |
D | imgui_impl_opengl3.cpp | 178 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/ |
D | ImGuiLayer.cpp | 152 ImDrawIdx rectIndex = drawList->IdxBuffer[indexOffset]; in onPaint()
|
/external/skia/tools/viewer/ |
D | ImGuiLayer.cpp | 195 ImDrawIdx rectIndex = drawList->IdxBuffer[indexOffset]; in onPaint()
|
/external/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 1213 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()
|