| Summary: | Mac OS X fullscreen and fades | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | cwalther |
| Version: | HG 1.2 | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
| Attachments: | Fast Fade Patch | ||
|
Description
Ryan C. Gordon
2006-01-27 12:37:43 UTC
Go for it. :) Created attachment 68 [details] Fast Fade Patch This is an improved version of Gregory's patch that adds a fast, asynchronous fade-through-black at every transition to or from a fullscreen mode, using Apple's fade API. It works well with my OpenGL app on 10.2, 10.3, and 10.4. It should work in 2D (non-OpenGL) mode too, but I only did minimal testing of that case. (Here's the discussion on the mailing list, for the record: http://thread.gmane.org/gmane.comp.lib.sdl/25530 ) Tried it briefly here...fades faster, which is nice, and doesn't go back to the desktop when changing resolutions, which is nicer still. If there are no objections, I'll apply this patch. --ryan. (In reply to comment #3) > Tried it briefly here...fades faster, which is nice, and doesn't go back to the > desktop when changing resolutions, which is nicer still. > If there are no objections, I'll apply this patch. > --ryan. Please do! It's now in CVS, thanks! --ryan. |