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

Implement double buffering in simple buffer manager #57

Closed
tehKaiN opened this issue May 5, 2018 · 0 comments · Fixed by #58
Closed

Implement double buffering in simple buffer manager #57

tehKaiN opened this issue May 5, 2018 · 0 comments · Fixed by #58

Comments

@tehKaiN
Copy link
Member

tehKaiN commented May 5, 2018

Double buffering is needed for drawing if you don't want to race the display beam.

Many years ago I had some clever idea of implementing double buffering as vport manager which could work regardless if one uses simple or scroll buffer, but right now I have no idea how that could work. The only remnant of this idea is in viewport manager priority list:

/**
 *  Viewport manager IDs.
 *  Number determines processing order. Camera is last, so rest may see
 *  a difference between its current and previous position
 */
#define VPM_SCROLL       0
#define VPM_TILEBUFFER   1
#define VPM_DOUBLEBUFFER 2
#define VPM_CAMERA       128
@tehKaiN tehKaiN added this to To do in Management via automation May 5, 2018
@tehKaiN tehKaiN moved this from To do to In progress in Management May 5, 2018
@tehKaiN tehKaiN mentioned this issue May 6, 2018
@tehKaiN tehKaiN moved this from In progress to Awaiting close in Management May 6, 2018
Management automation moved this from Awaiting close to Done May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Management
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant