Texture-based round corners: Fixed not drawing correctly with small radii

Combined filled/outline arc textures into one texture rectangle per radius
Made rounded rectangles/circles draw using (moderately) tight-fitting geometry to minimise fill-rate usage
Hooked up texture-based rounded rectangle/circle code to main render path, with fallback to stroke system
Made AddCircleFilled/AddCircle explicitly not draw circles of radius 0 or less (to avoid inconsistency between them)
Fixed bug in PrimReserve() where releasing more vertices/indices than you used would try and immediately render the entire buffer
This commit is contained in:
Ben Carter 2019-11-22 20:21:09 +09:00 committed by ocornut
parent d81c5cbae3
commit 054c87fc4f

File diff suppressed because it is too large Load Diff