Add
- add Interface for Renderable and ElementOfRenderable, in which, Renderable will hold ElementOfRenderable, and ElementOfRenderable have the pointer to its holder
- modify Shader, InputVertexAttribute, MeshRawData be sub-class of Interface ElementOfRenderable
-
Add & Modify
- modify GLMesh, GLInputVertexAttribute, GLSLShader
- modify GLRenderable
Modify
- make the Renderer hold the reference of Renderable, but not EGLRenderer
- make the Renderer call each Renderable's Init(), Draw(), Destroy()
- make EGLRenderer only have eglSwapBuffer and the call to Renderer's Init(), Draw(), Destroy(), but EGLRenderer still keep the glClear* call, which will be removed when we add some Renderable about GLClearRenderable
Modify
- stub the place to feed the Renderer's Renderable in AndroidApplication's Initialize()