HISE Logo Forum
    • Categories
    • Register
    • Login

    Open GL

    Scheduled Pinned Locked Moved Scripting
    24 Posts 9 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Casey KolbC
      Casey Kolb
      last edited by

      I'm also trying to render the entire plugin as OpenGL. Is this still an option in the settings? I'm not seeing it in any of the recent builds.

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

      1 Reply Last reply Reply Quote 0
      • Casey KolbC
        Casey Kolb
        last edited by

        Oh, I think I found it in StandalonePopupComponents.cpp – line 128

        #if !HISE_USE_OPENGL_FOR_PLUGIN
        	properties[(int)Properties::UseOpenGL] = false;
        #endif
        

        Casey Kolb
        Founder & CEO of Lunacy Audio
        Composer | Producer | Software Developer

        1 Reply Last reply Reply Quote 0
        • A
          arminh
          last edited by

          I still have issue where on Windows everything is smooth but on Mac is really laggy :(

          1 Reply Last reply Reply Quote 0
          • Casey KolbC
            Casey Kolb
            last edited by

            Hmm, it sped up my Mac plugin by like 200%. Crazy difference in speed.

            Casey Kolb
            Founder & CEO of Lunacy Audio
            Composer | Producer | Software Developer

            1 Reply Last reply Reply Quote 0
            • ustkU
              ustk
              last edited by

              So is it a pre-processor command finally?

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 0
              • Casey KolbC
                Casey Kolb
                last edited by

                I just set the flags in HISE before exporting

                HISE_USE_OPENGL_FOR_PLUGIN=1
                

                Casey Kolb
                Founder & CEO of Lunacy Audio
                Composer | Producer | Software Developer

                ustkU 1 Reply Last reply Reply Quote 3
                • ustkU
                  ustk @Casey Kolb
                  last edited by

                  @Lunacy-Audio Ok thanks! I never think about the possibility to set flags in the preferences…

                  Can't help pressing F5 in the forum...

                  1 Reply Last reply Reply Quote 0
                  • Casey KolbC
                    Casey Kolb
                    last edited by Casey Kolb

                    Yeah, same! 😂 I've had to do some digging for a few of them.

                    Casey Kolb
                    Founder & CEO of Lunacy Audio
                    Composer | Producer | Software Developer

                    1 Reply Last reply Reply Quote 0
                    • NatanN
                      Natan @orange
                      last edited by Natan

                      This post is deleted!
                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Natan
                        last edited by Lindon

                        Isnt OpenGL depreciated on the latest Macs?

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 0
                        • Casey KolbC
                          Casey Kolb
                          last edited by

                          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.

                          Casey Kolb
                          Founder & CEO of Lunacy Audio
                          Composer | Producer | Software Developer

                          LindonL 1 Reply Last reply Reply Quote 1
                          • LindonL
                            Lindon @Casey Kolb
                            last edited by

                            @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..

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart
                              last edited by

                              Doesn‘t rosetta just turn intel binaries into ARM ones?

                              LindonL d.healeyD 2 Replies Last reply Reply Quote 0
                              • LindonL
                                Lindon @Christoph Hart
                                last edited by

                                @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?

                                HISE Development for hire.
                                www.channelrobot.com

                                1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Christoph Hart
                                  last edited by

                                  @Christoph-Hart said in Open GL:

                                  Doesn‘t rosetta just turn intel binaries into ARM ones?

                                  Is that possible without recompiling from source?

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  1 Reply Last reply Reply Quote 0
                                  • Christoph HartC
                                    Christoph Hart
                                    last edited by

                                    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.

                                    DanHD 1 Reply Last reply Reply Quote 1
                                    • DanHD
                                      DanH @Christoph Hart
                                      last edited by

                                      @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.

                                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                      https://dhplugins.com/ | https://dcbreaks.com/
                                      London, UK

                                      1 Reply Last reply Reply Quote 0
                                      • HISEnbergH HISEnberg referenced this topic on
                                      • First post
                                        Last post

                                      27

                                      Online

                                      1.7k

                                      Users

                                      11.8k

                                      Topics

                                      102.5k

                                      Posts