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

Enable GL on Windows ARM #3189

Merged
merged 2 commits into from
Mar 7, 2025
Merged

Enable GL on Windows ARM #3189

merged 2 commits into from
Mar 7, 2025

Conversation

mattleibow
Copy link
Contributor

@mattleibow mattleibow commented Mar 6, 2025

Description of Change

This PR just removes the code that prevents OpenGL from working on Windows ARM.

This was initially done in mono/skia@0c75727. The reason for this was there was no OpenGL on ARM. However, recently, there is a way: https://apps.microsoft.com/detail/9nqpsl29bfff

The reason we can just remove this code is because we don't actually link with opengl32 directly and instead load it at runtime.

Bugs Fixed

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

@mattleibow
Copy link
Contributor Author

The good new s is that this now works! But, the views do not as the yare using OpenTK which uses glfw, and that is not yet built for ARM. I will play with that, but chances are for now we will wait for glfw/glfw#2163

@mattleibow mattleibow mentioned this pull request Mar 7, 2025
3 tasks
@mattleibow mattleibow marked this pull request as ready for review March 7, 2025 16:59
@mattleibow mattleibow merged commit 19c4b3d into main Mar 7, 2025
1 check passed
@mattleibow mattleibow deleted the dev/windows-arm-opengl branch March 7, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] GRGlInterface.Create() returns null on Windows on Arm
1 participant