taskAbstract Media Library - Tasks: task #5328, Add an event rate management

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #5328: Add an event rate management

Submitted by:  XorfacX <xorfacx>
Submitted on:  Tue 24 Jul 2007 09:11:24 PM UTC  
 
Should Start On: Mon 23 Jul 2007 10:00:00 PM UTCShould be Finished on: Mon 23 Jul 2007 10:00:00 PM UTC
Category: NonePriority: 5 - Normal
Status: Need InfoPrivacy: Public
Percent Complete: 100%Assigned to: Alexandre VINCENT <asmodehn>
Open/Closed: OpenEffort: 0.00

Tue 20 Oct 2009 07:56:40 PM UTC, comment #5:

This work with the latest version of p0.

Can you conform me u let this event rate management in latest commits of SDLut ? If yes, please close this ticket.

XorfacX <xorfacx>
Project Member
Fri 27 Jul 2007 08:04:06 PM UTC, SVN revision 800:

task #5328 : event rate management added. should be tested...

(Browse SVN revision 800)

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Fri 27 Jul 2007 08:03:31 PM UTC, comment #3:

Alright ;-) thats what I thought but I prefer having a confirmation. Thats done and should now be tested :-p

If the eventrate is faster than the refresh rate, then it will be ignored, and event will happen every frame anyway.

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Thu 26 Jul 2007 03:05:51 PM UTC, comment #2:

never go faster than the refresh rate. it's not useful and will certainly cause unpredictable result.

the objective is to optimize speed not add a functionnality, if it's useful, we'll thik about it later

XorfacX <xorfacx>
Project Member
Thu 26 Jul 2007 04:00:07 AM UTC, comment #1:

Well I am not even sure a event rate is really usefull, so wait and see before discussing post and prerender functions ;)

Question : what should we do if the event rate is faster than the frame rate ? ignoring it is easy, but if we want to take it into account, the code calculating the time might be too heavy and slow things down too much to be usefull. :p

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Tue 24 Jul 2007 09:11:24 PM UTC, original submission:

In order to optimize p0 we need to be able to set an event check rate different of the framerate.
He should be set when the mainlop is launched. Something like mainloop(framerate = 60, eventrate = 30)

Perhaps also add a prerender/postrender rate ?

XorfacX <xorfacx>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by asmodehn (Posted a comment)
  • -unavailable- added by xorfacx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Oct 2009 07:56:40 PM UTCxorfacxStatusReady For Test=>Need Info
      Assigned toxorfacx=>asmodehn
    Fri 27 Jul 2007 08:03:31 PM UTCasmodehnStatusNone=>Ready For Test
      Percent Complete0%=>100%
      Assigned toasmodehn=>xorfacx
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup