Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render/primary loop division #6

Open
CaptainN opened this issue Apr 7, 2012 · 0 comments
Open

Render/primary loop division #6

CaptainN opened this issue Apr 7, 2012 · 0 comments
Assignees

Comments

@CaptainN
Copy link
Member

CaptainN commented Apr 7, 2012

Separate renderloop from core loop. Create clock based syncing framework (frameskipping/dynamic framerate).

The idea is to run the main loop on a timer and use advance and sleep functionality to keep the logic synced in time, and run the render loop at a constant 60 (or as close to vsync as we can get) fps.

If this can be done in a multithreaded way at some point we should be able to keep a light render loop moving even when a complex main loop can't sustain a constant frame rate.

Should also be able to support frame rate independent content - 15 and 20 fps swfs running at the correct speed in the same app concurrently.

@ghost ghost assigned CaptainN Apr 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant