enigma-dev/enigma-dev — pull request #117 by RobertBColton (2013-03-28 14:39:26+00:00)
Title: Improved Graphics Systems

Outlined a resource profiler for all graphics systems, for profiling basic
GPU usage such as triangles rendered, VRAM usage, etc.

Outlined the shaders folder and included relevant information, they will use
CG, the default one will handly all the GM crap and the advanced one's can
be based off of Unity3D's.

Removed polygon hint's from the new graphics system they were rarely
implemented on graphics hardware and are a failed attempt by OpenGL for simple
Anti Aliasing.

Finished up the Mesh class mostly and redid primitives using the class, so
that they all get buffered into a VBO before being sent to the GPU. There is
however a remaining memory leak in this class occuring when the model clears
its data and rebuffers, it's acting as if it regenerates the VBO's each time.
Should also be made to use only one VBO by offsetting the texture and other
attribute data in the one single VBO contain vertexes.