Open GL
- 
 Oh, I think I found it in StandalonePopupComponents.cpp – line 128 #if !HISE_USE_OPENGL_FOR_PLUGIN properties[(int)Properties::UseOpenGL] = false; #endif
- 
 I still have issue where on Windows everything is smooth but on Mac is really laggy :( 
- 
 Hmm, it sped up my Mac plugin by like 200%. Crazy difference in speed. 
- 
 So is it a pre-processor command finally? 
- 
 I just set the flags in HISE before exporting HISE_USE_OPENGL_FOR_PLUGIN=1
- 
 @Lunacy-Audio Ok thanks! I never think about the possibility to set flags in the preferences… 
- 
 Yeah, same!  I've had to do some digging for a few of them. I've had to do some digging for a few of them.
- 
 This post is deleted!
- 
 Isnt OpenGL depreciated on the latest Macs? 
- 
 It's officially "deprecated" by Apple, but it's going to be around for a long, long while. The plugin I'm working on is using OpenGL almost exclusively for the main component and works across all Macs without any issues. With Windows it gets a little fishy because the graphics cards are all over the place, but in general also works fine. 
- 
 @Lunacy-Audio said in Open GL: It's officially "deprecated" by Apple, but it's going to be around for a long, long while. The plugin I'm working on is using OpenGL almost exclusively for the main component and works across all Macs without any issues. With Windows it gets a little fishy because the graphics cards are all over the place, but in general also works fine. yes this is my understanding too, however it's not so simple - the latest MacOS (and I assume all future ones) will use rosetta to virtualise your code - so you may see some performance hits as it morphs your OpenGL calls into Metal calls.. 
- 
 Doesn‘t rosetta just turn intel binaries into ARM ones? 
- 
 @Christoph-Hart said in Open GL: Doesn‘t rosetta just turn intel binaries into ARM ones? oh maybe it does - how do the OpenGL calls get managed then on machine that only has Metal? 
- 
 @Christoph-Hart said in Open GL: Doesn‘t rosetta just turn intel binaries into ARM ones? Is that possible without recompiling from source? 
- 
 Yes, it converts the x86 assembly of a compiled binary to ARM assembly and then uses some kind of emulation layer. It works surprisingly well but you get a little bit of CPU overhead compared to a natively compiled binary for ARM. 
- 
 @Christoph-Hart Do you have any recommendations for working with OpenGL in regards to Fonts in OSX? My fonts degrade quite heavily with OpenGL but I really need it with this plugin. 
- 
 H HISEnberg referenced this topic on H HISEnberg referenced this topic on






