Skip to content

Support for Godot 4.5 and Metal on macOS#36

Open
sjennings wants to merge 4 commits intoMrJul:mainfrom
sjennings:main
Open

Support for Godot 4.5 and Metal on macOS#36
sjennings wants to merge 4 commits intoMrJul:mainfrom
sjennings:main

Conversation

@sjennings
Copy link

  • Brings Estragonia library up to Godot 4.5
  • Godot now uses Metal as its rendering engine on MacOS, added support for this

Scott Jennings added 4 commits December 13, 2025 00:45
- Add abstraction layer (IGodotSkiaGpu, ISurfaceSynchronizer, IGodotPlatformGraphics, IGodotSkiaSurface) to support multiple GPU backends
- Implement Metal backend for macOS using native SkiaSharp Metal functions
- Zero-copy rendering: Skia draws directly to Godot's Metal texture
- Runtime backend detection: Metal on macOS, Vulkan on Windows/Linux
- Refactor existing Vulkan code to implement new interfaces
@SubParSuperCar
Copy link

Thank you so much for taking the time to do this. The creator of Estragonia has mostly abandoned this project, judging by the timestamps, which is quite a shame considering how powerful it is. Avalonia and Godot pair well together and are a very underrated setup. I hope this project can be revived and supported for the latest versions, but Godot 4.5 is still pretty new. I tried to upgrade Estragonia manually yesterday, but to no avail; it kept throwing errors regarding the Vulkan driver returning null (I'm running a Windows system), so I gave up. I'll try this, and hopefully it'll work well. :)

@sjennings
Copy link
Author

I have a fork I'll keep updated at https://github.com/sjennings/Estragonia - I'm using it in Godot 4.6 and it still works fine. The Mac OS migration to Metal for rendering was the big kicker.

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

Successfully merging this pull request may close these issues.

2 participants