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

Create buffer layers #3

Open
CarbonSDK opened this issue Feb 7, 2013 · 0 comments
Open

Create buffer layers #3

CarbonSDK opened this issue Feb 7, 2013 · 0 comments

Comments

@CarbonSDK
Copy link
Owner

Create a new off-screen buffer/layer and render it on- screen for each layer of children.

For instance:
if a "window" has 2 children, and those children each a a child, we would have 1 on-screen canvas, and 3 off screen buffers, one for the window, one for the windows children, and one for the childrens children.

In this way changes will not require a full screen re-draw.
While in a web based UI dirty rectangles might be OK with overlapping canvas elements. in the native OpenGL modules this will cause performance issues, hence the purposed solution above.

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