Skip to content

feat(app/gx): add Metal support for macOS - #149

Open
tairasu wants to merge 8 commits into
whoahq:masterfrom
tairasu:metal-backend
Open

feat(app/gx): add Metal support for macOS#149
tairasu wants to merge 8 commits into
whoahq:masterfrom
tairasu:metal-backend

Conversation

@tairasu

@tairasu tairasu commented Dec 25, 2025

Copy link
Copy Markdown

adds an experimental metal backend as an alternative to the opengl-based gll backend on macos.

  • metal render pipeline with shader compilation
  • support for vertex/index buffers, textures (including cubemaps), and depth testing
  • blend modes, fog, and basic render states
  • argb4444 font textures converted to rgba8 for correct color rendering

opengl (gll) is still the default. to use metal instead:
WHOA_GX_API=metal

@tairasu

tairasu commented Dec 26, 2025

Copy link
Copy Markdown
Author

latest commit added shader support for upstream version of CShaderEffect. sky and snow is animated in metal too now.
i am aware of the dim lights!

}

static_cast<CGxDeviceGLL*>(g_theGxDevicePtr)->Resize(width, height);
if (GxDevApi() == GxApi_GLL) {

This comment was marked as spam.

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