66 enum |
66 enum |
67 { |
67 { |
68 NumVbos = NumSurfaceVbos * NumVboComplements |
68 NumVbos = NumSurfaceVbos * NumVboComplements |
69 }; |
69 }; |
70 |
70 |
71 MAKE_ITERABLE_ENUM (SurfaceVboType) |
71 MAKE_ITERABLE_ENUM(SurfaceVboType) |
72 MAKE_ITERABLE_ENUM (ComplementVboType) |
72 MAKE_ITERABLE_ENUM(ComplementVboType) |
73 |
73 |
74 #ifndef USE_QT5 |
74 #ifndef USE_QT5 |
75 // Placeholder QOpenGLFunctions for Qt 4.x support |
75 // Placeholder QOpenGLFunctions for Qt 4.x support |
76 struct QOpenGLFunctions |
76 struct QOpenGLFunctions |
77 { |
77 { |
84 #ifdef IN_IDE_PARSER |
84 #ifdef IN_IDE_PARSER |
85 using GLint = int; |
85 using GLint = int; |
86 using GLsizei = int; |
86 using GLsizei = int; |
87 using GLenum = unsigned int; |
87 using GLenum = unsigned int; |
88 using GLuint = unsigned int; |
88 using GLuint = unsigned int; |
89 void glBindBuffer (GLenum, GLuint); |
89 void glBindBuffer(GLenum, GLuint); |
90 void glGenBuffers (GLuint, GLuint*); |
90 void glGenBuffers(GLuint, GLuint*); |
91 void glDeleteBuffers (GLuint, GLuint*); |
91 void glDeleteBuffers(GLuint, GLuint*); |
92 void glBufferData (GLuint, GLuint, void*, GLuint); |
92 void glBufferData(GLuint, GLuint, void*, GLuint); |
93 void glBufferSubData (GLenum, GLint, GLsizei, void*); |
93 void glBufferSubData(GLenum, GLint, GLsizei, void*); |
94 #endif |
94 #endif |