Skip to content

Conversation

@tronical
Copy link
Contributor

@tronical tronical commented Jan 15, 2023

cc #67

@tronical tronical requested a review from madsmtm as a code owner January 15, 2023 08:11
@tronical
Copy link
Contributor Author

I hope that saving the window is ... safe enough in terms of memory management. Otherwise this seemed like an approach simple enough :)

@tronical tronical changed the title mac: Fix layer scale not being updated when contents is updated and w… mac: Fix layer scale not being updated when contents is updated and window is on a new screen Jan 15, 2023
Copy link
Member

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, could you add a changelog entry as well?

@tronical tronical requested a review from john01dav as a code owner January 15, 2023 16:36
@tronical
Copy link
Contributor Author

Sure :)

Copy link
Member

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful, thank you!

@madsmtm madsmtm merged commit 787958b into rust-windowing:master Jan 15, 2023
@tronical tronical deleted the simon/macos-scale-on-setbuffer branch January 15, 2023 17:39
@notgull notgull mentioned this pull request Jun 4, 2023
notgull added a commit that referenced this pull request Jun 4, 2023
* On MacOS, the contents scale is updated when set_buffer() is called, to adapt when the window is on a new screen (#68).
* **Breaking:** Split the `GraphicsContext` type into `Context` and `Surface` (#64).
* On Web, cache the document in the `Context` type (#66).
* **Breaking:** Introduce a new "owned buffer" for no-copy presentation (#65).
* Enable support for multi-threaded WASM (#77).
* Fix buffer resizing on X11 (#69).
* Add a set of functions for handling buffer damage (#99).
* Add a `fetch()` function for getting the window contents (#104).
* Bump MSRV to 1.64 (#81).
@madsmtm madsmtm added the DS - CoreGraphics macOS/iOS/tvOS/watchOS/visionOS backend label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - CoreGraphics macOS/iOS/tvOS/watchOS/visionOS backend

Development

Successfully merging this pull request may close these issues.

2 participants