src/glcompiler.h

changeset 1201
a3455a81c5c9
parent 1173
6cd85b28f43b
--- a/src/glcompiler.h	Mon Mar 06 01:17:15 2017 +0200
+++ b/src/glcompiler.h	Mon Mar 06 11:48:45 2017 +0200
@@ -34,12 +34,9 @@
 	GLCompiler (GLRenderer* renderer);
 	~GLCompiler();
 
-	void initialize();
-	void prepareVBO (int vbonum);
-	GLuint vbo (int vbonum) const;
-	int vboSize (int vbonum) const;
-
-	static int vboNumber (VboClass surface, VboSubclass complement);
+	Q_SLOT void initialize();
+	GLuint vbo (VboClass surface, VboSubclass complement);
+	int vboSize (VboClass surface) const;
 
 private:
 	struct ObjectVboData
@@ -57,8 +54,11 @@
 	void dropObjectInfo (LDObject* obj);
 	Q_SLOT void forgetObject(LDObject* object);
 	void stageForCompilation (LDObject* obj);
+	void prepareVBO (int vbonum);
 	void unstage (LDObject* obj);
 
+	static int vboNumber (VboClass surface, VboSubclass complement);
+
 	QMap<LDObject*, ObjectVboData>	m_objectInfo;
 	QSet<LDObject*> m_staged; // Objects that need to be compiled
 	GLuint m_vbo[NumVbos];

mercurial