ImDrawList: Not using alloca() anymore, lift single polygon size limits. (#5704, #1811)

This commit is contained in:
ocornut
2022-09-30 15:43:27 +02:00
parent cc5058e5d7
commit f2a522d70d
5 changed files with 12 additions and 21 deletions

View File

@ -734,6 +734,9 @@ struct IMGUI_API ImDrawListSharedData
ImVec4 ClipRectFullscreen; // Value for PushClipRectFullscreen()
ImDrawListFlags InitialFlags; // Initial flags at the beginning of the frame (it is possible to alter flags on a per-drawlist basis afterwards)
// [Internal] Temp write buffer
ImVector<ImVec2> TempBuffer;
// [Internal] Lookup tables
ImVec2 ArcFastVtx[IM_DRAWLIST_ARCFAST_TABLE_SIZE]; // Sample points on the quarter of the circle.
float ArcFastRadiusCutoff; // Cutoff radius after which arc drawing will fallback to slower PathArcTo()