rust-windowing / softbuffer

Easily write an image to a window
Apache License 2.0
282 stars 44 forks source link

0.3 backports #192

Closed ids1024 closed 5 months ago

ids1024 commented 5 months ago

A new 0.3 release is useful for anything still relying on raw-window-handle 0.5. Given it isn't too hard. In particular https://github.com/iced-rs/iced/pull/2190.

Is https://github.com/rust-windowing/softbuffer/pull/180 also needed here? Or was that issue introduced later? Easy enough to add.

Leaving as a draft until I test on macOS (and make sure nothing has buffer age bugs now?). And we should also do a 0.4.x release with the current fixes.

ids1024 commented 5 months ago

Okay, I think https://github.com/rust-windowing/softbuffer/pull/180 isn't needed since some of the code around that is different between 0.3 and 0.4, and on 0.3 present_and_fetch isn't segfaulting like it was before that. Correct me if I'm wrong. Easy enough to change.

ids1024 commented 5 months ago

Tagged and published.