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

Add ability to reuse GlFrameBuffer and optimize FrameBuffer to not create a GlFrameBuffer object per begin() & end() call #228

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

LeHaine
Copy link
Member

@LeHaine LeHaine commented Jan 29, 2024

fbo: add new GlFrameBuffer.EmptyGlFrameBuffer companion object function

gl: update GL.getBoundFrameBuffer to allow for optional 'out' param to prevent constant creation of new GlFrameBuffers

gl: update backend GlFrameBuffers to allow changing referene

fbo: optimze FrameBuffer to reuse GlFrameBuffer objects instead of creating new one on each begin() and end() call

gl: update GL.getBoundFrameBuffer to allow for optional 'out' param to prevent constant creation of new GlFrameBuffers

gl: update backend GlFrameBuffers to allow changing referene

fbo: optimze FrameBuffer to reuse GlFrameBuffer objects instead of creating new one on each begin() and end() call
@LeHaine LeHaine added enhancement New feature or request graphics Graphics related issues labels Jan 29, 2024
@LeHaine LeHaine merged commit ab8f640 into master Jan 29, 2024
1 check passed
@LeHaine LeHaine deleted the framebuffer-optimize branch January 29, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request graphics Graphics related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant