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
@@ -174,7 +174,7 @@ public:
static std::vector<AttribFormat> getDefaultVertexFormat();
protected:
private:
friend class SpriteBatch;
@@ -190,8 +190,6 @@ protected:
void calculateAttributeSizes();
size_t getAttributeOffset(size_t attribindex) const;
virtual void drawInternal(int start, int count, int instancecount, bool useindexbuffer, const vertex::Attributes &attributes, const vertex::Buffers &buffers) const = 0;
std::vector<AttribFormat> vertexFormat;
std::vector<size_t> attributeSizes;