Optimizations
This commit is contained in:
1 parent
916a41e064
commit
f2dca8749b
15 files changed
+126
-260
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user