Taylor Holliday

Results 61 comments of Taylor Holliday

Fair enough, but what does one do when the schema inevitably changes?

Unfortunately, OpenGL doesn't have compute kernels, so doing it the way I described isn't possible with OpenGL. If they switched to a Vulkan backend, then it's possible. I think the...

@olliwang Any thoughts on this? 😀

How unfortunate. Where is the global state in nanovg?

I couldn't find any global state in nanovg itself. Perhaps it is ok to use different nanovg contexts on different threads? Obviously, you can't use a single context in multiple...

`boundFramebuffer` would be the grammatically correct name :)

I'm only rendering on a single thread at a time. The way I did it, calling `mnvgBindFramebuffer(nvg, 0)` unbinds. Here's my change: https://github.com/wtholliday/MetalNanoVG/commit/e2c9b99982c0e57a7411b9869c32ef223340328b I think it's ok for the backend...

Well I've got to support iOS too, so I'll try to get to the bottom of it. I think it's pretty strange to be doing async stuff there.

Ok, what about using `DispatchQueue.main.sync` instead of `async`? That should avoid the reordering. I'll probably give that a shot soon. Also, why would I want a callback on another thread?...

@ActuallyZach , do you know the circumstances under which `didChangeText` is called on a thread other than the main thread? I'm testing on iOS and just see it being called...