HISE Logo Forum
    • Categories
    • Register
    • Login

    OpenGL ComboBox, And "NO" By Default

    Scheduled Pinned Locked Moved General Questions
    43 Posts 8 Posters 2.2k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      No just change the default value in the source code, no need to ship the modified xml.

      NatanN 1 Reply Last reply Reply Quote 3
      • NatanN
        Natan @Christoph Hart
        last edited by

        @Christoph-Hart Thanks A Lot Christoph
        Could you please Let me What Line?
        And What Cpp?

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

          Here >>>
          https://github.com/christophhart/HISE/blob/e4b8330a3c6b19b333b3544e9f4f599f3ce9726d/hi_components/plugin_components/StandalonePopupComponents.cpp#L377

          is Thi Correct?

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

            @Christoph-Hart said in OpenGL ComboBox, And "NO" By Default:

            No just change the default value in the source code, no need to ship the modified xml.

            @Christoph-Hart No Idea Where it Located :/

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

              No After A Few Hours, Still Can't Find Where It Located, There is Tons of OpenGL Command Lines On Source Code, And No Help Here :/

              ustkU 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by d.healey

                Try standalonePopupComponents.cpp line 128 (in develop branch). Just removing the ! should give you what you want.

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

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

                1 Reply Last reply Reply Quote 2
                • ustkU
                  ustk @Natan
                  last edited by ustk

                  @Natan I just replied to your PM. As @orange said, it is OPEN_GL you want to look for. If you have searched with this exact string you would have found only one file (2 in fact, but the other one can't be related) with only 3 entries in it.

                  Unless @d-healey way is the best one? Haven't tried myself...

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

                  1 Reply Last reply Reply Quote 1
                  • NatanN
                    Natan
                    last edited by

                    Excellent, Thank you guys πŸ‘@d-healey @ustk
                    I’ll give a try right now

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

                      @orange @ustk @d-healey
                      This is Excellent,
                      Just Removed The ! And Open Gl Popped Up On Floating TIle, With Value no

                      Thanks A Ton SIr David You're Rock πŸš€ :folded_hands:

                      Update: Compiled And works like charm on My Plugin.
                      And no need for extra Flag on Preferences,
                      It’s Disabled by Default πŸ˜πŸ™ŒπŸ™ŒπŸ™ŒπŸ™ŒπŸ˜Ž

                      ustkU 1 Reply Last reply Reply Quote 1
                      • ustkU
                        ustk @Natan
                        last edited by ustk

                        @Natan Cool!
                        although it might be better to just remove the statement and write:

                        properties[(int)Properties::UseOpenGL] = HISE_USE_OPENGL_FOR_PLUGIN;
                        

                        Otherwise, it won't be set to false when needed the same way it was never set to true

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

                        d.healeyD 1 Reply Last reply Reply Quote 1
                        • d.healeyD
                          d.healey @ustk
                          last edited by d.healey

                          @ustk He want's the option there but he wants it set to false. I think your suggestion will set it to true

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

                          ustkU NatanN 3 Replies Last reply Reply Quote 2
                          • ustkU
                            ustk @d.healey
                            last edited by

                            @d-healey Only if HISE_USE_OPENGL_FOR_PLUGIN has been declared true

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

                            d.healeyD 1 Reply Last reply Reply Quote 1
                            • ustkU
                              ustk @d.healey
                              last edited by

                              @d-healey Nope sorry! You're right ;)

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

                              1 Reply Last reply Reply Quote 1
                              • d.healeyD
                                d.healey @ustk
                                last edited by

                                @ustk Which it will be if he wants it to show up in the Settings tile, no?

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

                                1 Reply Last reply Reply Quote 1
                                • NatanN
                                  Natan @d.healey
                                  last edited by

                                  @d-healey said in OpenGL ComboBox, And "NO" By Default:

                                  @ustk He want's the option there but he wants it set to false. I think your suggestion will set it to true

                                  Yeah, Sir David, You're Right.

                                  And Added "GraphicRendering": true, into the CustomSettings Floating Tile.
                                  And The Option Is There Also On Hise, Not Just Compiled Plugin, And It's Set To NO,
                                  Just Tested, And Works Like A Charm

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

                                    The combobox goes away as soon as you set DebugMode to false

                                    Also, I don't see where adding GraphicRendering changes anything...

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

                                    Dan KorneffD 1 Reply Last reply Reply Quote 1
                                    • Dan KorneffD
                                      Dan Korneff @ustk
                                      last edited by

                                      @ustk said in OpenGL ComboBox, And "NO" By Default:

                                      The combobox goes away as soon as you set DebugMode to false

                                      Was just doing some testing. At least one other item needs to be set to "true" for the OpenGL combo to appear.
                                      After poking around a little, adding this to StandalongPopupComponents.cpp and trashing HISE preferences makes it work properly on my rig:

                                      openGLSelector->setLookAndFeel(&blaf);
                                      

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      1 Reply Last reply Reply Quote 0
                                      • FortuneF
                                        Fortune
                                        last edited by Fortune

                                        OpenGL Combobox is not apprearing in the FloatingTile. I just can't use it because it is empty in the compiled plugin.

                                        Does anyone have this issue with the latest develop branch?

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

                                          @Fortune Try using HISE_USE_OPENGL_FOR_PLUGIN=1 in your project preferences.

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

                                          FortuneF 2 Replies Last reply Reply Quote 1
                                          • FortuneF
                                            Fortune @d.healey
                                            last edited by

                                            @d-healey I will try, thank you man!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            26

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.7k

                                            Posts