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

See if double buffering applies here or if it is relevant anymore #48

Closed
frtru opened this issue Mar 11, 2017 · 2 comments
Closed

See if double buffering applies here or if it is relevant anymore #48

frtru opened this issue Mar 11, 2017 · 2 comments

Comments

@frtru
Copy link
Owner Author

frtru commented May 7, 2017

Can be applied to other stages of rendering, but I don't thing I care for now http://gameprogrammingpatterns.com/double-buffer.html. Also for the rendering, the double buffering is used by default with GLFW http://www.glfw.org/docs/latest/quick.html. Btw the vsync is the period of processing between the swap of the front and back buffer.

@frtru frtru closed this as completed May 7, 2017
@frtru frtru reopened this May 7, 2017
@frtru
Copy link
Owner Author

frtru commented May 7, 2017

I was wrong, http://ogldev.atspace.co.uk/www/tutorial28/tutorial28.html, the double buffering applies to the transform feedback, since "OpenGL enforces a general limitation that the same resource cannot be bound for both input and output in the same draw call. This means that if we want to update the particles in a vertex buffer we actually need two transform feedback buffers and toggle between them."

@frtru frtru closed this as completed May 7, 2017
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