Skip to content

Implement Angle for Desktop and iOS.#37

Open
MAJigsaw77 wants to merge 1 commit intomobile/mainfrom
feature/desktop-angle
Open

Implement Angle for Desktop and iOS.#37
MAJigsaw77 wants to merge 1 commit intomobile/mainfrom
feature/desktop-angle

Conversation

@MAJigsaw77
Copy link

This PR adds support for Google’s Almost Native Graphics Layer Engine (ANGLE) on desktop platforms and iOS, allowing OpenGL ES to be translated to modern graphics backends such as Vulkan and Metal.

The graphics APIs used across the libraries are configured as follows:

  • Windows / Linux -> Vulkan
  • macOS / iOS -> Metal

If you’re wondering “What about Android?”: some manufacturers already use ANGLE at the system level, which means no additional changes are required on our side for Android support.

@dtwotwo
Copy link

dtwotwo commented Jan 25, 2026

Why was Vulkan chosen for Windows instead of Direct3D?

@MAJigsaw77
Copy link
Author

Why was Vulkan chosen for Windows instead of Direct3D?

Performance and texture compression reasons, since vulkan can load ASTC but dx11 cant.

@MAJigsaw77
Copy link
Author

MAJigsaw77 commented Jan 25, 2026

Why was Vulkan chosen for Windows instead of Direct3D?

Performance and texture compression reasons, since vulkan can load ASTC but dx11 cant.

Aswell as vulkan supports advanced blend modes but dx11 cant

@MAJigsaw77 MAJigsaw77 force-pushed the feature/desktop-angle branch from e2277c8 to cc5ef1d Compare January 26, 2026 19:11
@MAJigsaw77
Copy link
Author

Now in case theres no Vulkan drivers, it'll fallback to DirectX11.

@MAJigsaw77 MAJigsaw77 force-pushed the feature/desktop-angle branch 5 times, most recently from d5df9e2 to 01fe728 Compare January 29, 2026 20:22
@HomuHomu833
Copy link

HomuHomu833 commented Jan 29, 2026

Now in case theres no Vulkan drivers, it'll fallback to DirectX11.

I suggest making the fallback to OpenGL aswell, as DirectX11 has messy implementation and poor performance in my tests.
image

output.mp4

@MAJigsaw77
Copy link
Author

Now in case theres no Vulkan drivers, it'll fallback to DirectX11.

I suggest making the fallback to OpenGL aswell, as DirectX11 has messy implementation and poor performance. image

output.mp4

Show a comparison between the two.

@HomuHomu833
Copy link

HomuHomu833 commented Jan 29, 2026

sure thing, I have OpenGL builds for ANGLE that I use as default.

pasted file
output.mp4

@MAJigsaw77
Copy link
Author

sure thing, I have OpenGL builds for ANGLE that I use as default.

pasted file output.mp4

I dont really see much of a diff, from the first video with DirectX11 it acually seems to go to 62 fps.

@HomuHomu833
Copy link

HomuHomu833 commented Jan 30, 2026

I dont really see much of a diff, from the first video with DirectX11 it acually seems to go to 62 fps.

High FPS is meaningless if the game experiences lag spikes or/and black-box rendering issues.

And also in WINE, DirectX11 repeatedly logs "Ignoring" messages, which isn’t ideal.

1769752021107753295847654484302

@MAJigsaw77
Copy link
Author

I dont really see much of a diff, from the first video with DirectX11 it acually seems to go to 62 fps.

High FPS is meaningless if the game experiences lag spikes or/and black-box rendering issues.

And also in WINE, DirectX11 repeatedly logs "Ignoring" messages, which isn’t ideal.

1769752021107753295847654484302

Fair enough then

@dtwotwo
Copy link

dtwotwo commented Feb 3, 2026

I found an issue with Vulkan on Intel integrated GPUs (Intel UHD, i5-12450H).
Screen is completely black, render is not working.
Maybe it's specific to my hardware, but wanted to report it.

I'll offer my temporary fix as a solution - lime-nmb - commit

image

@HomuHomu833
Copy link

HomuHomu833 commented Feb 3, 2026

I also have i5-12450H with Intel UHD Graphics but never encountered this issue in Vulkan nor OpenGL besides black-boxes in DirectX11 of course. Might be a driver problem.

@dtwotwo
Copy link

dtwotwo commented Feb 3, 2026

I also have i5-12450H with Intel UHD Graphics but never encountered this issue in Vulkan nor OpenGL besides black-boxes in DirectX11 of course. Might be a driver problem.

Maybe my driver is outdated. I’ll check it and let you know what happens.

@MAJigsaw77 MAJigsaw77 force-pushed the feature/desktop-angle branch 5 times, most recently from 926637a to 1182581 Compare February 10, 2026 20:57
@MAJigsaw77 MAJigsaw77 force-pushed the feature/desktop-angle branch from 1182581 to 8469ace Compare February 10, 2026 21:02
@dtwotwo
Copy link

dtwotwo commented Feb 14, 2026

I also have i5-12450H with Intel UHD Graphics but never encountered this issue in Vulkan nor OpenGL besides black-boxes in DirectX11 of course. Might be a driver problem.

Maybe my driver is outdated. I’ll check it and let you know what happens.

I updated the driver from version 31 to version 32, but I still get a black screen. The issue seems to be specific to Intel CPUs.

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.

3 participants