Skip to content

renderer/gles: Expose create_texture() on GlesFrame#1935

Open
YaLTeR wants to merge 1 commit intoSmithay:masterfrom
YaLTeR:gles_frame_create_texture
Open

renderer/gles: Expose create_texture() on GlesFrame#1935
YaLTeR wants to merge 1 commit intoSmithay:masterfrom
YaLTeR:gles_frame_create_texture

Conversation

@YaLTeR
Copy link
Contributor

@YaLTeR YaLTeR commented Feb 17, 2026

Allows to (re-)create textures inside element draw/capture_framebuffer methods where there's no GlesRenderer.

  • create_buffer() is extracted into a separate function to avoid the egl.make_current() call that messes with important GlesFrame state
  • checks that were before make_current() are now after, but this shouldn't matter as those should be cold checks
  • I think binding TEXTURE_2D doesn't break any GlesFrame state?

create_buffer() is extracted into a separate function to avoid the
egl.make_current() call that messses with important GlesFrame state.
@Drakulix Drakulix mentioned this pull request Feb 26, 2026
1 task
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.

1 participant