Optimizations

This commit is contained in:
vladislav.khorev committed 2013-02-05 20:17:58 +00:00
1 parent 916a41e064
commit f2dca8749b
15 files changed
+126 -260

No files matched your search

+7 -5
View File
@@ -40,8 +40,6 @@ public:
TDataTriangleList Data;
bool NeedRefreshBuffer;//Dummy for Android, but you need this for PC
virtual void RefreshBuffer() { } //Dummy for Android, but you need this for PC
TTriangleListAncestor();
@@ -78,12 +76,16 @@ public:
class TTriangleList : public TTriangleListAncestor //Implementation differs for Windows and Android
{
public:
mutable std::map<std::string, std::shared_ptr<VBOObject> > VertBufferArr;
protected:
virtual void InnerRefreshBuffer();
bool NeedPrepareBufferObjects;
bool NeedRefreshBuffer; //Dummy for Android, but you need this for PC
public:
mutable std::map<std::string, std::shared_ptr<VBOObject>> VertBufferArr;
TTriangleList();
~TTriangleList();