Re: [Development] Custom QAnimationDriver

2014-04-14 Thread Gunnar Sletta
On 14 Apr 2014, at 08:23, Тимур Артиков wrote: > Hi Gunnar, > In my case the current time of animations should be controlled by a video > output device, and this time is not equals to real time > (QUnifiedTimer::time.elapsed()). > The QSG_FIXED_ANIMATION_STEP option is also not acceptable. I c

Re: [Development] Custom QAnimationDriver

2014-04-13 Thread Тимур Артиков
Hi Gunnar, In my case the current time of animations should be controlled by a video output device, and this time is not equals to real time (QUnifiedTimer::time.elapsed()). The QSG_FIXED_ANIMATION_STEP option is also not acceptable. I can't suppose that rendering performance is stable, and in the

Re: [Development] Custom QAnimationDriver

2014-04-11 Thread Gunnar Sletta
On 10 Apr 2014, at 13:29, Тимур Артиков wrote: > Hi, > I'm trying to use Qt Quick for generation image sequence for video > broadcasting. > To do that I need to update Qt Quick scene animations with frame rate of the > output video. > I tried to create class derived from QAnimationDriver and o

[Development] Custom QAnimationDriver

2014-04-10 Thread Тимур Артиков
Hi, I'm trying to use Qt Quick for generation image sequence for video broadcasting. To do that I need to update Qt Quick scene animations with frame rate of the output video. I tried to create class derived from QAnimationDriver and overload the QAnimationDriver::advance method which calls QUnifie