comparison libgui/graphics/qopengl-functions.h @ 31648:29d734430e5f stable

maint: Re-indent code after switch to using namespace macros. * BaseControl.cc, BaseControl.h, ButtonControl.cc, ButtonControl.h, ButtonGroup.cc, ButtonGroup.h, Canvas.cc, Canvas.h, CheckBoxControl.cc, CheckBoxControl.h, Container.cc, Container.h, ContextMenu.cc, ContextMenu.h, EditControl.cc, EditControl.h, Figure.cc, Figure.h, FigureWindow.cc, FigureWindow.h, GLCanvas.cc, GLCanvas.h, GenericEventNotify.h, KeyMap.cc, KeyMap.h, ListBoxControl.cc, ListBoxControl.h, Logger.cc, Logger.h, Menu.cc, Menu.h, MenuContainer.h, Object.cc, Object.h, ObjectProxy.cc, ObjectProxy.h, Panel.cc, Panel.h, PopupMenuControl.cc, PopupMenuControl.h, PushButtonControl.cc, PushButtonControl.h, PushTool.cc, PushTool.h, QtHandlesUtils.cc, QtHandlesUtils.h, RadioButtonControl.cc, RadioButtonControl.h, SliderControl.cc, SliderControl.h, Table.cc, Table.h, TextControl.cc, TextControl.h, TextEdit.cc, TextEdit.h, ToggleButtonControl.cc, ToggleButtonControl.h, ToggleTool.cc, ToggleTool.h, ToolBar.cc, ToolBar.h, ToolBarButton.cc, ToolBarButton.h, annotation-dialog.cc, annotation-dialog.h, gl-select.cc, gl-select.h, qopengl-functions.h, qt-graphics-toolkit.cc, qt-graphics-toolkit.h, module.mk, QTerminal.h, color-picker.cc, color-picker.h, command-widget.cc, command-widget.h, community-news.cc, community-news.h, dialog.cc, dialog.h, documentation-bookmarks.cc, documentation-bookmarks.h, documentation-dock-widget.cc, documentation-dock-widget.h, documentation.cc, documentation.h, dw-main-window.cc, dw-main-window.h, external-editor-interface.cc, external-editor-interface.h, files-dock-widget.cc, files-dock-widget.h, find-files-dialog.cc, find-files-dialog.h, find-files-model.cc, find-files-model.h, graphics-init.cc, graphics-init.h, gui-settings.cc, gui-settings.h, gui-utils.cc, gui-utils.h, history-dock-widget.cc, history-dock-widget.h, interpreter-qobject.cc, interpreter-qobject.h, led-indicator.cc, led-indicator.h, file-editor-interface.h, file-editor-tab.cc, file-editor-tab.h, file-editor.cc, file-editor.h, find-dialog.cc, find-dialog.h, marker.cc, marker.h, octave-qscintilla.cc, octave-qscintilla.h, octave-txt-lexer.cc, octave-txt-lexer.h, main-window.cc, main-window.h, news-reader.cc, news-reader.h, octave-dock-widget.cc, octave-dock-widget.h, octave-qobject.cc, octave-qobject.h, qt-application.cc, qt-application.h, qt-interpreter-events.cc, qt-interpreter-events.h, qt-utils.h, release-notes.cc, release-notes.h, resource-manager.cc, resource-manager.h, set-path-dialog.cc, set-path-dialog.h, set-path-model.cc, set-path-model.h, settings-dialog.cc, settings-dialog.h, shortcut-manager.cc, shortcut-manager.h, tab-bar.cc, tab-bar.h, terminal-dock-widget.cc, terminal-dock-widget.h, variable-editor-model.cc, variable-editor-model.h, variable-editor.cc, variable-editor.h, welcome-wizard.cc, welcome-wizard.h, workspace-model.cc, workspace-model.h, workspace-view.cc, workspace-view.h: Re-indent code after switch to using namespace macros.
author John W. Eaton <jwe@octave.org>
date Tue, 06 Dec 2022 14:53:00 -0500
parents c6d54dd31a7e
children 597f3ee61a48
comparison
equal deleted inserted replaced
31646:c6d54dd31a7e 31648:29d734430e5f
32 # include <QOpenGLFunctions_1_1> 32 # include <QOpenGLFunctions_1_1>
33 #endif 33 #endif
34 34
35 OCTAVE_BEGIN_NAMESPACE(octave) 35 OCTAVE_BEGIN_NAMESPACE(octave)
36 36
37 // If we don't have QOPENGLFUNCTIONS_1_1, then we will default to 37 // If we don't have QOPENGLFUNCTIONS_1_1, then we will default to
38 // calling OpenGL functions directly through the base 38 // calling OpenGL functions directly through the base
39 // opengl_functions class. 39 // opengl_functions class.
40 40
41 class qopengl_functions : public opengl_functions 41 class qopengl_functions : public opengl_functions
42 { 42 {
43 public: 43 public:
44 44
45 qopengl_functions (void) 45 qopengl_functions (void)
46 #if defined (HAVE_QOPENGLFUNCTIONS_1_1) 46 #if defined (HAVE_QOPENGLFUNCTIONS_1_1)
47 : m_glfcns () 47 : m_glfcns ()
48 #endif 48 #endif
49 { } 49 { }
50 50
51 qopengl_functions (const qopengl_functions&) = default; 51 qopengl_functions (const qopengl_functions&) = default;
52 52
53 qopengl_functions& operator = (const qopengl_functions&) = default; 53 qopengl_functions& operator = (const qopengl_functions&) = default;
54 54
55 ~qopengl_functions (void) = default; 55 ~qopengl_functions (void) = default;
56 56
57 void init (void) 57 void init (void)
58 { 58 {
59 #if defined (HAVE_QOPENGLFUNCTIONS_1_1) 59 #if defined (HAVE_QOPENGLFUNCTIONS_1_1)
60 m_glfcns.initializeOpenGLFunctions (); 60 m_glfcns.initializeOpenGLFunctions ();
61 #endif 61 #endif
62 } 62 }
63 63
64 #if defined (HAVE_QOPENGLFUNCTIONS_1_1) 64 #if defined (HAVE_QOPENGLFUNCTIONS_1_1)
65 65
66 void glAlphaFunc (GLenum fcn, GLclampf ref) 66 void glAlphaFunc (GLenum fcn, GLclampf ref)
67 { 67 {
68 m_glfcns.glAlphaFunc (fcn, ref); 68 m_glfcns.glAlphaFunc (fcn, ref);
69 } 69 }
70 70
71 void glBegin (GLenum mode) 71 void glBegin (GLenum mode)
72 { 72 {
73 m_glfcns.glBegin (mode); 73 m_glfcns.glBegin (mode);
74 } 74 }
75 75
76 void glBindTexture (GLenum target, GLuint texture) 76 void glBindTexture (GLenum target, GLuint texture)
77 { 77 {
78 m_glfcns.glBindTexture (target, texture); 78 m_glfcns.glBindTexture (target, texture);
79 } 79 }
80 80
81 void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, 81 void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig,
82 GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) 82 GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
83 { 83 {
84 m_glfcns.glBitmap (width, height, xorig, yorig, xmove, ymove, bitmap); 84 m_glfcns.glBitmap (width, height, xorig, yorig, xmove, ymove, bitmap);
85 } 85 }
86 86
87 void glBlendFunc (GLenum sfactor, GLenum dfactor) 87 void glBlendFunc (GLenum sfactor, GLenum dfactor)
88 { 88 {
89 m_glfcns.glBlendFunc (sfactor, dfactor); 89 m_glfcns.glBlendFunc (sfactor, dfactor);
90 } 90 }
91 91
92 void glCallList (GLuint list) 92 void glCallList (GLuint list)
93 { 93 {
94 m_glfcns.glCallList (list); 94 m_glfcns.glCallList (list);
95 } 95 }
96 96
97 void glClearColor (GLclampf red, GLclampf green, GLclampf blue, 97 void glClearColor (GLclampf red, GLclampf green, GLclampf blue,
98 GLclampf alpha) 98 GLclampf alpha)
99 { 99 {
100 m_glfcns.glClearColor (red, green, blue, alpha); 100 m_glfcns.glClearColor (red, green, blue, alpha);
101 } 101 }
102 102
103 void glClear (GLbitfield mask) 103 void glClear (GLbitfield mask)
104 { 104 {
105 m_glfcns.glClear (mask); 105 m_glfcns.glClear (mask);
106 } 106 }
107 107
108 void glClipPlane (GLenum plane, const GLdouble *equation) 108 void glClipPlane (GLenum plane, const GLdouble *equation)
109 { 109 {
110 m_glfcns.glClipPlane (plane, equation); 110 m_glfcns.glClipPlane (plane, equation);
111 } 111 }
112 112
113 void glColor3dv (const GLdouble *v) 113 void glColor3dv (const GLdouble *v)
114 { 114 {
115 m_glfcns.glColor3dv (v); 115 m_glfcns.glColor3dv (v);
116 } 116 }
117 117
118 void glColor3f (GLfloat red, GLfloat green, GLfloat blue) 118 void glColor3f (GLfloat red, GLfloat green, GLfloat blue)
119 { 119 {
120 m_glfcns.glColor3f (red, green, blue); 120 m_glfcns.glColor3f (red, green, blue);
121 } 121 }
122 122
123 void glColor3fv (const GLfloat *v) 123 void glColor3fv (const GLfloat *v)
124 { 124 {
125 m_glfcns.glColor3fv (v); 125 m_glfcns.glColor3fv (v);
126 } 126 }
127 127
128 void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) 128 void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
129 { 129 {
130 m_glfcns.glColor4d (red, green, blue, alpha); 130 m_glfcns.glColor4d (red, green, blue, alpha);
131 } 131 }
132 132
133 void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) 133 void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
134 { 134 {
135 m_glfcns.glColor4f (red, green, blue, alpha); 135 m_glfcns.glColor4f (red, green, blue, alpha);
136 } 136 }
137 137
138 void glColor4fv (const GLfloat *v) 138 void glColor4fv (const GLfloat *v)
139 { 139 {
140 m_glfcns.glColor4fv (v); 140 m_glfcns.glColor4fv (v);
141 } 141 }
142 142
143 void glDeleteLists (GLuint list, GLsizei range) 143 void glDeleteLists (GLuint list, GLsizei range)
144 { 144 {
145 m_glfcns.glDeleteLists (list, range); 145 m_glfcns.glDeleteLists (list, range);
146 } 146 }
147 147
148 void glDeleteTextures (GLsizei n, const GLuint *textures) 148 void glDeleteTextures (GLsizei n, const GLuint *textures)
149 { 149 {
150 m_glfcns.glDeleteTextures (n, textures); 150 m_glfcns.glDeleteTextures (n, textures);
151 } 151 }
152 152
153 void glDepthFunc (GLenum fcn) 153 void glDepthFunc (GLenum fcn)
154 { 154 {
155 m_glfcns.glDepthFunc (fcn); 155 m_glfcns.glDepthFunc (fcn);
156 } 156 }
157 157
158 void glDisable (GLenum cap) 158 void glDisable (GLenum cap)
159 { 159 {
160 m_glfcns.glDisable (cap); 160 m_glfcns.glDisable (cap);
161 } 161 }
162 162
163 void glDrawPixels (GLsizei width, GLsizei height, GLenum format, 163 void glDrawPixels (GLsizei width, GLsizei height, GLenum format,
164 GLenum type, const GLvoid *pixels) 164 GLenum type, const GLvoid *pixels)
165 { 165 {
166 m_glfcns.glDrawPixels (width, height, format, type, pixels); 166 m_glfcns.glDrawPixels (width, height, format, type, pixels);
167 } 167 }
168 168
169 void glEdgeFlag (GLboolean flag) 169 void glEdgeFlag (GLboolean flag)
170 { 170 {
171 m_glfcns.glEdgeFlag (flag); 171 m_glfcns.glEdgeFlag (flag);
172 } 172 }
173 173
174 void glEnable (GLenum cap) 174 void glEnable (GLenum cap)
175 { 175 {
176 m_glfcns.glEnable (cap); 176 m_glfcns.glEnable (cap);
177 } 177 }
178 178
179 void glEndList (void) 179 void glEndList (void)
180 { 180 {
181 m_glfcns.glEndList (); 181 m_glfcns.glEndList ();
182 } 182 }
183 183
184 void glEnd (void) 184 void glEnd (void)
185 { 185 {
186 m_glfcns.glEnd (); 186 m_glfcns.glEnd ();
187 } 187 }
188 188
189 void glFinish (void) 189 void glFinish (void)
190 { 190 {
191 m_glfcns.glFinish (); 191 m_glfcns.glFinish ();
192 } 192 }
193 193
194 GLuint glGenLists (GLsizei range) 194 GLuint glGenLists (GLsizei range)
195 { 195 {
196 return m_glfcns.glGenLists (range); 196 return m_glfcns.glGenLists (range);
197 } 197 }
198 198
199 void glGenTextures (GLsizei n, GLuint *textures) 199 void glGenTextures (GLsizei n, GLuint *textures)
200 { 200 {
201 m_glfcns.glGenTextures (n, textures); 201 m_glfcns.glGenTextures (n, textures);
202 } 202 }
203 203
204 void glGetBooleanv (GLenum pname, GLboolean *data) 204 void glGetBooleanv (GLenum pname, GLboolean *data)
205 { 205 {
206 m_glfcns.glGetBooleanv (pname, data); 206 m_glfcns.glGetBooleanv (pname, data);
207 } 207 }
208 208
209 void glGetDoublev (GLenum pname, GLdouble *data) 209 void glGetDoublev (GLenum pname, GLdouble *data)
210 { 210 {
211 m_glfcns.glGetDoublev (pname, data); 211 m_glfcns.glGetDoublev (pname, data);
212 } 212 }
213 213
214 GLenum glGetError (void) 214 GLenum glGetError (void)
215 { 215 {
216 return m_glfcns.glGetError (); 216 return m_glfcns.glGetError ();
217 } 217 }
218 218
219 void glGetFloatv (GLenum pname, GLfloat *data) 219 void glGetFloatv (GLenum pname, GLfloat *data)
220 { 220 {
221 m_glfcns.glGetFloatv (pname, data); 221 m_glfcns.glGetFloatv (pname, data);
222 } 222 }
223 223
224 void glGetIntegerv (GLenum pname, GLint *data) 224 void glGetIntegerv (GLenum pname, GLint *data)
225 { 225 {
226 m_glfcns.glGetIntegerv (pname, data); 226 m_glfcns.glGetIntegerv (pname, data);
227 } 227 }
228 228
229 const GLubyte * glGetString (GLenum name) 229 const GLubyte * glGetString (GLenum name)
230 { 230 {
231 return m_glfcns.glGetString (name); 231 return m_glfcns.glGetString (name);
232 } 232 }
233 233
234 void glHint (GLenum target, GLenum mode) 234 void glHint (GLenum target, GLenum mode)
235 { 235 {
236 m_glfcns.glHint (target, mode); 236 m_glfcns.glHint (target, mode);
237 } 237 }
238 238
239 void glInitNames (void) 239 void glInitNames (void)
240 { 240 {
241 m_glfcns.glInitNames (); 241 m_glfcns.glInitNames ();
242 } 242 }
243 243
244 GLboolean glIsEnabled (GLenum cap) 244 GLboolean glIsEnabled (GLenum cap)
245 { 245 {
246 return m_glfcns.glIsEnabled (cap); 246 return m_glfcns.glIsEnabled (cap);
247 } 247 }
248 248
249 void glLightfv (GLenum light, GLenum pname, const GLfloat *params) 249 void glLightfv (GLenum light, GLenum pname, const GLfloat *params)
250 { 250 {
251 m_glfcns.glLightfv (light, pname, params); 251 m_glfcns.glLightfv (light, pname, params);
252 } 252 }
253 253
254 void glLineStipple (GLint factor, GLushort pattern) 254 void glLineStipple (GLint factor, GLushort pattern)
255 { 255 {
256 m_glfcns.glLineStipple (factor, pattern); 256 m_glfcns.glLineStipple (factor, pattern);
257 } 257 }
258 258
259 void glLineWidth (GLfloat width) 259 void glLineWidth (GLfloat width)
260 { 260 {
261 m_glfcns.glLineWidth (width); 261 m_glfcns.glLineWidth (width);
262 } 262 }
263 263
264 void glLoadIdentity (void) 264 void glLoadIdentity (void)
265 { 265 {
266 m_glfcns.glLoadIdentity (); 266 m_glfcns.glLoadIdentity ();
267 } 267 }
268 268
269 void glMaterialf (GLenum face, GLenum pname, GLfloat param) 269 void glMaterialf (GLenum face, GLenum pname, GLfloat param)
270 { 270 {
271 m_glfcns.glMaterialf (face, pname, param); 271 m_glfcns.glMaterialf (face, pname, param);
272 } 272 }
273 273
274 void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) 274 void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params)
275 { 275 {
276 m_glfcns.glMaterialfv (face, pname, params); 276 m_glfcns.glMaterialfv (face, pname, params);
277 } 277 }
278 278
279 void glMatrixMode (GLenum mode) 279 void glMatrixMode (GLenum mode)
280 { 280 {
281 m_glfcns.glMatrixMode (mode); 281 m_glfcns.glMatrixMode (mode);
282 } 282 }
283 283
284 void glMultMatrixd (const GLdouble *m) 284 void glMultMatrixd (const GLdouble *m)
285 { 285 {
286 m_glfcns.glMultMatrixd (m); 286 m_glfcns.glMultMatrixd (m);
287 } 287 }
288 288
289 void glNewList (GLuint list, GLenum mode) 289 void glNewList (GLuint list, GLenum mode)
290 { 290 {
291 m_glfcns.glNewList (list, mode); 291 m_glfcns.glNewList (list, mode);
292 } 292 }
293 293
294 void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz) 294 void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
295 { 295 {
296 m_glfcns.glNormal3d (nx, ny, nz); 296 m_glfcns.glNormal3d (nx, ny, nz);
297 } 297 }
298 298
299 void glNormal3dv (const GLdouble *v) 299 void glNormal3dv (const GLdouble *v)
300 { 300 {
301 m_glfcns.glNormal3dv (v); 301 m_glfcns.glNormal3dv (v);
302 } 302 }
303 303
304 void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, 304 void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top,
305 GLdouble near_val, GLdouble far_val) 305 GLdouble near_val, GLdouble far_val)
306 { 306 {
307 m_glfcns.glOrtho (left, right, bottom, top, near_val, far_val); 307 m_glfcns.glOrtho (left, right, bottom, top, near_val, far_val);
308 } 308 }
309 309
310 void glPixelStorei (GLenum pname, GLint param) 310 void glPixelStorei (GLenum pname, GLint param)
311 { 311 {
312 m_glfcns.glPixelStorei (pname, param); 312 m_glfcns.glPixelStorei (pname, param);
313 } 313 }
314 314
315 void glPixelZoom (GLfloat xfactor, GLfloat yfactor) 315 void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
316 { 316 {
317 m_glfcns.glPixelZoom (xfactor, yfactor); 317 m_glfcns.glPixelZoom (xfactor, yfactor);
318 } 318 }
319 319
320 void glPolygonMode (GLenum face, GLenum mode) 320 void glPolygonMode (GLenum face, GLenum mode)
321 { 321 {
322 m_glfcns.glPolygonMode (face, mode); 322 m_glfcns.glPolygonMode (face, mode);
323 } 323 }
324 324
325 void glPolygonOffset (GLfloat factor, GLfloat units) 325 void glPolygonOffset (GLfloat factor, GLfloat units)
326 { 326 {
327 m_glfcns.glPolygonOffset (factor, units); 327 m_glfcns.glPolygonOffset (factor, units);
328 } 328 }
329 329
330 void glPopAttrib (void) 330 void glPopAttrib (void)
331 { 331 {
332 m_glfcns.glPopAttrib (); 332 m_glfcns.glPopAttrib ();
333 } 333 }
334 334
335 void glPopMatrix (void) 335 void glPopMatrix (void)
336 { 336 {
337 m_glfcns.glPopMatrix (); 337 m_glfcns.glPopMatrix ();
338 } 338 }
339 339
340 void glPopName (void) 340 void glPopName (void)
341 { 341 {
342 m_glfcns.glPopName (); 342 m_glfcns.glPopName ();
343 } 343 }
344 344
345 void glPushAttrib (GLbitfield mask) 345 void glPushAttrib (GLbitfield mask)
346 { 346 {
347 m_glfcns.glPushAttrib (mask); 347 m_glfcns.glPushAttrib (mask);
348 } 348 }
349 349
350 void glPushMatrix (void) 350 void glPushMatrix (void)
351 { 351 {
352 m_glfcns.glPushMatrix (); 352 m_glfcns.glPushMatrix ();
353 } 353 }
354 354
355 void glPushName (GLuint name) 355 void glPushName (GLuint name)
356 { 356 {
357 m_glfcns.glPushName (name); 357 m_glfcns.glPushName (name);
358 } 358 }
359 359
360 void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z) 360 void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
361 { 361 {
362 m_glfcns.glRasterPos3d (x, y, z); 362 m_glfcns.glRasterPos3d (x, y, z);
363 } 363 }
364 364
365 void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, 365 void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height,
366 GLenum format, GLenum type, GLvoid *pixels) 366 GLenum format, GLenum type, GLvoid *pixels)
367 { 367 {
368 m_glfcns.glReadPixels (x, y, width, height, format, type, pixels); 368 m_glfcns.glReadPixels (x, y, width, height, format, type, pixels);
369 } 369 }
370 370
371 GLint glRenderMode (GLenum mode) 371 GLint glRenderMode (GLenum mode)
372 { 372 {
373 return m_glfcns.glRenderMode (mode); 373 return m_glfcns.glRenderMode (mode);
374 } 374 }
375 375
376 void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) 376 void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
377 { 377 {
378 m_glfcns.glRotated (angle, x, y, z); 378 m_glfcns.glRotated (angle, x, y, z);
379 } 379 }
380 380
381 void glScaled (GLdouble x, GLdouble y, GLdouble z) 381 void glScaled (GLdouble x, GLdouble y, GLdouble z)
382 { 382 {
383 m_glfcns.glScaled (x, y, z); 383 m_glfcns.glScaled (x, y, z);
384 } 384 }
385 385
386 void glScalef (GLfloat x, GLfloat y, GLfloat z) 386 void glScalef (GLfloat x, GLfloat y, GLfloat z)
387 { 387 {
388 m_glfcns.glScalef (x, y, z); 388 m_glfcns.glScalef (x, y, z);
389 } 389 }
390 390
391 void glSelectBuffer (GLsizei size, GLuint *buffer) 391 void glSelectBuffer (GLsizei size, GLuint *buffer)
392 { 392 {
393 m_glfcns.glSelectBuffer (size, buffer); 393 m_glfcns.glSelectBuffer (size, buffer);
394 } 394 }
395 395
396 void glShadeModel (GLenum mode) 396 void glShadeModel (GLenum mode)
397 { 397 {
398 m_glfcns.glShadeModel (mode); 398 m_glfcns.glShadeModel (mode);
399 } 399 }
400 400
401 void glTexCoord2d (GLdouble s, GLdouble t) 401 void glTexCoord2d (GLdouble s, GLdouble t)
402 { 402 {
403 m_glfcns.glTexCoord2d (s, t); 403 m_glfcns.glTexCoord2d (s, t);
404 } 404 }
405 405
406 void glTexImage2D (GLenum target, GLint level, GLint internalFormat, 406 void glTexImage2D (GLenum target, GLint level, GLint internalFormat,
407 GLsizei width, GLsizei height, GLint border, 407 GLsizei width, GLsizei height, GLint border,
408 GLenum format, GLenum type, const GLvoid *pixels) 408 GLenum format, GLenum type, const GLvoid *pixels)
409 { 409 {
410 m_glfcns.glTexImage2D (target, level, internalFormat, width, height, 410 m_glfcns.glTexImage2D (target, level, internalFormat, width, height,
411 border, format, type, pixels); 411 border, format, type, pixels);
412 } 412 }
413 413
414 void glTexParameteri (GLenum target, GLenum pname, GLint param) 414 void glTexParameteri (GLenum target, GLenum pname, GLint param)
415 { 415 {
416 m_glfcns.glTexParameteri (target, pname, param); 416 m_glfcns.glTexParameteri (target, pname, param);
417 } 417 }
418 418
419 void glTranslated (GLdouble x, GLdouble y, GLdouble z) 419 void glTranslated (GLdouble x, GLdouble y, GLdouble z)
420 { 420 {
421 m_glfcns.glTranslated (x, y, z); 421 m_glfcns.glTranslated (x, y, z);
422 } 422 }
423 423
424 void glTranslatef (GLfloat x, GLfloat y, GLfloat z) 424 void glTranslatef (GLfloat x, GLfloat y, GLfloat z)
425 { 425 {
426 m_glfcns.glTranslatef (x, y, z); 426 m_glfcns.glTranslatef (x, y, z);
427 } 427 }
428 428
429 void glVertex2d (GLdouble x, GLdouble y) 429 void glVertex2d (GLdouble x, GLdouble y)
430 { 430 {
431 m_glfcns.glVertex2d (x, y); 431 m_glfcns.glVertex2d (x, y);
432 } 432 }
433 433
434 void glVertex3d (GLdouble x, GLdouble y, GLdouble z) 434 void glVertex3d (GLdouble x, GLdouble y, GLdouble z)
435 { 435 {
436 m_glfcns.glVertex3d (x, y, z); 436 m_glfcns.glVertex3d (x, y, z);
437 } 437 }
438 438
439 void glVertex3dv (const GLdouble *v) 439 void glVertex3dv (const GLdouble *v)
440 { 440 {
441 m_glfcns.glVertex3dv (v); 441 m_glfcns.glVertex3dv (v);
442 } 442 }
443 443
444 void glViewport (GLint x, GLint y, GLsizei width, GLsizei height) 444 void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
445 { 445 {
446 m_glfcns.glViewport (x, y, width, height); 446 m_glfcns.glViewport (x, y, width, height);
447 } 447 }
448 448
449 private: 449 private:
450 450
451 QOpenGLFunctions_1_1 m_glfcns; 451 QOpenGLFunctions_1_1 m_glfcns;
452 452
453 #endif 453 #endif
454 }; 454 };
455 455
456 OCTAVE_END_NAMESPACE(octave) 456 OCTAVE_END_NAMESPACE(octave)
457 457
458 #endif 458 #endif