4 ms·
Just checked and even without any additional setup JUCE is using CoreGraphics which is using Metal under the hood. So yes, the platform-specific renderer is usi
by fxtentacle 4y ago
Just checked and even without any additional setup JUCE is using CoreGraphics which is using Metal under the hood. So yes, the platform-specific renderer is using GPU.
Also, you can use OpenGL for GUI compositing, too, not only as a 3D context.
- meindnoch 4y agoCoreGraphics doesn't use Metal. You're confusing it with CoreAnimation.
- kridsdale1 4y agoI concur.
- fxtentacle 4y agoJUCE has a CoreGraphicsMetalLayerRenderer which I understood as using Metal to render CoreGraphics paths. https://github.com/juce-framework/JUCE/blob/4e68af7fde8a0a64e808fb1a37999a690873c9de/modules/juce_gui_basics/native/juce_mac_CGMetalLayerRenderer.h https://github.com/juce-framework/JUCE/blob/4e68af7fde8a0a64...
- meindnoch 4y agoIncorrect. Please read the code more carefully. It uses CoreGraphics to render into a bitmap on the CPU, which is then uploaded into a Metal texture.
- Jasper_ 4y agoCoreGraphics is a CPU rasterizer. It doesn't use the GPU.