Michael Tang

Results 43 comments of Michael Tang

I've been hacking on this when I find the time, but no big progress to report. I'm still mostly stuck on the shaders-- @pcwalton would you consider using uniform buffers...

> Performance issues on Windows when doing file IO are frequently down to virus scanners. In case anyone is still running into this: I was recently observing the same slowdown...

There is an issue open on imgui (https://github.com/ocornut/imgui/issues/2372) that has a little documentation and discussion on how to handle pen input across platforms that might be relevant when work on...

Pen input devices can have additional values, such as pen pressure, tilt, and azimuth that are not currently supported in winit. Additionally (and anecdotally), applications sometimes want to be able...

That's interesting... Looks like it's only used for the Apple Pencil: https://github.com/rust-windowing/winit/blob/b9f3d333e41464457f6e42640793bf88b9563727/src/platform_impl/ios/view.rs#L233 I think we'd still need to hook up azimuth to do that cool tilt shading effect Apple showed...

I'll admit the last time I seriously used winit was pre-0.20, and pen support wasn't sufficient for any non-trivial pen-based apps (for reference on what's missing, here's a proof concept...

I'm taking a stab at this and I'll upload what I have once I get a bit more working, but I'll try and enumerate what I've learned so far. I...

https://github.com/tangmi/iced-hotswap-prototype Here's a working proof-of-concept of the following features: - Ron-based markup language templated with handlebars - currently supports what's in `iml::Element`: Column, Row, Text, Button, Slider (with minimal parameters)...

Glad you like it! Thanks for the feedback! I like the idea of hiding `Hotswapo` behind a separate `Application` trait opening up the possibility for transparent hotswapping in debug builds...

@hecrj I'll keep poking at this when I can find time. I think the main takeaway from my investigation is that both a markup language and hotswapping can probably be...