Closed randomPoison closed 8 years ago
This work is currently in progress on the render-reform
branch.
As of 8009a375ac12068fcc5893c686048a5bd72abfc8 this work is complete, it's just waiting on some other related work before it can be merged into master
.
The core goal here is to refactor polygon to make it more self-contained. Currently it acts as a thin wrapper around OpenGL, handing off ownership of OpenGL resources like meshes and shader programs to the engine and requiring the engine to pass those objects back in order to draw. Instead we'd like polygon to hold onto backend-specific details and manage all rendering processes internally. The broad strokes are as follows:
GLMesh
. Instead manage those details internally and only give unique identifiers that can be used independent of backend.Remaining Questions