Teodor Källman
Teodor Källman
> What if instead of calling `drawClippedTriangles` each time DVUI wants to draw something, it had a list of drawcalls where it appended to? What were you picturing when you...
> I had in my mind something quite similar to what you thought so basically yes, its something like that. Instead of issuing Draw() on it directly, it'd be better...
That sounds good to me! If a backend needed a different vertex layout, they would transform the entire array at once. I like that a lot. This would still call...
> (unless we go for linked lists, which has the advantage of not having to memcpy the previous contents of some drawcalls if we run out of vertices or indices)...
I think dvui could keep track of the most recent font-atlas used and always make sure there is 1 white pixel at the top left (so uv or 0, 0...
I do like the idea of having one big atlas for all icons and fonts that dvui would use. The main hurdle I see is invalidating and keeping track of...
> Do you know `[]T` in Zig is not guaranteed to be packed? It could have padding. Yes, but you usually have to provide the offset of each field in...
I looks like an SDL build error. Can you try and pass `.backend = .raylib` to the dvui module to prevent it from including SDL in the build graph
We have to provide our own implementations of `sqrt` and `pow` for STB TrueType for our web backend. Maybe we need to do something similar for raylib?
For size reasons and to avoid copies, would it work to pass `?*NinePatch` in `Options`. I would think it's likely that you would reuse the same ninepatch texture for multiple...