Skip to content

perf(gl): actual CPU state tracking wrappers - #460

Open
cobaltgit wants to merge 10 commits into
ButterscotchRunner:mainfrom
cobaltgit:gl-state
Open

perf(gl): actual CPU state tracking wrappers#460
cobaltgit wants to merge 10 commits into
ButterscotchRunner:mainfrom
cobaltgit:gl-state

Conversation

@cobaltgit

Copy link
Copy Markdown
Collaborator

Should benefit the OpenGL 2.x/legacy-gl paths more than 3.0+ but here we are. Less pipeline stalls yippee!

@cobaltgit
cobaltgit marked this pull request as ready for review August 29, 2026 15:55
Comment thread src/gl_common/gl_state.h
glBindFramebuffer(type, framebuffer);
}
#undef glBindFramebuffer
#define glBindFramebuffer cached_glBindFramebuffer

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be incompatible with the gl wrappers stuff

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I included it after gl_wrappers so it should wrap the framebuffer compatibility wrapper right?

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

Successfully merging this pull request may close these issues.

2 participants