Furball-Engine / Furball.Vixie

A Multi API Renderer specifically designed to be integrated into Furball, aswell as providing good Hardware support
GNU General Public License v2.0
10 stars 2 forks source link

Merge GL codebases #6

Closed Beyley closed 2 years ago

Beyley commented 2 years ago

Most of the OpenGL code now resides in the OpenGL folder, with a light abstraction layer providing a single API for talking with OpenGL, OpenGLES, and Legacy OpenGL using only modern OpenGL This also fixes a bug in the GL20 backend which would cause the first quad of multiple batches to be dropped

Eeveelution commented 2 years ago

I think the way it's being done is good, and generalizing the GL backends is also pretty necessary since there's a fuckton of Code Duplication thanks to us supporting 3 GL backends.

Beyley commented 2 years ago

I think the way it's being done is good, and generalizing the GL backends is also pretty necessary since there's a fuckton of Code Duplication thanks to us supporting 3 GL backends.

we might be able to just completely ditch most of our GLES code and switch the quad renderer for 4.1 and ES to the same code, which would be nice

Eeveelution commented 2 years ago

that would be possible yeah

Beyley commented 2 years ago

Havent moved this out to another project (im very lazy rn and that can be done later)