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 #10

Open
jens-maus opened this issue Feb 10, 2014 · 0 comments
Open

Implement double buffering #10

jens-maus opened this issue Feb 10, 2014 · 0 comments

Comments

@jens-maus
Copy link
Member

@tboeckel created the issue:

Phenomenon

Certain classes (i.e. Title.mui) must be redrawn completely for any change to be applied (i.e. changing the active tab). This might cause a graphical overhead which can be be seen more or less obviously, depending on how fast the redraw can be done on a specific hardware.

Background analysis

Drawing such complex objects to an off-screen bitmap first and then blit this bitmap into the visible part of the window will eliminate the flicker effect. However, all classes must be able to handle the possibly shifted coordinate system to render themself at the correct position.

Implementation recommendation

If certain classes cannot be enhanced to respect the shifted coordinate system it may be necessary to introduce a black list of faulty classes which need to be drawn directly instead of to the off-screen bitmap first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant