Skip to content

Add support for Apple silicon gpus on desktop Safari #128

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcoliver
Copy link

@mcoliver mcoliver commented Jul 31, 2025

Current version fallsback for all apple silicon gpus.

{
  "gpu": "apple gpu (Apple GPU)",
  "isMobile": false,
  "tier": 1,
  "type": "FALLBACK"
}

This change will support up to m4 chips

{
  "fps": 120,
  "gpu": "apple m4 max",
  "isMobile": false,
  "tier": 3,
  "type": "BENCHMARK"
}

Also includes a new html page that outputs all the available WebGL info WebGL Information:

{
  "vendor": "WebKit",
  "renderer": "WebKit WebGL",
  "webglVersion": "WebGL 1.0",
  "unmaskedVendor": "Apple Inc.",
  "unmaskedRenderer": "Apple GPU",
  "capabilities": {
    "maxTextureSize": 16384,
    "maxVertexUniformVectors": 1024,
    "maxFragmentUniformVectors": 1024,
    "maxVaryingVectors": 30,
    "maxRenderbufferSize": 16384
  }
}

Current version fallsback for all apple silicon gpus.
{
  "gpu": "apple gpu (Apple GPU)",
  "isMobile": false,
  "tier": 1,
  "type": "FALLBACK"
}

This change will support up to m4 chips
{
  "fps": 120,
  "gpu": "apple m4 max",
  "isMobile": false,
  "tier": 3,
  "type": "BENCHMARK"
}

Also includes a new html page that outputs all the available WebGL info
WebGL Information:

{
  "vendor": "WebKit",
  "renderer": "WebKit WebGL",
  "webglVersion": "WebGL 1.0",
  "unmaskedVendor": "Apple Inc.",
  "unmaskedRenderer": "Apple GPU",
  "capabilities": {
    "maxTextureSize": 16384,
    "maxVertexUniformVectors": 1024,
    "maxFragmentUniformVectors": 1024,
    "maxVaryingVectors": 30,
    "maxRenderbufferSize": 16384
  }
}
@mcoliver
Copy link
Author

Fixes a lot of issues including #111 #99 #98 #88

@mcoliver mcoliver changed the title Add support for apple silicon gpus Add support for apple silicon gpus on Desktop Safari Jul 31, 2025
@mcoliver mcoliver changed the title Add support for apple silicon gpus on Desktop Safari Add support for Apple silicon gpus on desktop Safari Jul 31, 2025
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.

1 participant