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();
150 void endDefinition();
172 void useCompileMode();
185 void useCompileAndExecuteMode();
196 bool isCompileMode()
const;
202 bool isCompileAndExecuteMode()
const;
212 {
return GL_list_ != 0; }
220 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
233 # ifndef BALL_NO_INLINE_FUNCTIONS 234 # include <BALL/VIEW/RENDERING/glDisplayList.iC> 240 #endif // BALL_VIEW_RENDERING_GLDISPLAYLIST_H
virtual bool isValid() const
#define BALL_CREATE(name)