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

Metal support #43

Closed
Waitsnake opened this issue Mar 30, 2019 · 2 comments
Closed

Metal support #43

Waitsnake opened this issue Mar 30, 2019 · 2 comments

Comments

@Waitsnake
Copy link
Owner

Waitsnake commented Mar 30, 2019

Since support for OpenGL will running out on macOS in the future AnimatedGif should add support for Metal as secound render API.
On older systems that don't have Metal it should still use OpenGL for drawing, but it should switch to Metal when a system has it.

@Waitsnake
Copy link
Owner Author

Since I'm a total newbie to Metal this could maybe take a while until it is finished.
Or maybe it will be never finished? I have no idea, we will see...

Waitsnake added a commit that referenced this issue Apr 6, 2019
Finish implementing Metal support according to enhancement #43 .

Since it is the biggest internal change since implementing OpenGL the version is increased from 1.4.0 to 1.5.0 (skipping the intermete version 1.4.1 used during implementation).

In the commit included is a ZIP with the compiled screensaver. But before I make an official GIT release of 1.5.0 I need to do more tests on other systems I have.
@Waitsnake
Copy link
Owner Author

Waitsnake commented Apr 6, 2019

It is done and AnimatedGif now supports Metal. :-)

AnimatedGif always tries to start Metal as first choice for rendering. Only if this fails(older macOS versions) it tries to use OpenGL. If this also fails you can not use AnimatedGif at all, because I tried using CoreAnimation in the past as alternative for rendering and it was way too slow and uses too much CPU load.

But before an official release of 1.5.0 more tests are needed. For Beta Tests an ZIP with the compiled screensaver can be found in the Release folder.

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

No branches or pull requests

1 participant