hecrj / wgpu_glyph

A fast text renderer for wgpu (https://github.com/gfx-rs/wgpu)
https://docs.rs/wgpu_glyph
MIT License
441 stars 77 forks source link

Upgrade to latest for wgpu #62

Closed Dispersia closed 3 years ago

Dispersia commented 3 years ago

Draft PR: If preferred to not have hanging PR's feel free to close, just to show work that has been done if others want to try and test with it.

On working on the android stuff for iced, moves to wgsl to remove shader-c (for iced specifically, to sync wgpu versions), so just updates wgpu on this crate so I can work on latest wgpu on iced.

Closes #63. Closes #67.

adamnemecek commented 3 years ago

Holy fuck, I literally opened a PR for this, not realizing you did too.

Dispersia commented 3 years ago

haha, unfortunate timing. I have it for iced as well, however there seems to be a bug in stagingbelt not resetting offset that I'm looking into now: https://github.com/Dispersia/iced/tree/upgrade-wgpu . I'm still learning wgpu-rs so if you have more insight would be useful :)

adamnemecek commented 3 years ago

Yeah, like what are the odds. On the same day.

You might be interested in this project I’m invovled with, femtovg. https://github.com/adamnemecek/femtovg Its a 2d graphics API. I recently added a wgpu backend. Join the discord while at it!

Dispersia commented 3 years ago

updated to 0.8, should be ready for review