6 #ifndef BALL_VIEW_RENDERING_GLDISPLAYLIST_H
7 #define BALL_VIEW_RENDERING_GLDISPLAYLIST_H
13 #include <QtOpenGL/qgl.h>
56 static const GLList DISPLAYLIST_NOT_DEFINED;
126 virtual void clear();
144 void startDefinition()
151 void endDefinition();
173 void useCompileMode();
186 void useCompileAndExecuteMode();
197 bool isCompileMode() const;
203 bool isCompileAndExecuteMode() const;
212 virtual
bool isValid()
const
213 {
return GL_list_ != 0; }
221 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
234 # ifndef BALL_NO_INLINE_FUNCTIONS
235 # include <BALL/VIEW/RENDERING/glDisplayList.iC>
241 #endif // BALL_VIEW_RENDERING_GLDISPLAYLIST_H
#define BALL_CREATE(name)