[mythtv] Time-based animation controller in mythui

Bryan Mayland bmayland at leoninedev.com
Fri Mar 10 21:35:49 UTC 2006


Isaac Richards wrote:
> On Friday 10 March 2006 12:19, Bryan Mayland wrote:
>   
>> Isaac Richards wrote:
>>     
>>> Yeah, what you're proposing would help for instances where there's brief
>>> periods of change on screen like the between-screen transitions, but it
>>> won't really help at all if there's something on screen that's changing
>>> all the time (see the mythuitest program for an example) or if the user
>>> starts mashing buttons.
>>>       
>>     I guess what I was proposing was more along the lines of providing
>> the same effect to regardless of if the pulse interval becomes erratic.
>> If you don't think there's any point in doing it, I'll just drop it.
>>     
>
> Oh, sure, it'd be useful, but I was just pointing out that it wouldn't fix 
> people's problems. =)  If you want to work on that, go right ahead.  I'll 
> also happily accept improvements to the gl code itself. =)  I really don't 
> know exactly what I'm doing in there..
>   
    Oh exactly.  They'd just get one frame of animation out of the whole 
thing!  We can probably find a way to feed that back up the chain to let 
the renderer know "Hey, I skipped 24 out of 25 frames of that 
animation... you should probably fall back to QPainter" or something. 

    I'll have a go at this over the weekend.  Your OpenGL code doesn't 
look too bad to me though.  :)

  


More information about the mythtv-dev mailing list