gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 549 forks source link

Consider Glium backend #709

Closed kvark closed 6 years ago

kvark commented 9 years ago

Unlikely to be possible, just something to keep an eye on. cc @tomaka

tomaka commented 9 years ago

I totally lost track of the internal design of gfx, but I think this is possible. I'm not opposed to adding low-level things in glium (unsafe or not).

kvark commented 9 years ago

@tomaka thanks, sounds promising :) It would be rather useless if not for the high-level stuff that I'm doing, which I'd like Glium users to have access to as well.

tomaka commented 9 years ago

What I mean is that gfx is already converting high-level things into low-level things. So in order to write a glium backend, glium may have to have to accept more low-level things.

bvssvni commented 9 years ago

I am curious about the overhead of converting the draw state. Piston-Graphics needs this for glium_graphics so we could use it as a test case to see whether a Glium back-end is a good idea?

kvark commented 9 years ago

@bvssvni that would be a great start!

Binero commented 8 years ago

Isn't a Glium back-end quite redundant, given that every platform Glium supports, is automatically supported by OpenGL? Seems like a lot of effort for no benefits.

If it means replacing the OpenGL back-end with Glium, then it's a completely different story of course.

msiglreith commented 6 years ago

I don't think this is an option/reasonable anymore due to our new low level direction.