| Summary: | OS X full screen retina; GL drawable getting downsized immediately after creation | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Oliver Collyer <ovcollyer> |
| Component: | render | Assignee: | Alex Szpakowski <amaranth72> |
| Status: | RESOLVED ABANDONED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | Keywords: | target-2.0.6 |
| Version: | 2.0.5 | ||
| Hardware: | x86_64 | ||
| OS: | macOS 10.12 | ||
| Attachments: | Test project illustrating the issue | ||
|
Description
Oliver Collyer
2017-03-02 17:39:33 UTC
Just updating following more investigations. If I disable the call to SDL_PollEvent it stops the GL context resizing. From within there it ends up at NSApplicationDidBecomeActiveNotification (the function is called windowWillClose)....at this point the GL context has been resized. So at some point between window/renderer creation and the application handling the above notification it is messing with the context or view or something, meaning the drawable size get halved. Alex, can you take a look at this for the SDL 2.0.6 release? Thanks! Using SDL 2.0.5 I get some weird fullscreen mode behaviour (although not what you described). But when I use the latest SDL code from hg everything works as expected: - The fullscreen display mode switches to 1440x900@2x (2880x1800 pixels) right when the window is created - SDL_GetRendererOutputSize correctly reports 2880x1800 pixels, and the window size is 1440x900 points. - A resize event occurs but it still correctly reports a window size in points of 1440x900 (and SDL_GetRendererOutputSize continues to correctly report 2880x1800 pixels). Can you confirm this on your system? Hello, and sorry if you're getting dozens of copies of this message by email. We are closing out bugs that appear to be abandoned in some form. This can happen for lots of reasons: we couldn't reproduce it, conversation faded out, the bug was noted as fixed in a comment but we forgot to mark it resolved, the report is good but the fix is impractical, we fixed it a long time ago without realizing there was an associated report, etc. Individually, any of these bugs might have a better resolution (such as WONTFIX or WORKSFORME or INVALID) but we've added a new resolution of ABANDONED to make this easily searchable and make it clear that it's not necessarily unreasonable to revive a given bug report. So if this bug is still a going concern and you feel it should still be open: please feel free to reopen it! But unless you respond, we'd like to consider these bugs closed, as many of them are several years old and overwhelming our ability to prioritize recent issues. (please note that hundred of bug reports were sorted through here, so we apologize for any human error. Just reopen the bug in that case!) Thanks, --ryan. |