Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X fullscreen and fades #63

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Mac OS X fullscreen and fades #63

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 1.2
Reported for operating system, platform: Mac OS X (All), PowerPC

Comments on the original bug report:

On 2006-01-27 12:37:43 +0000, Ryan C. Gordon wrote:

Date: Thu, 26 Jan 2006 09:49:13 -0500 (EST)
From: Gregory Smith wolfy@treellama.org
To: sdl@libsdl.org
Subject: [SDL] Mac OS X fullscreen and fades

If I were to make a patch that lets you set an environment variable to
disable the fades when changing to/from fullscreen modes on OS X, would it
be feasible to include in CVS?

I realize those fades are there to hide any flickering that might occur,
but they're painfully long, especially when trying to change resolutions
mid-game.

Gregory

On 2006-01-30 07:40:52 +0000, Sam Lantinga wrote:

Go for it. :)

On 2006-02-04 09:51:10 +0000, Christian Walther wrote:

Created attachment 68
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 )

On 2006-02-05 19:04:23 +0000, Ryan C. Gordon wrote:

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.

On 2006-02-06 16:35:11 +0000, Sam Lantinga wrote:

(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!

On 2006-02-07 06:18:36 +0000, Ryan C. Gordon wrote:

It's now in CVS, thanks!

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant