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

Feature request: creating Surface from externally-created FBO (e.g. by libretro-frontend) #2108

Open
Des-Nerger opened this issue Apr 12, 2024 · 0 comments

Comments

@Des-Nerger
Copy link

Des-Nerger commented Apr 12, 2024

I wanna be able to use Glium when implementing libretro-based game engines. Within libretro, a game engine doesn't own the whole OpenGL context, all it has instead is a frontend-created FBO id, to be used through a glBindFramebuffer call. Details: https://github.com/libretro/libretro.github.com/raw/master/documents/libretro-gl.pdf

What's the easiest way to construct a glium::Surface from an existing, externally-created FBO?

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