MetalSharp / WineMetalGL

WineMetalGL
OpenGL, rebuilt on Metal.

A replacement for Apple's deprecated OpenGL. Windows programs in Wine and native Arm64 apps get OpenGL 1.0 through 4.6 and OpenGL ES 2.0 through 3.2, conformant with the Khronos GL-CTS and drawn with Metal. Version 3.9.0 runs on both MetalSharp 1.3.0 runtimes.

Version
3.9.0November 2026
OpenGL
4.6core and compatibility
OpenGL ES
3.22.0 and up
GL-CTS
≥ 99.88%every run
vs Apple's GL
up to 19.6×faster frames
How it works

OpenGL without Apple's OpenGL.

The core has no dependency on Apple's OpenGL framework. It compiles GLSL to the Metal Shading Language and implements the GL state machine on Metal.

How WineMetalGL draws OpenGL with Metal A Windows program's OpenGL and WGL calls go to a forwarding opengl32.dll, then to the WineMetalGL Wine module, then to the libwinemetalgl core. The core compiles GLSL with glslang to SPIR-V and with SPIRV-Cross to Metal Shading Language, and draws with Metal. Apple's OpenGL framework is not used. ProgramIn the prefixCore · libwinemetalgl.dylibGPU OpenGL · WGL1.0–4.6 · GLES 3.2 opengl32.dll→ winemetalgl.dll / .so GL state, resources and drawsimplemented on Metal GLSLfrom the game glslang→ SPIR-V SPIRV-Cross→ MSL METAL
Wine itself isn't patched or rebuilt: the Wine module carries WGL and every GL call to the core. Apple deprecated its own OpenGL in 2018, and it stops at OpenGL 4.1.
Since MetalSharp 1.0.0

Older games, fixed.

MetalSharp 1.0.0 shipped 3.7.0. MetalSharp 1.1.0 through 1.3.0 ship 3.9.0, inside MetalSharp Wine 6.0 to 7.0.

  1. 3.7.0Oct 23

    Runs inside native arm64 Wine: CrossOver's arm64 bottles and MetalSharp Wine. Shipped in MetalSharp 1.0.0.

  2. 3.8.0Nov 3

    A frame rate limit, NotProton games in WineMetalGL Settings, and fixes for Quake III engine games and wined3d.

  3. 3.9.0Nov 7

    Minecraft Bedrock starts, fullscreen mode changes work, and more frame rate limits. Ships in MetalSharp 1.1.0 through 1.3.0.

3.9.0

Minecraft Bedrock starts.

RGBA8 pixel formats report 32 color bits, as Windows drivers do. Bedrock asks for exactly that and froze before its menu when it found none.

3.9.0

Fullscreen at any resolution.

Display mode changes are emulated: the game sees its new mode, its window covers the screen, and its frames are scaled. EDuke32 at 1280x720 covered the screen in 11 of 11 runs. WINEMETALGL_EMULATE_MODES=0 turns it off.

3.8.0 · 3.9.0

Frame rate limits.

Off, or 30 to 60 fps in steps of five. Like DXMT's limit it slows the game itself, which keeps physics tied to frame rate in check and saves battery.

3.8.0

Old games start.

Quake III engine games like Jedi Academy no longer crash at start, wined3d's fence waits work again, and Mewgenics no longer shows a white screen.

Conformance

Measured against the Khronos CTS.

Every Khronos CTS run per version. 4.4 and 4.5 are covered by the KHR-GL46 run.

99.88–100%Pass rate in every Khronos GL-CTS run, OpenGL 3.0 through 4.6.
99.95–100%Pass rate for OpenGL ES 2.0 through 3.2.
4.6Core and compatibility contexts, which Apple's OpenGL can't create.
APIVersionConformanceCases reported unsupported
OpenGL3.099.88%2.28%
OpenGL3.1100%2.38%
OpenGL3.2100%0.69%
OpenGL3.3100%1.11%
OpenGL4.099.99%10.11%
OpenGL4.199.99%10.08%
OpenGL4.299.98%9.74%
OpenGL4.399.97%15.60%
OpenGL4.4 – 4.5Covered by the KHR-GL46 run
OpenGL4.699.98%22.33%
GLES2.0100%0.60%
GLES3.0100%0.83%
GLES3.199.98%1.24%
GLES3.299.95%0.64%

“Unsupported” counts the CTS cases that report NotSupported. Unsupported explains each gap; Conformance results lists every run.

Performance

Faster than Apple's OpenGL.

Where both can run an entry, WineMetalGL's average frame time is 1.2 to 19.6 times shorter.

Times faster than Apple's OpenGL

Average frame time, median of three 600-frame runs, vsync off. Higher is better.

  • GL 4.1 tessellationscene4x-core4119.6×
  • GL 3.3 corescene33-core2.27×
  • GL 3.3 corescene33-core-302.21×
  • Fixed functionlegacy-gl211.17×
  • Fixed function, 32-bitlegacy-gl21-i3861.17×
Show as a table
EntryWineMetalGLApple's OpenGLFaster by
scene4x-core412.038 ms39.889 ms19.57×
scene33-core0.249 ms0.565 ms2.27×
scene33-core-300.251 ms0.554 ms2.21×
legacy-gl210.455 ms0.533 ms1.17×
legacy-gl21-i3860.469 ms0.548 ms1.17×

Apple's OpenGL is the same program with WINEMETALGL=0. The GL 4.2–4.6 and compatibility-profile scenes run only on WineMetalGL. See Performance and the game corpus.

The app

Install it anywhere.

WineMetalGL's own app installs it into any Wine prefix or CrossOver bottle.

Install

Any Wine on your Mac

Install WineMetalGL into a Wine it finds, or choose any Wine and prefix in Finder, and turn it on or off.

CrossOver

Any bottle

Install into a CrossOver bottle, x86_64 or arm64, with or without CrossOver installed.

NotProton

Steam games too

Lists the Steam games NotProton has set up, and installs WineMetalGL into their runner and prefix.

Settings

Per-game control

Frame rate limits, quick fixes for tested games, x87 acceleration for older 32-bit games, and runtime logs for reporting a problem.

The DMG updates the app and the installed runtime when a new version comes out. The release also has install scripts and packages for x86_64 and arm64 Wine.

In MetalSharp 1.3.0

On both runtimes.

FEX runtime

MetalSharp Wine (Arm64)

WineMetalGL 3.9.0

Role
The default OpenGL, so prefixes need no setup
Also
Backs Wine's own Direct3D on the OpenGL route
Opt out
OPENGL_BACKEND=wine
x86_64 runtime

MetalSharp Wine (x86_64)

WineMetalGL 3.9.0

Role
OpenGL 4.6 on Metal, inside the x86_64 Wine app
Also
MetalFX upscaling and MetalSharp's frame rate limit

In MetalSharp it's the WineMetalGL route, on both runtimes.