Forum

    • Register
    • Login
    • Search
    • Categories

    Panel repaint safety

    Feature Requests
    2
    3
    24
    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.
    • ustk
      ustk last edited by ustk

      @Christoph-Hart

      1. Can we have a safety that ignores repaint() if the previous call isn't done so we don't get a time-out issue?
        With timers, even when choosing a comfortable time value, the CPU can spike from another running program and cause a time-out. Often this does not lead to anything bad, but sometimes the animation freezes for good. (And I don't think having a time-out notice is good anyway...)

      2. This leads me to wonder if the crash one can sometimes get with custom LAF isn't related to this sine the repaint is looped too.

      Tired to press F5 in the forum...
      Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

        @ustk I haven't experienced these issues, do you have a snippet that demonstrates it?

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

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

          @d-healey I can't share the one I'm actually on but I experience this in all advanced painting when firing up the CPU and this since I'm using Hise for years (like when building in XCode at the same time for instance)
          I imagine it depends a lot on the CPU power though...
          Note that I'm talking about quite heavy paintings, but nothing stupidly big either...

          Tired to press F5 in the forum...
          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

          18
          Online

          741
          Users

          5.4k
          Topics

          50.3k
          Posts