Abstracted lower level drawing code, moved all type-specific drawing code out of opengl backend, deleted obsolete files

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-10-26 20:58:19 -03:00
parent 7ffb04f019
commit e3fd489373
22 changed files with 109 additions and 630 deletions
+1 -3
View File
@@ -109,7 +109,7 @@ public:
// Implements Drawable.
void draw(Graphics *gfx, const Matrix4 &m) override;
protected:
private:
struct AttachedAttribute
{
@@ -123,8 +123,6 @@ protected:
**/
void setBufferSize(int newsize);
virtual void drawInternal(size_t indexbytestart, size_t indexcount, const vertex::Attributes &attributes, const vertex::Buffers &buffers) = 0;
StrongRef<Texture> texture;
// Max number of sprites in the batch.