Lines Matching refs:vtx_count
603 void ImDrawList::PrimReserve(int idx_count, int vtx_count) in PrimReserve() argument
609 VtxBuffer.resize(vtx_buffer_old_size + vtx_count); in PrimReserve()
688 const int vtx_count = thick_line ? points_count*4 : points_count*3; in AddPolyline() local
689 PrimReserve(idx_count, vtx_count); in AddPolyline()
821 _VtxCurrentIdx += (ImDrawIdx)vtx_count; in AddPolyline()
827 const int vtx_count = count*4; // FIXME-OPT: Not sharing edges in AddPolyline() local
828 PrimReserve(idx_count, vtx_count); in AddPolyline()
870 const int vtx_count = (points_count*2); in AddConvexPolyFilled() local
871 PrimReserve(idx_count, vtx_count); in AddConvexPolyFilled()
916 _VtxCurrentIdx += (ImDrawIdx)vtx_count; in AddConvexPolyFilled()
922 const int vtx_count = points_count; in AddConvexPolyFilled() local
923 PrimReserve(idx_count, vtx_count); in AddConvexPolyFilled()
924 for (int i = 0; i < vtx_count; i++) in AddConvexPolyFilled()
934 _VtxCurrentIdx += (ImDrawIdx)vtx_count; in AddConvexPolyFilled()