1 | /**************************************************************************** |
2 | ** |
3 | ** Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB) |
4 | ** Contact: https://www.qt.io/licensing/ |
5 | ** |
6 | ** This file is part of the QtOpenGLExtensions module of the Qt Toolkit. |
7 | ** |
8 | ** $QT_BEGIN_LICENSE:BSD$ |
9 | ** Commercial License Usage |
10 | ** Licensees holding valid commercial Qt licenses may use this file in |
11 | ** accordance with the commercial license agreement provided with the |
12 | ** Software or, alternatively, in accordance with the terms contained in |
13 | ** a written agreement between you and The Qt Company. For licensing terms |
14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
15 | ** information use the contact form at https://www.qt.io/contact-us. |
16 | ** |
17 | ** BSD License Usage |
18 | ** Alternatively, you may use this file under the terms of the BSD license |
19 | ** as follows: |
20 | ** |
21 | ** "Redistribution and use in source and binary forms, with or without |
22 | ** modification, are permitted provided that the following conditions are |
23 | ** met: |
24 | ** * Redistributions of source code must retain the above copyright |
25 | ** notice, this list of conditions and the following disclaimer. |
26 | ** * Redistributions in binary form must reproduce the above copyright |
27 | ** notice, this list of conditions and the following disclaimer in |
28 | ** the documentation and/or other materials provided with the |
29 | ** distribution. |
30 | ** * Neither the name of The Qt Company Ltd nor the names of its |
31 | ** contributors may be used to endorse or promote products derived |
32 | ** from this software without specific prior written permission. |
33 | ** |
34 | ** |
35 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
36 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
37 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
38 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
39 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
40 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
41 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
42 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
43 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
44 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
45 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." |
46 | ** |
47 | ** $QT_END_LICENSE$ |
48 | ** |
49 | ** |
50 | ** This file was generated by glgen version 0.1 |
51 | ** Command line was: glgen |
52 | ** |
53 | ** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
54 | ** |
55 | ** This is an auto-generated file. |
56 | ** Do not edit! All changes made to it will be lost. |
57 | ** |
58 | ****************************************************************************/ |
59 | |
60 | #include "qopenglextensions.h" |
61 | #include <QtGui/qopenglcontext.h> |
62 | |
63 | // MemoryBarrier is a macro on some architectures on Windows |
64 | #ifdef Q_OS_WIN |
65 | #pragma push_macro("MemoryBarrier") |
66 | #undef MemoryBarrier |
67 | #endif |
68 | |
69 | QT_BEGIN_NAMESPACE |
70 | |
71 | QAbstractOpenGLExtension::~QAbstractOpenGLExtension() |
72 | { |
73 | if (d_ptr) |
74 | delete d_ptr; |
75 | } |
76 | |
77 | bool QAbstractOpenGLExtension::initializeOpenGLFunctions() |
78 | { |
79 | Q_D(QAbstractOpenGLExtension); |
80 | d->initialized = true; |
81 | return true; |
82 | } |
83 | |
84 | bool QAbstractOpenGLExtension::isInitialized() const |
85 | { |
86 | Q_D(const QAbstractOpenGLExtension); |
87 | return d->initialized; |
88 | } |
89 | |
90 | #if !defined(QT_OPENGL_ES_2) |
91 | |
92 | QOpenGLExtension_3DFX_tbuffer::QOpenGLExtension_3DFX_tbuffer() |
93 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_3DFX_tbufferPrivate)) |
94 | { |
95 | } |
96 | |
97 | bool QOpenGLExtension_3DFX_tbuffer::initializeOpenGLFunctions() |
98 | { |
99 | if (isInitialized()) |
100 | return true; |
101 | |
102 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
103 | if (!context) { |
104 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
105 | return false; |
106 | } |
107 | |
108 | // Resolve the functions |
109 | Q_D(QOpenGLExtension_3DFX_tbuffer); |
110 | |
111 | d->TbufferMask3DFX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glTbufferMask3DFX" )); |
112 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
113 | return true; |
114 | } |
115 | |
116 | QOpenGLExtension_AMD_debug_output::QOpenGLExtension_AMD_debug_output() |
117 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_debug_outputPrivate)) |
118 | { |
119 | } |
120 | |
121 | bool QOpenGLExtension_AMD_debug_output::initializeOpenGLFunctions() |
122 | { |
123 | if (isInitialized()) |
124 | return true; |
125 | |
126 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
127 | if (!context) { |
128 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
129 | return false; |
130 | } |
131 | |
132 | // Resolve the functions |
133 | Q_D(QOpenGLExtension_AMD_debug_output); |
134 | |
135 | d->GetDebugMessageLogAMD = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLenum *, GLuint *, GLuint *, GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetDebugMessageLogAMD" )); |
136 | d->DebugMessageCallbackAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLDEBUGPROCAMD , GLvoid *)>(context->getProcAddress(procName: "glDebugMessageCallbackAMD" )); |
137 | d->DebugMessageInsertAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLsizei , const GLchar *)>(context->getProcAddress(procName: "glDebugMessageInsertAMD" )); |
138 | d->DebugMessageEnableAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , const GLuint *, GLboolean )>(context->getProcAddress(procName: "glDebugMessageEnableAMD" )); |
139 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
140 | return true; |
141 | } |
142 | |
143 | QOpenGLExtension_AMD_draw_buffers_blend::QOpenGLExtension_AMD_draw_buffers_blend() |
144 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_draw_buffers_blendPrivate)) |
145 | { |
146 | } |
147 | |
148 | bool QOpenGLExtension_AMD_draw_buffers_blend::initializeOpenGLFunctions() |
149 | { |
150 | if (isInitialized()) |
151 | return true; |
152 | |
153 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
154 | if (!context) { |
155 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
156 | return false; |
157 | } |
158 | |
159 | // Resolve the functions |
160 | Q_D(QOpenGLExtension_AMD_draw_buffers_blend); |
161 | |
162 | d->BlendEquationSeparateIndexedAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendEquationSeparateIndexedAMD" )); |
163 | d->BlendEquationIndexedAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glBlendEquationIndexedAMD" )); |
164 | d->BlendFuncSeparateIndexedAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendFuncSeparateIndexedAMD" )); |
165 | d->BlendFuncIndexedAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendFuncIndexedAMD" )); |
166 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
167 | return true; |
168 | } |
169 | |
170 | QOpenGLExtension_AMD_multi_draw_indirect::QOpenGLExtension_AMD_multi_draw_indirect() |
171 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_multi_draw_indirectPrivate)) |
172 | { |
173 | } |
174 | |
175 | bool QOpenGLExtension_AMD_multi_draw_indirect::initializeOpenGLFunctions() |
176 | { |
177 | if (isInitialized()) |
178 | return true; |
179 | |
180 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
181 | if (!context) { |
182 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
183 | return false; |
184 | } |
185 | |
186 | // Resolve the functions |
187 | Q_D(QOpenGLExtension_AMD_multi_draw_indirect); |
188 | |
189 | d->MultiDrawElementsIndirectAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLvoid *, GLsizei , GLsizei )>(context->getProcAddress(procName: "glMultiDrawElementsIndirectAMD" )); |
190 | d->MultiDrawArraysIndirectAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLvoid *, GLsizei , GLsizei )>(context->getProcAddress(procName: "glMultiDrawArraysIndirectAMD" )); |
191 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
192 | return true; |
193 | } |
194 | |
195 | QOpenGLExtension_AMD_name_gen_delete::QOpenGLExtension_AMD_name_gen_delete() |
196 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_name_gen_deletePrivate)) |
197 | { |
198 | } |
199 | |
200 | bool QOpenGLExtension_AMD_name_gen_delete::initializeOpenGLFunctions() |
201 | { |
202 | if (isInitialized()) |
203 | return true; |
204 | |
205 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
206 | if (!context) { |
207 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
208 | return false; |
209 | } |
210 | |
211 | // Resolve the functions |
212 | Q_D(QOpenGLExtension_AMD_name_gen_delete); |
213 | |
214 | d->IsNameAMD = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glIsNameAMD" )); |
215 | d->DeleteNamesAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLuint *)>(context->getProcAddress(procName: "glDeleteNamesAMD" )); |
216 | d->GenNamesAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint *)>(context->getProcAddress(procName: "glGenNamesAMD" )); |
217 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
218 | return true; |
219 | } |
220 | |
221 | QOpenGLExtension_AMD_performance_monitor::QOpenGLExtension_AMD_performance_monitor() |
222 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_performance_monitorPrivate)) |
223 | { |
224 | } |
225 | |
226 | bool QOpenGLExtension_AMD_performance_monitor::initializeOpenGLFunctions() |
227 | { |
228 | if (isInitialized()) |
229 | return true; |
230 | |
231 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
232 | if (!context) { |
233 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
234 | return false; |
235 | } |
236 | |
237 | // Resolve the functions |
238 | Q_D(QOpenGLExtension_AMD_performance_monitor); |
239 | |
240 | d->GetPerfMonitorCounterDataAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLuint *, GLint *)>(context->getProcAddress(procName: "glGetPerfMonitorCounterDataAMD" )); |
241 | d->EndPerfMonitorAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glEndPerfMonitorAMD" )); |
242 | d->BeginPerfMonitorAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBeginPerfMonitorAMD" )); |
243 | d->SelectPerfMonitorCountersAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLboolean , GLuint , GLint , GLuint *)>(context->getProcAddress(procName: "glSelectPerfMonitorCountersAMD" )); |
244 | d->DeletePerfMonitorsAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glDeletePerfMonitorsAMD" )); |
245 | d->GenPerfMonitorsAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenPerfMonitorsAMD" )); |
246 | d->GetPerfMonitorCounterInfoAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetPerfMonitorCounterInfoAMD" )); |
247 | d->GetPerfMonitorCounterStringAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetPerfMonitorCounterStringAMD" )); |
248 | d->GetPerfMonitorGroupStringAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetPerfMonitorGroupStringAMD" )); |
249 | d->GetPerfMonitorCountersAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint *, GLint *, GLsizei , GLuint *)>(context->getProcAddress(procName: "glGetPerfMonitorCountersAMD" )); |
250 | d->GetPerfMonitorGroupsAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint *, GLsizei , GLuint *)>(context->getProcAddress(procName: "glGetPerfMonitorGroupsAMD" )); |
251 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
252 | return true; |
253 | } |
254 | |
255 | QOpenGLExtension_AMD_sample_positions::QOpenGLExtension_AMD_sample_positions() |
256 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_sample_positionsPrivate)) |
257 | { |
258 | } |
259 | |
260 | bool QOpenGLExtension_AMD_sample_positions::initializeOpenGLFunctions() |
261 | { |
262 | if (isInitialized()) |
263 | return true; |
264 | |
265 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
266 | if (!context) { |
267 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
268 | return false; |
269 | } |
270 | |
271 | // Resolve the functions |
272 | Q_D(QOpenGLExtension_AMD_sample_positions); |
273 | |
274 | d->SetMultisamplefvAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLfloat *)>(context->getProcAddress(procName: "glSetMultisamplefvAMD" )); |
275 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
276 | return true; |
277 | } |
278 | |
279 | QOpenGLExtension_AMD_sparse_texture::QOpenGLExtension_AMD_sparse_texture() |
280 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_sparse_texturePrivate)) |
281 | { |
282 | } |
283 | |
284 | bool QOpenGLExtension_AMD_sparse_texture::initializeOpenGLFunctions() |
285 | { |
286 | if (isInitialized()) |
287 | return true; |
288 | |
289 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
290 | if (!context) { |
291 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
292 | return false; |
293 | } |
294 | |
295 | // Resolve the functions |
296 | Q_D(QOpenGLExtension_AMD_sparse_texture); |
297 | |
298 | d->TexStorageSparseAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLsizei , GLsizei , GLsizei , GLbitfield )>(context->getProcAddress(procName: "glTexStorageSparseAMD" )); |
299 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
300 | return true; |
301 | } |
302 | |
303 | QOpenGLExtension_AMD_stencil_operation_extended::QOpenGLExtension_AMD_stencil_operation_extended() |
304 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_stencil_operation_extendedPrivate)) |
305 | { |
306 | } |
307 | |
308 | bool QOpenGLExtension_AMD_stencil_operation_extended::initializeOpenGLFunctions() |
309 | { |
310 | if (isInitialized()) |
311 | return true; |
312 | |
313 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
314 | if (!context) { |
315 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
316 | return false; |
317 | } |
318 | |
319 | // Resolve the functions |
320 | Q_D(QOpenGLExtension_AMD_stencil_operation_extended); |
321 | |
322 | d->StencilOpValueAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glStencilOpValueAMD" )); |
323 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
324 | return true; |
325 | } |
326 | |
327 | QOpenGLExtension_AMD_vertex_shader_tesselator::QOpenGLExtension_AMD_vertex_shader_tesselator() |
328 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_vertex_shader_tesselatorPrivate)) |
329 | { |
330 | } |
331 | |
332 | bool QOpenGLExtension_AMD_vertex_shader_tesselator::initializeOpenGLFunctions() |
333 | { |
334 | if (isInitialized()) |
335 | return true; |
336 | |
337 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
338 | if (!context) { |
339 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
340 | return false; |
341 | } |
342 | |
343 | // Resolve the functions |
344 | Q_D(QOpenGLExtension_AMD_vertex_shader_tesselator); |
345 | |
346 | d->TessellationModeAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glTessellationModeAMD" )); |
347 | d->TessellationFactorAMD = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat )>(context->getProcAddress(procName: "glTessellationFactorAMD" )); |
348 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
349 | return true; |
350 | } |
351 | |
352 | QOpenGLExtension_APPLE_element_array::QOpenGLExtension_APPLE_element_array() |
353 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_element_arrayPrivate)) |
354 | { |
355 | } |
356 | |
357 | bool QOpenGLExtension_APPLE_element_array::initializeOpenGLFunctions() |
358 | { |
359 | if (isInitialized()) |
360 | return true; |
361 | |
362 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
363 | if (!context) { |
364 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
365 | return false; |
366 | } |
367 | |
368 | // Resolve the functions |
369 | Q_D(QOpenGLExtension_APPLE_element_array); |
370 | |
371 | d->MultiDrawRangeElementArrayAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , const GLint *, const GLsizei *, GLsizei )>(context->getProcAddress(procName: "glMultiDrawRangeElementArrayAPPLE" )); |
372 | d->MultiDrawElementArrayAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *, const GLsizei *, GLsizei )>(context->getProcAddress(procName: "glMultiDrawElementArrayAPPLE" )); |
373 | d->DrawRangeElementArrayAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLint , GLsizei )>(context->getProcAddress(procName: "glDrawRangeElementArrayAPPLE" )); |
374 | d->DrawElementArrayAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei )>(context->getProcAddress(procName: "glDrawElementArrayAPPLE" )); |
375 | d->ElementPointerAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLvoid *)>(context->getProcAddress(procName: "glElementPointerAPPLE" )); |
376 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
377 | return true; |
378 | } |
379 | |
380 | QOpenGLExtension_APPLE_fence::QOpenGLExtension_APPLE_fence() |
381 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_fencePrivate)) |
382 | { |
383 | } |
384 | |
385 | bool QOpenGLExtension_APPLE_fence::initializeOpenGLFunctions() |
386 | { |
387 | if (isInitialized()) |
388 | return true; |
389 | |
390 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
391 | if (!context) { |
392 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
393 | return false; |
394 | } |
395 | |
396 | // Resolve the functions |
397 | Q_D(QOpenGLExtension_APPLE_fence); |
398 | |
399 | d->FinishObjectAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glFinishObjectAPPLE" )); |
400 | d->TestObjectAPPLE = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glTestObjectAPPLE" )); |
401 | d->FinishFenceAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glFinishFenceAPPLE" )); |
402 | d->TestFenceAPPLE = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glTestFenceAPPLE" )); |
403 | d->IsFenceAPPLE = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsFenceAPPLE" )); |
404 | d->SetFenceAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glSetFenceAPPLE" )); |
405 | d->DeleteFencesAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteFencesAPPLE" )); |
406 | d->GenFencesAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenFencesAPPLE" )); |
407 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
408 | return true; |
409 | } |
410 | |
411 | QOpenGLExtension_APPLE_flush_buffer_range::QOpenGLExtension_APPLE_flush_buffer_range() |
412 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_flush_buffer_rangePrivate)) |
413 | { |
414 | } |
415 | |
416 | bool QOpenGLExtension_APPLE_flush_buffer_range::initializeOpenGLFunctions() |
417 | { |
418 | if (isInitialized()) |
419 | return true; |
420 | |
421 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
422 | if (!context) { |
423 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
424 | return false; |
425 | } |
426 | |
427 | // Resolve the functions |
428 | Q_D(QOpenGLExtension_APPLE_flush_buffer_range); |
429 | |
430 | d->FlushMappedBufferRangeAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glFlushMappedBufferRangeAPPLE" )); |
431 | d->BufferParameteriAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glBufferParameteriAPPLE" )); |
432 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
433 | return true; |
434 | } |
435 | |
436 | QOpenGLExtension_APPLE_object_purgeable::QOpenGLExtension_APPLE_object_purgeable() |
437 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_object_purgeablePrivate)) |
438 | { |
439 | } |
440 | |
441 | bool QOpenGLExtension_APPLE_object_purgeable::initializeOpenGLFunctions() |
442 | { |
443 | if (isInitialized()) |
444 | return true; |
445 | |
446 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
447 | if (!context) { |
448 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
449 | return false; |
450 | } |
451 | |
452 | // Resolve the functions |
453 | Q_D(QOpenGLExtension_APPLE_object_purgeable); |
454 | |
455 | d->GetObjectParameterivAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetObjectParameterivAPPLE" )); |
456 | d->ObjectUnpurgeableAPPLE = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum )>(context->getProcAddress(procName: "glObjectUnpurgeableAPPLE" )); |
457 | d->ObjectPurgeableAPPLE = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum )>(context->getProcAddress(procName: "glObjectPurgeableAPPLE" )); |
458 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
459 | return true; |
460 | } |
461 | |
462 | QOpenGLExtension_APPLE_texture_range::QOpenGLExtension_APPLE_texture_range() |
463 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_texture_rangePrivate)) |
464 | { |
465 | } |
466 | |
467 | bool QOpenGLExtension_APPLE_texture_range::initializeOpenGLFunctions() |
468 | { |
469 | if (isInitialized()) |
470 | return true; |
471 | |
472 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
473 | if (!context) { |
474 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
475 | return false; |
476 | } |
477 | |
478 | // Resolve the functions |
479 | Q_D(QOpenGLExtension_APPLE_texture_range); |
480 | |
481 | d->GetTexParameterPointervAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetTexParameterPointervAPPLE" )); |
482 | d->TextureRangeAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glTextureRangeAPPLE" )); |
483 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
484 | return true; |
485 | } |
486 | |
487 | QOpenGLExtension_APPLE_vertex_array_object::QOpenGLExtension_APPLE_vertex_array_object() |
488 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_vertex_array_objectPrivate)) |
489 | { |
490 | } |
491 | |
492 | bool QOpenGLExtension_APPLE_vertex_array_object::initializeOpenGLFunctions() |
493 | { |
494 | if (isInitialized()) |
495 | return true; |
496 | |
497 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
498 | if (!context) { |
499 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
500 | return false; |
501 | } |
502 | |
503 | // Resolve the functions |
504 | Q_D(QOpenGLExtension_APPLE_vertex_array_object); |
505 | |
506 | d->IsVertexArrayAPPLE = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsVertexArrayAPPLE" )); |
507 | d->GenVertexArraysAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenVertexArraysAPPLE" )); |
508 | d->DeleteVertexArraysAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteVertexArraysAPPLE" )); |
509 | d->BindVertexArrayAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBindVertexArrayAPPLE" )); |
510 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
511 | return true; |
512 | } |
513 | |
514 | QOpenGLExtension_APPLE_vertex_array_range::QOpenGLExtension_APPLE_vertex_array_range() |
515 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_vertex_array_rangePrivate)) |
516 | { |
517 | } |
518 | |
519 | bool QOpenGLExtension_APPLE_vertex_array_range::initializeOpenGLFunctions() |
520 | { |
521 | if (isInitialized()) |
522 | return true; |
523 | |
524 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
525 | if (!context) { |
526 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
527 | return false; |
528 | } |
529 | |
530 | // Resolve the functions |
531 | Q_D(QOpenGLExtension_APPLE_vertex_array_range); |
532 | |
533 | d->VertexArrayParameteriAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glVertexArrayParameteriAPPLE" )); |
534 | d->FlushVertexArrayRangeAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLvoid *)>(context->getProcAddress(procName: "glFlushVertexArrayRangeAPPLE" )); |
535 | d->VertexArrayRangeAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLvoid *)>(context->getProcAddress(procName: "glVertexArrayRangeAPPLE" )); |
536 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
537 | return true; |
538 | } |
539 | |
540 | QOpenGLExtension_APPLE_vertex_program_evaluators::QOpenGLExtension_APPLE_vertex_program_evaluators() |
541 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_vertex_program_evaluatorsPrivate)) |
542 | { |
543 | } |
544 | |
545 | bool QOpenGLExtension_APPLE_vertex_program_evaluators::initializeOpenGLFunctions() |
546 | { |
547 | if (isInitialized()) |
548 | return true; |
549 | |
550 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
551 | if (!context) { |
552 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
553 | return false; |
554 | } |
555 | |
556 | // Resolve the functions |
557 | Q_D(QOpenGLExtension_APPLE_vertex_program_evaluators); |
558 | |
559 | d->MapVertexAttrib2fAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLfloat , GLfloat , GLint , GLint , GLfloat , GLfloat , GLint , GLint , const GLfloat *)>(context->getProcAddress(procName: "glMapVertexAttrib2fAPPLE" )); |
560 | d->MapVertexAttrib2dAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLdouble , GLdouble , GLint , GLint , GLdouble , GLdouble , GLint , GLint , const GLdouble *)>(context->getProcAddress(procName: "glMapVertexAttrib2dAPPLE" )); |
561 | d->MapVertexAttrib1fAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLfloat , GLfloat , GLint , GLint , const GLfloat *)>(context->getProcAddress(procName: "glMapVertexAttrib1fAPPLE" )); |
562 | d->MapVertexAttrib1dAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLdouble , GLdouble , GLint , GLint , const GLdouble *)>(context->getProcAddress(procName: "glMapVertexAttrib1dAPPLE" )); |
563 | d->IsVertexAttribEnabledAPPLE = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glIsVertexAttribEnabledAPPLE" )); |
564 | d->DisableVertexAttribAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glDisableVertexAttribAPPLE" )); |
565 | d->EnableVertexAttribAPPLE = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glEnableVertexAttribAPPLE" )); |
566 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
567 | return true; |
568 | } |
569 | |
570 | QOpenGLExtension_ARB_ES2_compatibility::QOpenGLExtension_ARB_ES2_compatibility() |
571 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_ES2_compatibilityPrivate)) |
572 | { |
573 | } |
574 | |
575 | bool QOpenGLExtension_ARB_ES2_compatibility::initializeOpenGLFunctions() |
576 | { |
577 | if (isInitialized()) |
578 | return true; |
579 | |
580 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
581 | if (!context) { |
582 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
583 | return false; |
584 | } |
585 | |
586 | // Resolve the functions |
587 | Q_D(QOpenGLExtension_ARB_ES2_compatibility); |
588 | |
589 | d->ClearDepthf = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat )>(context->getProcAddress(procName: "glClearDepthf" )); |
590 | d->DepthRangef = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat )>(context->getProcAddress(procName: "glDepthRangef" )); |
591 | d->GetShaderPrecisionFormat = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *, GLint *)>(context->getProcAddress(procName: "glGetShaderPrecisionFormat" )); |
592 | d->ShaderBinary = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *, GLenum , const GLvoid *, GLsizei )>(context->getProcAddress(procName: "glShaderBinary" )); |
593 | d->ReleaseShaderCompiler = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glReleaseShaderCompiler" )); |
594 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
595 | return true; |
596 | } |
597 | |
598 | QOpenGLExtension_ARB_base_instance::QOpenGLExtension_ARB_base_instance() |
599 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_base_instancePrivate)) |
600 | { |
601 | } |
602 | |
603 | bool QOpenGLExtension_ARB_base_instance::initializeOpenGLFunctions() |
604 | { |
605 | if (isInitialized()) |
606 | return true; |
607 | |
608 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
609 | if (!context) { |
610 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
611 | return false; |
612 | } |
613 | |
614 | // Resolve the functions |
615 | Q_D(QOpenGLExtension_ARB_base_instance); |
616 | |
617 | d->DrawElementsInstancedBaseVertexBaseInstance = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const void *, GLsizei , GLint , GLuint )>(context->getProcAddress(procName: "glDrawElementsInstancedBaseVertexBaseInstance" )); |
618 | d->DrawElementsInstancedBaseInstance = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const void *, GLsizei , GLuint )>(context->getProcAddress(procName: "glDrawElementsInstancedBaseInstance" )); |
619 | d->DrawArraysInstancedBaseInstance = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei , GLsizei , GLuint )>(context->getProcAddress(procName: "glDrawArraysInstancedBaseInstance" )); |
620 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
621 | return true; |
622 | } |
623 | |
624 | QOpenGLExtension_ARB_blend_func_extended::QOpenGLExtension_ARB_blend_func_extended() |
625 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_blend_func_extendedPrivate)) |
626 | { |
627 | } |
628 | |
629 | bool QOpenGLExtension_ARB_blend_func_extended::initializeOpenGLFunctions() |
630 | { |
631 | if (isInitialized()) |
632 | return true; |
633 | |
634 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
635 | if (!context) { |
636 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
637 | return false; |
638 | } |
639 | |
640 | // Resolve the functions |
641 | Q_D(QOpenGLExtension_ARB_blend_func_extended); |
642 | |
643 | d->GetFragDataIndex = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , const GLchar *)>(context->getProcAddress(procName: "glGetFragDataIndex" )); |
644 | d->BindFragDataLocationIndexed = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , const GLchar *)>(context->getProcAddress(procName: "glBindFragDataLocationIndexed" )); |
645 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
646 | return true; |
647 | } |
648 | |
649 | QOpenGLExtension_ARB_cl_event::QOpenGLExtension_ARB_cl_event() |
650 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_cl_eventPrivate)) |
651 | { |
652 | } |
653 | |
654 | bool QOpenGLExtension_ARB_cl_event::initializeOpenGLFunctions() |
655 | { |
656 | if (isInitialized()) |
657 | return true; |
658 | |
659 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
660 | if (!context) { |
661 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
662 | return false; |
663 | } |
664 | |
665 | // Resolve the functions |
666 | Q_D(QOpenGLExtension_ARB_cl_event); |
667 | |
668 | d->CreateSyncFromCLeventARB = reinterpret_cast<GLsync (QOPENGLF_APIENTRYP)(struct _cl_context * , struct _cl_event * , GLbitfield )>(context->getProcAddress(procName: "glCreateSyncFromCLeventARB" )); |
669 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
670 | return true; |
671 | } |
672 | |
673 | QOpenGLExtension_ARB_clear_buffer_object::QOpenGLExtension_ARB_clear_buffer_object() |
674 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_clear_buffer_objectPrivate)) |
675 | { |
676 | } |
677 | |
678 | bool QOpenGLExtension_ARB_clear_buffer_object::initializeOpenGLFunctions() |
679 | { |
680 | if (isInitialized()) |
681 | return true; |
682 | |
683 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
684 | if (!context) { |
685 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
686 | return false; |
687 | } |
688 | |
689 | // Resolve the functions |
690 | Q_D(QOpenGLExtension_ARB_clear_buffer_object); |
691 | |
692 | d->ClearBufferSubData = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLintptr , GLsizeiptr , GLenum , GLenum , const void *)>(context->getProcAddress(procName: "glClearBufferSubData" )); |
693 | d->ClearBufferData = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum , const void *)>(context->getProcAddress(procName: "glClearBufferData" )); |
694 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
695 | return true; |
696 | } |
697 | |
698 | QOpenGLExtension_ARB_color_buffer_float::QOpenGLExtension_ARB_color_buffer_float() |
699 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_color_buffer_floatPrivate)) |
700 | { |
701 | } |
702 | |
703 | bool QOpenGLExtension_ARB_color_buffer_float::initializeOpenGLFunctions() |
704 | { |
705 | if (isInitialized()) |
706 | return true; |
707 | |
708 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
709 | if (!context) { |
710 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
711 | return false; |
712 | } |
713 | |
714 | // Resolve the functions |
715 | Q_D(QOpenGLExtension_ARB_color_buffer_float); |
716 | |
717 | d->ClampColorARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glClampColorARB" )); |
718 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
719 | return true; |
720 | } |
721 | |
722 | QOpenGLExtension_ARB_compute_shader::QOpenGLExtension_ARB_compute_shader() |
723 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_compute_shaderPrivate)) |
724 | { |
725 | } |
726 | |
727 | bool QOpenGLExtension_ARB_compute_shader::initializeOpenGLFunctions() |
728 | { |
729 | if (isInitialized()) |
730 | return true; |
731 | |
732 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
733 | if (!context) { |
734 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
735 | return false; |
736 | } |
737 | |
738 | // Resolve the functions |
739 | Q_D(QOpenGLExtension_ARB_compute_shader); |
740 | |
741 | d->DispatchComputeIndirect = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLintptr )>(context->getProcAddress(procName: "glDispatchComputeIndirect" )); |
742 | d->DispatchCompute = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glDispatchCompute" )); |
743 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
744 | return true; |
745 | } |
746 | |
747 | QOpenGLExtension_ARB_copy_buffer::QOpenGLExtension_ARB_copy_buffer() |
748 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_copy_bufferPrivate)) |
749 | { |
750 | } |
751 | |
752 | bool QOpenGLExtension_ARB_copy_buffer::initializeOpenGLFunctions() |
753 | { |
754 | if (isInitialized()) |
755 | return true; |
756 | |
757 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
758 | if (!context) { |
759 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
760 | return false; |
761 | } |
762 | |
763 | // Resolve the functions |
764 | Q_D(QOpenGLExtension_ARB_copy_buffer); |
765 | |
766 | d->CopyBufferSubData = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLintptr , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glCopyBufferSubData" )); |
767 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
768 | return true; |
769 | } |
770 | |
771 | QOpenGLExtension_ARB_copy_image::QOpenGLExtension_ARB_copy_image() |
772 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_copy_imagePrivate)) |
773 | { |
774 | } |
775 | |
776 | bool QOpenGLExtension_ARB_copy_image::initializeOpenGLFunctions() |
777 | { |
778 | if (isInitialized()) |
779 | return true; |
780 | |
781 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
782 | if (!context) { |
783 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
784 | return false; |
785 | } |
786 | |
787 | // Resolve the functions |
788 | Q_D(QOpenGLExtension_ARB_copy_image); |
789 | |
790 | d->CopyImageSubData = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLuint , GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyImageSubData" )); |
791 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
792 | return true; |
793 | } |
794 | |
795 | QOpenGLExtension_ARB_debug_output::QOpenGLExtension_ARB_debug_output() |
796 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_debug_outputPrivate)) |
797 | { |
798 | } |
799 | |
800 | bool QOpenGLExtension_ARB_debug_output::initializeOpenGLFunctions() |
801 | { |
802 | if (isInitialized()) |
803 | return true; |
804 | |
805 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
806 | if (!context) { |
807 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
808 | return false; |
809 | } |
810 | |
811 | // Resolve the functions |
812 | Q_D(QOpenGLExtension_ARB_debug_output); |
813 | |
814 | d->GetDebugMessageLogARB = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLenum *, GLenum *, GLuint *, GLenum *, GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetDebugMessageLogARB" )); |
815 | d->DebugMessageCallbackARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLDEBUGPROCARB , const GLvoid *)>(context->getProcAddress(procName: "glDebugMessageCallbackARB" )); |
816 | d->DebugMessageInsertARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLenum , GLsizei , const GLchar *)>(context->getProcAddress(procName: "glDebugMessageInsertARB" )); |
817 | d->DebugMessageControlARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , const GLuint *, GLboolean )>(context->getProcAddress(procName: "glDebugMessageControlARB" )); |
818 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
819 | return true; |
820 | } |
821 | |
822 | QOpenGLExtension_ARB_draw_buffers::QOpenGLExtension_ARB_draw_buffers() |
823 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_draw_buffersPrivate)) |
824 | { |
825 | } |
826 | |
827 | bool QOpenGLExtension_ARB_draw_buffers::initializeOpenGLFunctions() |
828 | { |
829 | if (isInitialized()) |
830 | return true; |
831 | |
832 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
833 | if (!context) { |
834 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
835 | return false; |
836 | } |
837 | |
838 | // Resolve the functions |
839 | Q_D(QOpenGLExtension_ARB_draw_buffers); |
840 | |
841 | d->DrawBuffersARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLenum *)>(context->getProcAddress(procName: "glDrawBuffersARB" )); |
842 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
843 | return true; |
844 | } |
845 | |
846 | QOpenGLExtension_ARB_draw_buffers_blend::QOpenGLExtension_ARB_draw_buffers_blend() |
847 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_draw_buffers_blendPrivate)) |
848 | { |
849 | } |
850 | |
851 | bool QOpenGLExtension_ARB_draw_buffers_blend::initializeOpenGLFunctions() |
852 | { |
853 | if (isInitialized()) |
854 | return true; |
855 | |
856 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
857 | if (!context) { |
858 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
859 | return false; |
860 | } |
861 | |
862 | // Resolve the functions |
863 | Q_D(QOpenGLExtension_ARB_draw_buffers_blend); |
864 | |
865 | d->BlendFuncSeparateiARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendFuncSeparateiARB" )); |
866 | d->BlendFunciARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendFunciARB" )); |
867 | d->BlendEquationSeparateiARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendEquationSeparateiARB" )); |
868 | d->BlendEquationiARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glBlendEquationiARB" )); |
869 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
870 | return true; |
871 | } |
872 | |
873 | QOpenGLExtension_ARB_draw_elements_base_vertex::QOpenGLExtension_ARB_draw_elements_base_vertex() |
874 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_draw_elements_base_vertexPrivate)) |
875 | { |
876 | } |
877 | |
878 | bool QOpenGLExtension_ARB_draw_elements_base_vertex::initializeOpenGLFunctions() |
879 | { |
880 | if (isInitialized()) |
881 | return true; |
882 | |
883 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
884 | if (!context) { |
885 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
886 | return false; |
887 | } |
888 | |
889 | // Resolve the functions |
890 | Q_D(QOpenGLExtension_ARB_draw_elements_base_vertex); |
891 | |
892 | d->MultiDrawElementsBaseVertex = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLsizei *, GLenum , const GLvoid* const *, GLsizei , const GLint *)>(context->getProcAddress(procName: "glMultiDrawElementsBaseVertex" )); |
893 | d->DrawElementsInstancedBaseVertex = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const GLvoid *, GLsizei , GLint )>(context->getProcAddress(procName: "glDrawElementsInstancedBaseVertex" )); |
894 | d->DrawRangeElementsBaseVertex = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei , GLenum , const GLvoid *, GLint )>(context->getProcAddress(procName: "glDrawRangeElementsBaseVertex" )); |
895 | d->DrawElementsBaseVertex = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const GLvoid *, GLint )>(context->getProcAddress(procName: "glDrawElementsBaseVertex" )); |
896 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
897 | return true; |
898 | } |
899 | |
900 | QOpenGLExtension_ARB_draw_indirect::QOpenGLExtension_ARB_draw_indirect() |
901 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_draw_indirectPrivate)) |
902 | { |
903 | } |
904 | |
905 | bool QOpenGLExtension_ARB_draw_indirect::initializeOpenGLFunctions() |
906 | { |
907 | if (isInitialized()) |
908 | return true; |
909 | |
910 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
911 | if (!context) { |
912 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
913 | return false; |
914 | } |
915 | |
916 | // Resolve the functions |
917 | Q_D(QOpenGLExtension_ARB_draw_indirect); |
918 | |
919 | d->DrawElementsIndirect = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glDrawElementsIndirect" )); |
920 | d->DrawArraysIndirect = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLvoid *)>(context->getProcAddress(procName: "glDrawArraysIndirect" )); |
921 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
922 | return true; |
923 | } |
924 | |
925 | QOpenGLExtension_ARB_draw_instanced::QOpenGLExtension_ARB_draw_instanced() |
926 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_draw_instancedPrivate)) |
927 | { |
928 | } |
929 | |
930 | bool QOpenGLExtension_ARB_draw_instanced::initializeOpenGLFunctions() |
931 | { |
932 | if (isInitialized()) |
933 | return true; |
934 | |
935 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
936 | if (!context) { |
937 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
938 | return false; |
939 | } |
940 | |
941 | // Resolve the functions |
942 | Q_D(QOpenGLExtension_ARB_draw_instanced); |
943 | |
944 | d->DrawElementsInstancedARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const GLvoid *, GLsizei )>(context->getProcAddress(procName: "glDrawElementsInstancedARB" )); |
945 | d->DrawArraysInstancedARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glDrawArraysInstancedARB" )); |
946 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
947 | return true; |
948 | } |
949 | |
950 | QOpenGLExtension_ARB_framebuffer_no_attachments::QOpenGLExtension_ARB_framebuffer_no_attachments() |
951 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_framebuffer_no_attachmentsPrivate)) |
952 | { |
953 | } |
954 | |
955 | bool QOpenGLExtension_ARB_framebuffer_no_attachments::initializeOpenGLFunctions() |
956 | { |
957 | if (isInitialized()) |
958 | return true; |
959 | |
960 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
961 | if (!context) { |
962 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
963 | return false; |
964 | } |
965 | |
966 | // Resolve the functions |
967 | Q_D(QOpenGLExtension_ARB_framebuffer_no_attachments); |
968 | |
969 | d->GetFramebufferParameteriv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFramebufferParameteriv" )); |
970 | d->FramebufferParameteri = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glFramebufferParameteri" )); |
971 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
972 | return true; |
973 | } |
974 | |
975 | QOpenGLExtension_ARB_framebuffer_object::QOpenGLExtension_ARB_framebuffer_object() |
976 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_framebuffer_objectPrivate)) |
977 | { |
978 | } |
979 | |
980 | bool QOpenGLExtension_ARB_framebuffer_object::initializeOpenGLFunctions() |
981 | { |
982 | if (isInitialized()) |
983 | return true; |
984 | |
985 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
986 | if (!context) { |
987 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
988 | return false; |
989 | } |
990 | |
991 | // Resolve the functions |
992 | Q_D(QOpenGLExtension_ARB_framebuffer_object); |
993 | |
994 | d->FramebufferTextureLayer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glFramebufferTextureLayer" )); |
995 | d->RenderbufferStorageMultisample = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glRenderbufferStorageMultisample" )); |
996 | d->BlitFramebuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint , GLint , GLint , GLint , GLint , GLint , GLbitfield , GLenum )>(context->getProcAddress(procName: "glBlitFramebuffer" )); |
997 | d->GenerateMipmap = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glGenerateMipmap" )); |
998 | d->GetFramebufferAttachmentParameteriv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFramebufferAttachmentParameteriv" )); |
999 | d->FramebufferRenderbuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glFramebufferRenderbuffer" )); |
1000 | d->FramebufferTexture3D = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glFramebufferTexture3D" )); |
1001 | d->FramebufferTexture2D = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glFramebufferTexture2D" )); |
1002 | d->FramebufferTexture1D = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glFramebufferTexture1D" )); |
1003 | d->CheckFramebufferStatus = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glCheckFramebufferStatus" )); |
1004 | d->GenFramebuffers = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenFramebuffers" )); |
1005 | d->DeleteFramebuffers = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteFramebuffers" )); |
1006 | d->BindFramebuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindFramebuffer" )); |
1007 | d->IsFramebuffer = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsFramebuffer" )); |
1008 | d->GetRenderbufferParameteriv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetRenderbufferParameteriv" )); |
1009 | d->RenderbufferStorage = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glRenderbufferStorage" )); |
1010 | d->GenRenderbuffers = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenRenderbuffers" )); |
1011 | d->DeleteRenderbuffers = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteRenderbuffers" )); |
1012 | d->BindRenderbuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindRenderbuffer" )); |
1013 | d->IsRenderbuffer = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsRenderbuffer" )); |
1014 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1015 | return true; |
1016 | } |
1017 | |
1018 | QOpenGLExtension_ARB_geometry_shader4::QOpenGLExtension_ARB_geometry_shader4() |
1019 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_geometry_shader4Private)) |
1020 | { |
1021 | } |
1022 | |
1023 | bool QOpenGLExtension_ARB_geometry_shader4::initializeOpenGLFunctions() |
1024 | { |
1025 | if (isInitialized()) |
1026 | return true; |
1027 | |
1028 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1029 | if (!context) { |
1030 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1031 | return false; |
1032 | } |
1033 | |
1034 | // Resolve the functions |
1035 | Q_D(QOpenGLExtension_ARB_geometry_shader4); |
1036 | |
1037 | d->FramebufferTextureFaceARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint , GLenum )>(context->getProcAddress(procName: "glFramebufferTextureFaceARB" )); |
1038 | d->FramebufferTextureLayerARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glFramebufferTextureLayerARB" )); |
1039 | d->FramebufferTextureARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glFramebufferTextureARB" )); |
1040 | d->ProgramParameteriARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glProgramParameteriARB" )); |
1041 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1042 | return true; |
1043 | } |
1044 | |
1045 | QOpenGLExtension_ARB_get_program_binary::QOpenGLExtension_ARB_get_program_binary() |
1046 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_get_program_binaryPrivate)) |
1047 | { |
1048 | } |
1049 | |
1050 | bool QOpenGLExtension_ARB_get_program_binary::initializeOpenGLFunctions() |
1051 | { |
1052 | if (isInitialized()) |
1053 | return true; |
1054 | |
1055 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1056 | if (!context) { |
1057 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1058 | return false; |
1059 | } |
1060 | |
1061 | // Resolve the functions |
1062 | Q_D(QOpenGLExtension_ARB_get_program_binary); |
1063 | |
1064 | d->ProgramParameteri = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glProgramParameteri" )); |
1065 | d->ProgramBinary = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLvoid *, GLsizei )>(context->getProcAddress(procName: "glProgramBinary" )); |
1066 | d->GetProgramBinary = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei *, GLenum *, GLvoid *)>(context->getProcAddress(procName: "glGetProgramBinary" )); |
1067 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1068 | return true; |
1069 | } |
1070 | |
1071 | QOpenGLExtension_ARB_gpu_shader_fp64::QOpenGLExtension_ARB_gpu_shader_fp64() |
1072 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_gpu_shader_fp64Private)) |
1073 | { |
1074 | } |
1075 | |
1076 | bool QOpenGLExtension_ARB_gpu_shader_fp64::initializeOpenGLFunctions() |
1077 | { |
1078 | if (isInitialized()) |
1079 | return true; |
1080 | |
1081 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1082 | if (!context) { |
1083 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1084 | return false; |
1085 | } |
1086 | |
1087 | // Resolve the functions |
1088 | Q_D(QOpenGLExtension_ARB_gpu_shader_fp64); |
1089 | |
1090 | d->GetUniformdv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble *)>(context->getProcAddress(procName: "glGetUniformdv" )); |
1091 | d->UniformMatrix4x3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix4x3dv" )); |
1092 | d->UniformMatrix4x2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix4x2dv" )); |
1093 | d->UniformMatrix3x4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix3x4dv" )); |
1094 | d->UniformMatrix3x2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix3x2dv" )); |
1095 | d->UniformMatrix2x4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix2x4dv" )); |
1096 | d->UniformMatrix2x3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix2x3dv" )); |
1097 | d->UniformMatrix4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix4dv" )); |
1098 | d->UniformMatrix3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix3dv" )); |
1099 | d->UniformMatrix2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glUniformMatrix2dv" )); |
1100 | d->Uniform4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glUniform4dv" )); |
1101 | d->Uniform3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glUniform3dv" )); |
1102 | d->Uniform2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glUniform2dv" )); |
1103 | d->Uniform1dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glUniform1dv" )); |
1104 | d->Uniform4d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glUniform4d" )); |
1105 | d->Uniform3d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glUniform3d" )); |
1106 | d->Uniform2d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glUniform2d" )); |
1107 | d->Uniform1d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLdouble )>(context->getProcAddress(procName: "glUniform1d" )); |
1108 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1109 | return true; |
1110 | } |
1111 | |
1112 | QOpenGLExtension_ARB_instanced_arrays::QOpenGLExtension_ARB_instanced_arrays() |
1113 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_instanced_arraysPrivate)) |
1114 | { |
1115 | } |
1116 | |
1117 | bool QOpenGLExtension_ARB_instanced_arrays::initializeOpenGLFunctions() |
1118 | { |
1119 | if (isInitialized()) |
1120 | return true; |
1121 | |
1122 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1123 | if (!context) { |
1124 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1125 | return false; |
1126 | } |
1127 | |
1128 | // Resolve the functions |
1129 | Q_D(QOpenGLExtension_ARB_instanced_arrays); |
1130 | |
1131 | d->VertexAttribDivisorARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribDivisorARB" )); |
1132 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1133 | return true; |
1134 | } |
1135 | |
1136 | QOpenGLExtension_ARB_internalformat_query::QOpenGLExtension_ARB_internalformat_query() |
1137 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_internalformat_queryPrivate)) |
1138 | { |
1139 | } |
1140 | |
1141 | bool QOpenGLExtension_ARB_internalformat_query::initializeOpenGLFunctions() |
1142 | { |
1143 | if (isInitialized()) |
1144 | return true; |
1145 | |
1146 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1147 | if (!context) { |
1148 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1149 | return false; |
1150 | } |
1151 | |
1152 | // Resolve the functions |
1153 | Q_D(QOpenGLExtension_ARB_internalformat_query); |
1154 | |
1155 | d->GetInternalformativ = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , GLint *)>(context->getProcAddress(procName: "glGetInternalformativ" )); |
1156 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1157 | return true; |
1158 | } |
1159 | |
1160 | QOpenGLExtension_ARB_internalformat_query2::QOpenGLExtension_ARB_internalformat_query2() |
1161 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_internalformat_query2Private)) |
1162 | { |
1163 | } |
1164 | |
1165 | bool QOpenGLExtension_ARB_internalformat_query2::initializeOpenGLFunctions() |
1166 | { |
1167 | if (isInitialized()) |
1168 | return true; |
1169 | |
1170 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1171 | if (!context) { |
1172 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1173 | return false; |
1174 | } |
1175 | |
1176 | // Resolve the functions |
1177 | Q_D(QOpenGLExtension_ARB_internalformat_query2); |
1178 | |
1179 | d->GetInternalformati64v = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , GLint64 *)>(context->getProcAddress(procName: "glGetInternalformati64v" )); |
1180 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1181 | return true; |
1182 | } |
1183 | |
1184 | QOpenGLExtension_ARB_invalidate_subdata::QOpenGLExtension_ARB_invalidate_subdata() |
1185 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_invalidate_subdataPrivate)) |
1186 | { |
1187 | } |
1188 | |
1189 | bool QOpenGLExtension_ARB_invalidate_subdata::initializeOpenGLFunctions() |
1190 | { |
1191 | if (isInitialized()) |
1192 | return true; |
1193 | |
1194 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1195 | if (!context) { |
1196 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1197 | return false; |
1198 | } |
1199 | |
1200 | // Resolve the functions |
1201 | Q_D(QOpenGLExtension_ARB_invalidate_subdata); |
1202 | |
1203 | d->InvalidateSubFramebuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLenum *, GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glInvalidateSubFramebuffer" )); |
1204 | d->InvalidateFramebuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLenum *)>(context->getProcAddress(procName: "glInvalidateFramebuffer" )); |
1205 | d->InvalidateBufferData = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glInvalidateBufferData" )); |
1206 | d->InvalidateBufferSubData = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glInvalidateBufferSubData" )); |
1207 | d->InvalidateTexImage = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint )>(context->getProcAddress(procName: "glInvalidateTexImage" )); |
1208 | d->InvalidateTexSubImage = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei )>(context->getProcAddress(procName: "glInvalidateTexSubImage" )); |
1209 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1210 | return true; |
1211 | } |
1212 | |
1213 | QOpenGLExtension_ARB_map_buffer_range::QOpenGLExtension_ARB_map_buffer_range() |
1214 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_map_buffer_rangePrivate)) |
1215 | { |
1216 | } |
1217 | |
1218 | bool QOpenGLExtension_ARB_map_buffer_range::initializeOpenGLFunctions() |
1219 | { |
1220 | if (isInitialized()) |
1221 | return true; |
1222 | |
1223 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1224 | if (!context) { |
1225 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1226 | return false; |
1227 | } |
1228 | |
1229 | // Resolve the functions |
1230 | Q_D(QOpenGLExtension_ARB_map_buffer_range); |
1231 | |
1232 | d->FlushMappedBufferRange = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glFlushMappedBufferRange" )); |
1233 | d->MapBufferRange = reinterpret_cast<GLvoid* (QOPENGLF_APIENTRYP)(GLenum , GLintptr , GLsizeiptr , GLbitfield )>(context->getProcAddress(procName: "glMapBufferRange" )); |
1234 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1235 | return true; |
1236 | } |
1237 | |
1238 | QOpenGLExtension_ARB_matrix_palette::QOpenGLExtension_ARB_matrix_palette() |
1239 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_matrix_palettePrivate)) |
1240 | { |
1241 | } |
1242 | |
1243 | bool QOpenGLExtension_ARB_matrix_palette::initializeOpenGLFunctions() |
1244 | { |
1245 | if (isInitialized()) |
1246 | return true; |
1247 | |
1248 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1249 | if (!context) { |
1250 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1251 | return false; |
1252 | } |
1253 | |
1254 | // Resolve the functions |
1255 | Q_D(QOpenGLExtension_ARB_matrix_palette); |
1256 | |
1257 | d->MatrixIndexPointerARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glMatrixIndexPointerARB" )); |
1258 | d->MatrixIndexuivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLuint *)>(context->getProcAddress(procName: "glMatrixIndexuivARB" )); |
1259 | d->MatrixIndexusvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLushort *)>(context->getProcAddress(procName: "glMatrixIndexusvARB" )); |
1260 | d->MatrixIndexubvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLubyte *)>(context->getProcAddress(procName: "glMatrixIndexubvARB" )); |
1261 | d->CurrentPaletteMatrixARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glCurrentPaletteMatrixARB" )); |
1262 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1263 | return true; |
1264 | } |
1265 | |
1266 | QOpenGLExtension_ARB_multi_draw_indirect::QOpenGLExtension_ARB_multi_draw_indirect() |
1267 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_multi_draw_indirectPrivate)) |
1268 | { |
1269 | } |
1270 | |
1271 | bool QOpenGLExtension_ARB_multi_draw_indirect::initializeOpenGLFunctions() |
1272 | { |
1273 | if (isInitialized()) |
1274 | return true; |
1275 | |
1276 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1277 | if (!context) { |
1278 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1279 | return false; |
1280 | } |
1281 | |
1282 | // Resolve the functions |
1283 | Q_D(QOpenGLExtension_ARB_multi_draw_indirect); |
1284 | |
1285 | d->MultiDrawElementsIndirect = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const void *, GLsizei , GLsizei )>(context->getProcAddress(procName: "glMultiDrawElementsIndirect" )); |
1286 | d->MultiDrawArraysIndirect = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const void *, GLsizei , GLsizei )>(context->getProcAddress(procName: "glMultiDrawArraysIndirect" )); |
1287 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1288 | return true; |
1289 | } |
1290 | |
1291 | QOpenGLExtension_ARB_multisample::QOpenGLExtension_ARB_multisample() |
1292 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_multisamplePrivate)) |
1293 | { |
1294 | } |
1295 | |
1296 | bool QOpenGLExtension_ARB_multisample::initializeOpenGLFunctions() |
1297 | { |
1298 | if (isInitialized()) |
1299 | return true; |
1300 | |
1301 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1302 | if (!context) { |
1303 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1304 | return false; |
1305 | } |
1306 | |
1307 | // Resolve the functions |
1308 | Q_D(QOpenGLExtension_ARB_multisample); |
1309 | |
1310 | d->SampleCoverageARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLboolean )>(context->getProcAddress(procName: "glSampleCoverageARB" )); |
1311 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1312 | return true; |
1313 | } |
1314 | |
1315 | QOpenGLExtension_ARB_multitexture::QOpenGLExtension_ARB_multitexture() |
1316 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_multitexturePrivate)) |
1317 | { |
1318 | } |
1319 | |
1320 | bool QOpenGLExtension_ARB_multitexture::initializeOpenGLFunctions() |
1321 | { |
1322 | if (isInitialized()) |
1323 | return true; |
1324 | |
1325 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1326 | if (!context) { |
1327 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1328 | return false; |
1329 | } |
1330 | |
1331 | // Resolve the functions |
1332 | Q_D(QOpenGLExtension_ARB_multitexture); |
1333 | |
1334 | d->MultiTexCoord4svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glMultiTexCoord4svARB" )); |
1335 | d->MultiTexCoord4sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glMultiTexCoord4sARB" )); |
1336 | d->MultiTexCoord4ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexCoord4ivARB" )); |
1337 | d->MultiTexCoord4iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glMultiTexCoord4iARB" )); |
1338 | d->MultiTexCoord4fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexCoord4fvARB" )); |
1339 | d->MultiTexCoord4fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glMultiTexCoord4fARB" )); |
1340 | d->MultiTexCoord4dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMultiTexCoord4dvARB" )); |
1341 | d->MultiTexCoord4dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMultiTexCoord4dARB" )); |
1342 | d->MultiTexCoord3svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glMultiTexCoord3svARB" )); |
1343 | d->MultiTexCoord3sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glMultiTexCoord3sARB" )); |
1344 | d->MultiTexCoord3ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexCoord3ivARB" )); |
1345 | d->MultiTexCoord3iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint )>(context->getProcAddress(procName: "glMultiTexCoord3iARB" )); |
1346 | d->MultiTexCoord3fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexCoord3fvARB" )); |
1347 | d->MultiTexCoord3fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glMultiTexCoord3fARB" )); |
1348 | d->MultiTexCoord3dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMultiTexCoord3dvARB" )); |
1349 | d->MultiTexCoord3dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMultiTexCoord3dARB" )); |
1350 | d->MultiTexCoord2svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glMultiTexCoord2svARB" )); |
1351 | d->MultiTexCoord2sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort )>(context->getProcAddress(procName: "glMultiTexCoord2sARB" )); |
1352 | d->MultiTexCoord2ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexCoord2ivARB" )); |
1353 | d->MultiTexCoord2iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint )>(context->getProcAddress(procName: "glMultiTexCoord2iARB" )); |
1354 | d->MultiTexCoord2fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexCoord2fvARB" )); |
1355 | d->MultiTexCoord2fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat )>(context->getProcAddress(procName: "glMultiTexCoord2fARB" )); |
1356 | d->MultiTexCoord2dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMultiTexCoord2dvARB" )); |
1357 | d->MultiTexCoord2dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMultiTexCoord2dARB" )); |
1358 | d->MultiTexCoord1svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glMultiTexCoord1svARB" )); |
1359 | d->MultiTexCoord1sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort )>(context->getProcAddress(procName: "glMultiTexCoord1sARB" )); |
1360 | d->MultiTexCoord1ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexCoord1ivARB" )); |
1361 | d->MultiTexCoord1iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glMultiTexCoord1iARB" )); |
1362 | d->MultiTexCoord1fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexCoord1fvARB" )); |
1363 | d->MultiTexCoord1fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glMultiTexCoord1fARB" )); |
1364 | d->MultiTexCoord1dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMultiTexCoord1dvARB" )); |
1365 | d->MultiTexCoord1dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble )>(context->getProcAddress(procName: "glMultiTexCoord1dARB" )); |
1366 | d->ClientActiveTextureARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glClientActiveTextureARB" )); |
1367 | d->ActiveTextureARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glActiveTextureARB" )); |
1368 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1369 | return true; |
1370 | } |
1371 | |
1372 | QOpenGLExtension_ARB_occlusion_query::QOpenGLExtension_ARB_occlusion_query() |
1373 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_occlusion_queryPrivate)) |
1374 | { |
1375 | } |
1376 | |
1377 | bool QOpenGLExtension_ARB_occlusion_query::initializeOpenGLFunctions() |
1378 | { |
1379 | if (isInitialized()) |
1380 | return true; |
1381 | |
1382 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1383 | if (!context) { |
1384 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1385 | return false; |
1386 | } |
1387 | |
1388 | // Resolve the functions |
1389 | Q_D(QOpenGLExtension_ARB_occlusion_query); |
1390 | |
1391 | d->GetQueryObjectuivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetQueryObjectuivARB" )); |
1392 | d->GetQueryObjectivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetQueryObjectivARB" )); |
1393 | d->GetQueryivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetQueryivARB" )); |
1394 | d->EndQueryARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glEndQueryARB" )); |
1395 | d->BeginQueryARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBeginQueryARB" )); |
1396 | d->IsQueryARB = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsQueryARB" )); |
1397 | d->DeleteQueriesARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteQueriesARB" )); |
1398 | d->GenQueriesARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenQueriesARB" )); |
1399 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1400 | return true; |
1401 | } |
1402 | |
1403 | QOpenGLExtension_ARB_point_parameters::QOpenGLExtension_ARB_point_parameters() |
1404 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_point_parametersPrivate)) |
1405 | { |
1406 | } |
1407 | |
1408 | bool QOpenGLExtension_ARB_point_parameters::initializeOpenGLFunctions() |
1409 | { |
1410 | if (isInitialized()) |
1411 | return true; |
1412 | |
1413 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1414 | if (!context) { |
1415 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1416 | return false; |
1417 | } |
1418 | |
1419 | // Resolve the functions |
1420 | Q_D(QOpenGLExtension_ARB_point_parameters); |
1421 | |
1422 | d->PointParameterfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPointParameterfvARB" )); |
1423 | d->PointParameterfARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glPointParameterfARB" )); |
1424 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1425 | return true; |
1426 | } |
1427 | |
1428 | QOpenGLExtension_ARB_program_interface_query::QOpenGLExtension_ARB_program_interface_query() |
1429 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_program_interface_queryPrivate)) |
1430 | { |
1431 | } |
1432 | |
1433 | bool QOpenGLExtension_ARB_program_interface_query::initializeOpenGLFunctions() |
1434 | { |
1435 | if (isInitialized()) |
1436 | return true; |
1437 | |
1438 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1439 | if (!context) { |
1440 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1441 | return false; |
1442 | } |
1443 | |
1444 | // Resolve the functions |
1445 | Q_D(QOpenGLExtension_ARB_program_interface_query); |
1446 | |
1447 | d->GetProgramResourceLocationIndex = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLchar *)>(context->getProcAddress(procName: "glGetProgramResourceLocationIndex" )); |
1448 | d->GetProgramResourceLocation = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLchar *)>(context->getProcAddress(procName: "glGetProgramResourceLocation" )); |
1449 | d->GetProgramResourceiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , const GLenum *, GLsizei , GLsizei *, GLint *)>(context->getProcAddress(procName: "glGetProgramResourceiv" )); |
1450 | d->GetProgramResourceName = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetProgramResourceName" )); |
1451 | d->GetProgramResourceIndex = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLchar *)>(context->getProcAddress(procName: "glGetProgramResourceIndex" )); |
1452 | d->GetProgramInterfaceiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetProgramInterfaceiv" )); |
1453 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1454 | return true; |
1455 | } |
1456 | |
1457 | QOpenGLExtension_ARB_provoking_vertex::QOpenGLExtension_ARB_provoking_vertex() |
1458 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_provoking_vertexPrivate)) |
1459 | { |
1460 | } |
1461 | |
1462 | bool QOpenGLExtension_ARB_provoking_vertex::initializeOpenGLFunctions() |
1463 | { |
1464 | if (isInitialized()) |
1465 | return true; |
1466 | |
1467 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1468 | if (!context) { |
1469 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1470 | return false; |
1471 | } |
1472 | |
1473 | // Resolve the functions |
1474 | Q_D(QOpenGLExtension_ARB_provoking_vertex); |
1475 | |
1476 | d->ProvokingVertex = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glProvokingVertex" )); |
1477 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1478 | return true; |
1479 | } |
1480 | |
1481 | QOpenGLExtension_ARB_robustness::QOpenGLExtension_ARB_robustness() |
1482 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_robustnessPrivate)) |
1483 | { |
1484 | } |
1485 | |
1486 | bool QOpenGLExtension_ARB_robustness::initializeOpenGLFunctions() |
1487 | { |
1488 | if (isInitialized()) |
1489 | return true; |
1490 | |
1491 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1492 | if (!context) { |
1493 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1494 | return false; |
1495 | } |
1496 | |
1497 | // Resolve the functions |
1498 | Q_D(QOpenGLExtension_ARB_robustness); |
1499 | |
1500 | d->GetnUniformdvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLdouble *)>(context->getProcAddress(procName: "glGetnUniformdvARB" )); |
1501 | d->GetnUniformuivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLuint *)>(context->getProcAddress(procName: "glGetnUniformuivARB" )); |
1502 | d->GetnUniformivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLint *)>(context->getProcAddress(procName: "glGetnUniformivARB" )); |
1503 | d->GetnUniformfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLfloat *)>(context->getProcAddress(procName: "glGetnUniformfvARB" )); |
1504 | d->GetnCompressedTexImageARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glGetnCompressedTexImageARB" )); |
1505 | d->ReadnPixelsARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLsizei , GLsizei , GLenum , GLenum , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glReadnPixelsARB" )); |
1506 | d->GetnTexImageARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLenum , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glGetnTexImageARB" )); |
1507 | d->GetnMinmaxARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLboolean , GLenum , GLenum , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glGetnMinmaxARB" )); |
1508 | d->GetnHistogramARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLboolean , GLenum , GLenum , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glGetnHistogramARB" )); |
1509 | d->GetnSeparableFilterARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , GLvoid *, GLsizei , GLvoid *, GLvoid *)>(context->getProcAddress(procName: "glGetnSeparableFilterARB" )); |
1510 | d->GetnConvolutionFilterARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glGetnConvolutionFilterARB" )); |
1511 | d->GetnColorTableARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , GLvoid *)>(context->getProcAddress(procName: "glGetnColorTableARB" )); |
1512 | d->GetnPolygonStippleARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLubyte *)>(context->getProcAddress(procName: "glGetnPolygonStippleARB" )); |
1513 | d->GetnPixelMapusvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLushort *)>(context->getProcAddress(procName: "glGetnPixelMapusvARB" )); |
1514 | d->GetnPixelMapuivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLuint *)>(context->getProcAddress(procName: "glGetnPixelMapuivARB" )); |
1515 | d->GetnPixelMapfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLfloat *)>(context->getProcAddress(procName: "glGetnPixelMapfvARB" )); |
1516 | d->GetnMapivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLint *)>(context->getProcAddress(procName: "glGetnMapivARB" )); |
1517 | d->GetnMapfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLfloat *)>(context->getProcAddress(procName: "glGetnMapfvARB" )); |
1518 | d->GetnMapdvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLdouble *)>(context->getProcAddress(procName: "glGetnMapdvARB" )); |
1519 | d->GetGraphicsResetStatusARB = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glGetGraphicsResetStatusARB" )); |
1520 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1521 | return true; |
1522 | } |
1523 | |
1524 | QOpenGLExtension_ARB_sample_shading::QOpenGLExtension_ARB_sample_shading() |
1525 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_sample_shadingPrivate)) |
1526 | { |
1527 | } |
1528 | |
1529 | bool QOpenGLExtension_ARB_sample_shading::initializeOpenGLFunctions() |
1530 | { |
1531 | if (isInitialized()) |
1532 | return true; |
1533 | |
1534 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1535 | if (!context) { |
1536 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1537 | return false; |
1538 | } |
1539 | |
1540 | // Resolve the functions |
1541 | Q_D(QOpenGLExtension_ARB_sample_shading); |
1542 | |
1543 | d->MinSampleShadingARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat )>(context->getProcAddress(procName: "glMinSampleShadingARB" )); |
1544 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1545 | return true; |
1546 | } |
1547 | |
1548 | QOpenGLExtension_ARB_sampler_objects::QOpenGLExtension_ARB_sampler_objects() |
1549 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_sampler_objectsPrivate)) |
1550 | { |
1551 | } |
1552 | |
1553 | bool QOpenGLExtension_ARB_sampler_objects::initializeOpenGLFunctions() |
1554 | { |
1555 | if (isInitialized()) |
1556 | return true; |
1557 | |
1558 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1559 | if (!context) { |
1560 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1561 | return false; |
1562 | } |
1563 | |
1564 | // Resolve the functions |
1565 | Q_D(QOpenGLExtension_ARB_sampler_objects); |
1566 | |
1567 | d->GetSamplerParameterIuiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetSamplerParameterIuiv" )); |
1568 | d->GetSamplerParameterfv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetSamplerParameterfv" )); |
1569 | d->GetSamplerParameterIiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetSamplerParameterIiv" )); |
1570 | d->GetSamplerParameteriv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetSamplerParameteriv" )); |
1571 | d->SamplerParameterIuiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLuint *)>(context->getProcAddress(procName: "glSamplerParameterIuiv" )); |
1572 | d->SamplerParameterIiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLint *)>(context->getProcAddress(procName: "glSamplerParameterIiv" )); |
1573 | d->SamplerParameterfv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glSamplerParameterfv" )); |
1574 | d->SamplerParameterf = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat )>(context->getProcAddress(procName: "glSamplerParameterf" )); |
1575 | d->SamplerParameteriv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLint *)>(context->getProcAddress(procName: "glSamplerParameteriv" )); |
1576 | d->SamplerParameteri = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glSamplerParameteri" )); |
1577 | d->BindSampler = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glBindSampler" )); |
1578 | d->IsSampler = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsSampler" )); |
1579 | d->DeleteSamplers = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteSamplers" )); |
1580 | d->GenSamplers = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenSamplers" )); |
1581 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1582 | return true; |
1583 | } |
1584 | |
1585 | QOpenGLExtension_ARB_separate_shader_objects::QOpenGLExtension_ARB_separate_shader_objects() |
1586 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_separate_shader_objectsPrivate)) |
1587 | { |
1588 | } |
1589 | |
1590 | bool QOpenGLExtension_ARB_separate_shader_objects::initializeOpenGLFunctions() |
1591 | { |
1592 | if (isInitialized()) |
1593 | return true; |
1594 | |
1595 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1596 | if (!context) { |
1597 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1598 | return false; |
1599 | } |
1600 | |
1601 | // Resolve the functions |
1602 | Q_D(QOpenGLExtension_ARB_separate_shader_objects); |
1603 | |
1604 | d->GetProgramPipelineInfoLog = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetProgramPipelineInfoLog" )); |
1605 | d->ValidateProgramPipeline = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glValidateProgramPipeline" )); |
1606 | d->ProgramUniformMatrix4x3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x3dv" )); |
1607 | d->ProgramUniformMatrix3x4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x4dv" )); |
1608 | d->ProgramUniformMatrix4x2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x2dv" )); |
1609 | d->ProgramUniformMatrix2x4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x4dv" )); |
1610 | d->ProgramUniformMatrix3x2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x2dv" )); |
1611 | d->ProgramUniformMatrix2x3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x3dv" )); |
1612 | d->ProgramUniformMatrix4x3fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x3fv" )); |
1613 | d->ProgramUniformMatrix3x4fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x4fv" )); |
1614 | d->ProgramUniformMatrix4x2fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x2fv" )); |
1615 | d->ProgramUniformMatrix2x4fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x4fv" )); |
1616 | d->ProgramUniformMatrix3x2fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x2fv" )); |
1617 | d->ProgramUniformMatrix2x3fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x3fv" )); |
1618 | d->ProgramUniformMatrix4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix4dv" )); |
1619 | d->ProgramUniformMatrix3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix3dv" )); |
1620 | d->ProgramUniformMatrix2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix2dv" )); |
1621 | d->ProgramUniformMatrix4fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix4fv" )); |
1622 | d->ProgramUniformMatrix3fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix3fv" )); |
1623 | d->ProgramUniformMatrix2fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix2fv" )); |
1624 | d->ProgramUniform4uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform4uiv" )); |
1625 | d->ProgramUniform4ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramUniform4ui" )); |
1626 | d->ProgramUniform4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform4dv" )); |
1627 | d->ProgramUniform4d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramUniform4d" )); |
1628 | d->ProgramUniform4fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform4fv" )); |
1629 | d->ProgramUniform4f = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramUniform4f" )); |
1630 | d->ProgramUniform4iv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform4iv" )); |
1631 | d->ProgramUniform4i = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform4i" )); |
1632 | d->ProgramUniform3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform3uiv" )); |
1633 | d->ProgramUniform3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramUniform3ui" )); |
1634 | d->ProgramUniform3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform3dv" )); |
1635 | d->ProgramUniform3d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramUniform3d" )); |
1636 | d->ProgramUniform3fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform3fv" )); |
1637 | d->ProgramUniform3f = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramUniform3f" )); |
1638 | d->ProgramUniform3iv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform3iv" )); |
1639 | d->ProgramUniform3i = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform3i" )); |
1640 | d->ProgramUniform2uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform2uiv" )); |
1641 | d->ProgramUniform2ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramUniform2ui" )); |
1642 | d->ProgramUniform2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform2dv" )); |
1643 | d->ProgramUniform2d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramUniform2d" )); |
1644 | d->ProgramUniform2fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform2fv" )); |
1645 | d->ProgramUniform2f = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramUniform2f" )); |
1646 | d->ProgramUniform2iv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform2iv" )); |
1647 | d->ProgramUniform2i = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform2i" )); |
1648 | d->ProgramUniform1uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform1uiv" )); |
1649 | d->ProgramUniform1ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint )>(context->getProcAddress(procName: "glProgramUniform1ui" )); |
1650 | d->ProgramUniform1dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform1dv" )); |
1651 | d->ProgramUniform1d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble )>(context->getProcAddress(procName: "glProgramUniform1d" )); |
1652 | d->ProgramUniform1fv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform1fv" )); |
1653 | d->ProgramUniform1f = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat )>(context->getProcAddress(procName: "glProgramUniform1f" )); |
1654 | d->ProgramUniform1iv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform1iv" )); |
1655 | d->ProgramUniform1i = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform1i" )); |
1656 | d->GetProgramPipelineiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetProgramPipelineiv" )); |
1657 | d->IsProgramPipeline = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsProgramPipeline" )); |
1658 | d->GenProgramPipelines = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenProgramPipelines" )); |
1659 | d->DeleteProgramPipelines = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteProgramPipelines" )); |
1660 | d->BindProgramPipeline = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBindProgramPipeline" )); |
1661 | d->CreateShaderProgramv = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLchar* const *)>(context->getProcAddress(procName: "glCreateShaderProgramv" )); |
1662 | d->ActiveShaderProgram = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glActiveShaderProgram" )); |
1663 | d->UseProgramStages = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLbitfield , GLuint )>(context->getProcAddress(procName: "glUseProgramStages" )); |
1664 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1665 | return true; |
1666 | } |
1667 | |
1668 | QOpenGLExtension_ARB_shader_atomic_counters::QOpenGLExtension_ARB_shader_atomic_counters() |
1669 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_shader_atomic_countersPrivate)) |
1670 | { |
1671 | } |
1672 | |
1673 | bool QOpenGLExtension_ARB_shader_atomic_counters::initializeOpenGLFunctions() |
1674 | { |
1675 | if (isInitialized()) |
1676 | return true; |
1677 | |
1678 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1679 | if (!context) { |
1680 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1681 | return false; |
1682 | } |
1683 | |
1684 | // Resolve the functions |
1685 | Q_D(QOpenGLExtension_ARB_shader_atomic_counters); |
1686 | |
1687 | d->GetActiveAtomicCounterBufferiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetActiveAtomicCounterBufferiv" )); |
1688 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1689 | return true; |
1690 | } |
1691 | |
1692 | QOpenGLExtension_ARB_shader_image_load_store::QOpenGLExtension_ARB_shader_image_load_store() |
1693 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_shader_image_load_storePrivate)) |
1694 | { |
1695 | } |
1696 | |
1697 | bool QOpenGLExtension_ARB_shader_image_load_store::initializeOpenGLFunctions() |
1698 | { |
1699 | if (isInitialized()) |
1700 | return true; |
1701 | |
1702 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1703 | if (!context) { |
1704 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1705 | return false; |
1706 | } |
1707 | |
1708 | // Resolve the functions |
1709 | Q_D(QOpenGLExtension_ARB_shader_image_load_store); |
1710 | |
1711 | d->MemoryBarrier = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield )>(context->getProcAddress(procName: "glMemoryBarrier" )); |
1712 | d->BindImageTexture = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLint , GLboolean , GLint , GLenum , GLenum )>(context->getProcAddress(procName: "glBindImageTexture" )); |
1713 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1714 | return true; |
1715 | } |
1716 | |
1717 | QOpenGLExtension_ARB_shader_objects::QOpenGLExtension_ARB_shader_objects() |
1718 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_shader_objectsPrivate)) |
1719 | { |
1720 | } |
1721 | |
1722 | bool QOpenGLExtension_ARB_shader_objects::initializeOpenGLFunctions() |
1723 | { |
1724 | if (isInitialized()) |
1725 | return true; |
1726 | |
1727 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1728 | if (!context) { |
1729 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1730 | return false; |
1731 | } |
1732 | |
1733 | // Resolve the functions |
1734 | Q_D(QOpenGLExtension_ARB_shader_objects); |
1735 | |
1736 | d->GetShaderSourceARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLsizei , GLsizei *, GLcharARB *)>(context->getProcAddress(procName: "glGetShaderSourceARB" )); |
1737 | d->GetUniformivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLint , GLint *)>(context->getProcAddress(procName: "glGetUniformivARB" )); |
1738 | d->GetUniformfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLint , GLfloat *)>(context->getProcAddress(procName: "glGetUniformfvARB" )); |
1739 | d->GetActiveUniformARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLuint , GLsizei , GLsizei *, GLint *, GLenum *, GLcharARB *)>(context->getProcAddress(procName: "glGetActiveUniformARB" )); |
1740 | d->GetUniformLocationARB = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLhandleARB , const GLcharARB *)>(context->getProcAddress(procName: "glGetUniformLocationARB" )); |
1741 | d->GetAttachedObjectsARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLsizei , GLsizei *, GLhandleARB *)>(context->getProcAddress(procName: "glGetAttachedObjectsARB" )); |
1742 | d->GetInfoLogARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLsizei , GLsizei *, GLcharARB *)>(context->getProcAddress(procName: "glGetInfoLogARB" )); |
1743 | d->GetObjectParameterivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLenum , GLint *)>(context->getProcAddress(procName: "glGetObjectParameterivARB" )); |
1744 | d->GetObjectParameterfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetObjectParameterfvARB" )); |
1745 | d->UniformMatrix4fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glUniformMatrix4fvARB" )); |
1746 | d->UniformMatrix3fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glUniformMatrix3fvARB" )); |
1747 | d->UniformMatrix2fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glUniformMatrix2fvARB" )); |
1748 | d->Uniform4ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glUniform4ivARB" )); |
1749 | d->Uniform3ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glUniform3ivARB" )); |
1750 | d->Uniform2ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glUniform2ivARB" )); |
1751 | d->Uniform1ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glUniform1ivARB" )); |
1752 | d->Uniform4fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glUniform4fvARB" )); |
1753 | d->Uniform3fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glUniform3fvARB" )); |
1754 | d->Uniform2fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glUniform2fvARB" )); |
1755 | d->Uniform1fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glUniform1fvARB" )); |
1756 | d->Uniform4iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glUniform4iARB" )); |
1757 | d->Uniform3iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glUniform3iARB" )); |
1758 | d->Uniform2iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint )>(context->getProcAddress(procName: "glUniform2iARB" )); |
1759 | d->Uniform1iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint )>(context->getProcAddress(procName: "glUniform1iARB" )); |
1760 | d->Uniform4fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glUniform4fARB" )); |
1761 | d->Uniform3fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glUniform3fARB" )); |
1762 | d->Uniform2fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glUniform2fARB" )); |
1763 | d->Uniform1fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLfloat )>(context->getProcAddress(procName: "glUniform1fARB" )); |
1764 | d->ValidateProgramARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB )>(context->getProcAddress(procName: "glValidateProgramARB" )); |
1765 | d->UseProgramObjectARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB )>(context->getProcAddress(procName: "glUseProgramObjectARB" )); |
1766 | d->LinkProgramARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB )>(context->getProcAddress(procName: "glLinkProgramARB" )); |
1767 | d->AttachObjectARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLhandleARB )>(context->getProcAddress(procName: "glAttachObjectARB" )); |
1768 | d->CreateProgramObjectARB = reinterpret_cast<GLhandleARB (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glCreateProgramObjectARB" )); |
1769 | d->CompileShaderARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB )>(context->getProcAddress(procName: "glCompileShaderARB" )); |
1770 | d->ShaderSourceARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLsizei , const GLcharARB* *, const GLint *)>(context->getProcAddress(procName: "glShaderSourceARB" )); |
1771 | d->CreateShaderObjectARB = reinterpret_cast<GLhandleARB (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glCreateShaderObjectARB" )); |
1772 | d->DetachObjectARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLhandleARB )>(context->getProcAddress(procName: "glDetachObjectARB" )); |
1773 | d->GetHandleARB = reinterpret_cast<GLhandleARB (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glGetHandleARB" )); |
1774 | d->DeleteObjectARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB )>(context->getProcAddress(procName: "glDeleteObjectARB" )); |
1775 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1776 | return true; |
1777 | } |
1778 | |
1779 | QOpenGLExtension_ARB_shader_storage_buffer_object::QOpenGLExtension_ARB_shader_storage_buffer_object() |
1780 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_shader_storage_buffer_objectPrivate)) |
1781 | { |
1782 | } |
1783 | |
1784 | bool QOpenGLExtension_ARB_shader_storage_buffer_object::initializeOpenGLFunctions() |
1785 | { |
1786 | if (isInitialized()) |
1787 | return true; |
1788 | |
1789 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1790 | if (!context) { |
1791 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1792 | return false; |
1793 | } |
1794 | |
1795 | // Resolve the functions |
1796 | Q_D(QOpenGLExtension_ARB_shader_storage_buffer_object); |
1797 | |
1798 | d->ShaderStorageBlockBinding = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glShaderStorageBlockBinding" )); |
1799 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1800 | return true; |
1801 | } |
1802 | |
1803 | QOpenGLExtension_ARB_shader_subroutine::QOpenGLExtension_ARB_shader_subroutine() |
1804 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_shader_subroutinePrivate)) |
1805 | { |
1806 | } |
1807 | |
1808 | bool QOpenGLExtension_ARB_shader_subroutine::initializeOpenGLFunctions() |
1809 | { |
1810 | if (isInitialized()) |
1811 | return true; |
1812 | |
1813 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1814 | if (!context) { |
1815 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1816 | return false; |
1817 | } |
1818 | |
1819 | // Resolve the functions |
1820 | Q_D(QOpenGLExtension_ARB_shader_subroutine); |
1821 | |
1822 | d->GetProgramStageiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetProgramStageiv" )); |
1823 | d->GetUniformSubroutineuiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLuint *)>(context->getProcAddress(procName: "glGetUniformSubroutineuiv" )); |
1824 | d->UniformSubroutinesuiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glUniformSubroutinesuiv" )); |
1825 | d->GetActiveSubroutineName = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetActiveSubroutineName" )); |
1826 | d->GetActiveSubroutineUniformName = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetActiveSubroutineUniformName" )); |
1827 | d->GetActiveSubroutineUniformiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetActiveSubroutineUniformiv" )); |
1828 | d->GetSubroutineIndex = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLchar *)>(context->getProcAddress(procName: "glGetSubroutineIndex" )); |
1829 | d->GetSubroutineUniformLocation = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLchar *)>(context->getProcAddress(procName: "glGetSubroutineUniformLocation" )); |
1830 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1831 | return true; |
1832 | } |
1833 | |
1834 | QOpenGLExtension_ARB_shading_language_include::QOpenGLExtension_ARB_shading_language_include() |
1835 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_shading_language_includePrivate)) |
1836 | { |
1837 | } |
1838 | |
1839 | bool QOpenGLExtension_ARB_shading_language_include::initializeOpenGLFunctions() |
1840 | { |
1841 | if (isInitialized()) |
1842 | return true; |
1843 | |
1844 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1845 | if (!context) { |
1846 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1847 | return false; |
1848 | } |
1849 | |
1850 | // Resolve the functions |
1851 | Q_D(QOpenGLExtension_ARB_shading_language_include); |
1852 | |
1853 | d->GetNamedStringivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLchar *, GLenum , GLint *)>(context->getProcAddress(procName: "glGetNamedStringivARB" )); |
1854 | d->GetNamedStringARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLchar *, GLsizei , GLint *, GLchar *)>(context->getProcAddress(procName: "glGetNamedStringARB" )); |
1855 | d->IsNamedStringARB = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLint , const GLchar *)>(context->getProcAddress(procName: "glIsNamedStringARB" )); |
1856 | d->CompileShaderIncludeARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLchar* *, const GLint *)>(context->getProcAddress(procName: "glCompileShaderIncludeARB" )); |
1857 | d->DeleteNamedStringARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLchar *)>(context->getProcAddress(procName: "glDeleteNamedStringARB" )); |
1858 | d->NamedStringARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , const GLchar *, GLint , const GLchar *)>(context->getProcAddress(procName: "glNamedStringARB" )); |
1859 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1860 | return true; |
1861 | } |
1862 | |
1863 | QOpenGLExtension_ARB_sync::QOpenGLExtension_ARB_sync() |
1864 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_syncPrivate)) |
1865 | { |
1866 | } |
1867 | |
1868 | bool QOpenGLExtension_ARB_sync::initializeOpenGLFunctions() |
1869 | { |
1870 | if (isInitialized()) |
1871 | return true; |
1872 | |
1873 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1874 | if (!context) { |
1875 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1876 | return false; |
1877 | } |
1878 | |
1879 | // Resolve the functions |
1880 | Q_D(QOpenGLExtension_ARB_sync); |
1881 | |
1882 | d->GetSynciv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsync , GLenum , GLsizei , GLsizei *, GLint *)>(context->getProcAddress(procName: "glGetSynciv" )); |
1883 | d->GetInteger64v = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint64 *)>(context->getProcAddress(procName: "glGetInteger64v" )); |
1884 | d->WaitSync = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsync , GLbitfield , GLuint64 )>(context->getProcAddress(procName: "glWaitSync" )); |
1885 | d->ClientWaitSync = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLsync , GLbitfield , GLuint64 )>(context->getProcAddress(procName: "glClientWaitSync" )); |
1886 | d->DeleteSync = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsync )>(context->getProcAddress(procName: "glDeleteSync" )); |
1887 | d->IsSync = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLsync )>(context->getProcAddress(procName: "glIsSync" )); |
1888 | d->FenceSync = reinterpret_cast<GLsync (QOPENGLF_APIENTRYP)(GLenum , GLbitfield )>(context->getProcAddress(procName: "glFenceSync" )); |
1889 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1890 | return true; |
1891 | } |
1892 | |
1893 | QOpenGLExtension_ARB_tessellation_shader::QOpenGLExtension_ARB_tessellation_shader() |
1894 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_tessellation_shaderPrivate)) |
1895 | { |
1896 | } |
1897 | |
1898 | bool QOpenGLExtension_ARB_tessellation_shader::initializeOpenGLFunctions() |
1899 | { |
1900 | if (isInitialized()) |
1901 | return true; |
1902 | |
1903 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1904 | if (!context) { |
1905 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1906 | return false; |
1907 | } |
1908 | |
1909 | // Resolve the functions |
1910 | Q_D(QOpenGLExtension_ARB_tessellation_shader); |
1911 | |
1912 | d->PatchParameterfv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPatchParameterfv" )); |
1913 | d->PatchParameteri = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glPatchParameteri" )); |
1914 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1915 | return true; |
1916 | } |
1917 | |
1918 | QOpenGLExtension_ARB_texture_buffer_object::QOpenGLExtension_ARB_texture_buffer_object() |
1919 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_buffer_objectPrivate)) |
1920 | { |
1921 | } |
1922 | |
1923 | bool QOpenGLExtension_ARB_texture_buffer_object::initializeOpenGLFunctions() |
1924 | { |
1925 | if (isInitialized()) |
1926 | return true; |
1927 | |
1928 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1929 | if (!context) { |
1930 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1931 | return false; |
1932 | } |
1933 | |
1934 | // Resolve the functions |
1935 | Q_D(QOpenGLExtension_ARB_texture_buffer_object); |
1936 | |
1937 | d->TexBufferARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glTexBufferARB" )); |
1938 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1939 | return true; |
1940 | } |
1941 | |
1942 | QOpenGLExtension_ARB_texture_buffer_range::QOpenGLExtension_ARB_texture_buffer_range() |
1943 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_buffer_rangePrivate)) |
1944 | { |
1945 | } |
1946 | |
1947 | bool QOpenGLExtension_ARB_texture_buffer_range::initializeOpenGLFunctions() |
1948 | { |
1949 | if (isInitialized()) |
1950 | return true; |
1951 | |
1952 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1953 | if (!context) { |
1954 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1955 | return false; |
1956 | } |
1957 | |
1958 | // Resolve the functions |
1959 | Q_D(QOpenGLExtension_ARB_texture_buffer_range); |
1960 | |
1961 | d->TexBufferRange = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glTexBufferRange" )); |
1962 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1963 | return true; |
1964 | } |
1965 | |
1966 | QOpenGLExtension_ARB_texture_compression::QOpenGLExtension_ARB_texture_compression() |
1967 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_compressionPrivate)) |
1968 | { |
1969 | } |
1970 | |
1971 | bool QOpenGLExtension_ARB_texture_compression::initializeOpenGLFunctions() |
1972 | { |
1973 | if (isInitialized()) |
1974 | return true; |
1975 | |
1976 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
1977 | if (!context) { |
1978 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
1979 | return false; |
1980 | } |
1981 | |
1982 | // Resolve the functions |
1983 | Q_D(QOpenGLExtension_ARB_texture_compression); |
1984 | |
1985 | d->GetCompressedTexImageARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLvoid *)>(context->getProcAddress(procName: "glGetCompressedTexImageARB" )); |
1986 | d->CompressedTexSubImage1DARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTexSubImage1DARB" )); |
1987 | d->CompressedTexSubImage2DARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLsizei , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTexSubImage2DARB" )); |
1988 | d->CompressedTexSubImage3DARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTexSubImage3DARB" )); |
1989 | d->CompressedTexImage1DARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTexImage1DARB" )); |
1990 | d->CompressedTexImage2DARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTexImage2DARB" )); |
1991 | d->CompressedTexImage3DARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTexImage3DARB" )); |
1992 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
1993 | return true; |
1994 | } |
1995 | |
1996 | QOpenGLExtension_ARB_texture_multisample::QOpenGLExtension_ARB_texture_multisample() |
1997 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_multisamplePrivate)) |
1998 | { |
1999 | } |
2000 | |
2001 | bool QOpenGLExtension_ARB_texture_multisample::initializeOpenGLFunctions() |
2002 | { |
2003 | if (isInitialized()) |
2004 | return true; |
2005 | |
2006 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2007 | if (!context) { |
2008 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2009 | return false; |
2010 | } |
2011 | |
2012 | // Resolve the functions |
2013 | Q_D(QOpenGLExtension_ARB_texture_multisample); |
2014 | |
2015 | d->SampleMaski = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLbitfield )>(context->getProcAddress(procName: "glSampleMaski" )); |
2016 | d->GetMultisamplefv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetMultisamplefv" )); |
2017 | d->TexImage3DMultisample = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLint , GLsizei , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTexImage3DMultisample" )); |
2018 | d->TexImage2DMultisample = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLint , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTexImage2DMultisample" )); |
2019 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2020 | return true; |
2021 | } |
2022 | |
2023 | QOpenGLExtension_ARB_texture_storage::QOpenGLExtension_ARB_texture_storage() |
2024 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_storagePrivate)) |
2025 | { |
2026 | } |
2027 | |
2028 | bool QOpenGLExtension_ARB_texture_storage::initializeOpenGLFunctions() |
2029 | { |
2030 | if (isInitialized()) |
2031 | return true; |
2032 | |
2033 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2034 | if (!context) { |
2035 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2036 | return false; |
2037 | } |
2038 | |
2039 | // Resolve the functions |
2040 | Q_D(QOpenGLExtension_ARB_texture_storage); |
2041 | |
2042 | d->TexStorage3D = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei , GLsizei , GLsizei )>(context->getProcAddress(procName: "glTexStorage3D" )); |
2043 | d->TexStorage2D = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glTexStorage2D" )); |
2044 | d->TexStorage1D = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei )>(context->getProcAddress(procName: "glTexStorage1D" )); |
2045 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2046 | return true; |
2047 | } |
2048 | |
2049 | QOpenGLExtension_ARB_texture_storage_multisample::QOpenGLExtension_ARB_texture_storage_multisample() |
2050 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_storage_multisamplePrivate)) |
2051 | { |
2052 | } |
2053 | |
2054 | bool QOpenGLExtension_ARB_texture_storage_multisample::initializeOpenGLFunctions() |
2055 | { |
2056 | if (isInitialized()) |
2057 | return true; |
2058 | |
2059 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2060 | if (!context) { |
2061 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2062 | return false; |
2063 | } |
2064 | |
2065 | // Resolve the functions |
2066 | Q_D(QOpenGLExtension_ARB_texture_storage_multisample); |
2067 | |
2068 | d->TexStorage3DMultisample = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTexStorage3DMultisample" )); |
2069 | d->TexStorage2DMultisample = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTexStorage2DMultisample" )); |
2070 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2071 | return true; |
2072 | } |
2073 | |
2074 | QOpenGLExtension_ARB_texture_view::QOpenGLExtension_ARB_texture_view() |
2075 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_texture_viewPrivate)) |
2076 | { |
2077 | } |
2078 | |
2079 | bool QOpenGLExtension_ARB_texture_view::initializeOpenGLFunctions() |
2080 | { |
2081 | if (isInitialized()) |
2082 | return true; |
2083 | |
2084 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2085 | if (!context) { |
2086 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2087 | return false; |
2088 | } |
2089 | |
2090 | // Resolve the functions |
2091 | Q_D(QOpenGLExtension_ARB_texture_view); |
2092 | |
2093 | d->TextureView = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLenum , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glTextureView" )); |
2094 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2095 | return true; |
2096 | } |
2097 | |
2098 | QOpenGLExtension_ARB_timer_query::QOpenGLExtension_ARB_timer_query() |
2099 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_timer_queryPrivate)) |
2100 | { |
2101 | } |
2102 | |
2103 | bool QOpenGLExtension_ARB_timer_query::initializeOpenGLFunctions() |
2104 | { |
2105 | if (isInitialized()) |
2106 | return true; |
2107 | |
2108 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2109 | if (!context) { |
2110 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2111 | return false; |
2112 | } |
2113 | |
2114 | // Resolve the functions |
2115 | Q_D(QOpenGLExtension_ARB_timer_query); |
2116 | |
2117 | d->GetQueryObjectui64v = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint64 *)>(context->getProcAddress(procName: "glGetQueryObjectui64v" )); |
2118 | d->GetQueryObjecti64v = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint64 *)>(context->getProcAddress(procName: "glGetQueryObjecti64v" )); |
2119 | d->QueryCounter = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glQueryCounter" )); |
2120 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2121 | return true; |
2122 | } |
2123 | |
2124 | QOpenGLExtension_ARB_transform_feedback2::QOpenGLExtension_ARB_transform_feedback2() |
2125 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_transform_feedback2Private)) |
2126 | { |
2127 | } |
2128 | |
2129 | bool QOpenGLExtension_ARB_transform_feedback2::initializeOpenGLFunctions() |
2130 | { |
2131 | if (isInitialized()) |
2132 | return true; |
2133 | |
2134 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2135 | if (!context) { |
2136 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2137 | return false; |
2138 | } |
2139 | |
2140 | // Resolve the functions |
2141 | Q_D(QOpenGLExtension_ARB_transform_feedback2); |
2142 | |
2143 | d->DrawTransformFeedback = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glDrawTransformFeedback" )); |
2144 | d->ResumeTransformFeedback = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glResumeTransformFeedback" )); |
2145 | d->PauseTransformFeedback = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glPauseTransformFeedback" )); |
2146 | d->IsTransformFeedback = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsTransformFeedback" )); |
2147 | d->GenTransformFeedbacks = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenTransformFeedbacks" )); |
2148 | d->DeleteTransformFeedbacks = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteTransformFeedbacks" )); |
2149 | d->BindTransformFeedback = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindTransformFeedback" )); |
2150 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2151 | return true; |
2152 | } |
2153 | |
2154 | QOpenGLExtension_ARB_transform_feedback3::QOpenGLExtension_ARB_transform_feedback3() |
2155 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_transform_feedback3Private)) |
2156 | { |
2157 | } |
2158 | |
2159 | bool QOpenGLExtension_ARB_transform_feedback3::initializeOpenGLFunctions() |
2160 | { |
2161 | if (isInitialized()) |
2162 | return true; |
2163 | |
2164 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2165 | if (!context) { |
2166 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2167 | return false; |
2168 | } |
2169 | |
2170 | // Resolve the functions |
2171 | Q_D(QOpenGLExtension_ARB_transform_feedback3); |
2172 | |
2173 | d->GetQueryIndexediv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetQueryIndexediv" )); |
2174 | d->EndQueryIndexed = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glEndQueryIndexed" )); |
2175 | d->BeginQueryIndexed = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint )>(context->getProcAddress(procName: "glBeginQueryIndexed" )); |
2176 | d->DrawTransformFeedbackStream = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint )>(context->getProcAddress(procName: "glDrawTransformFeedbackStream" )); |
2177 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2178 | return true; |
2179 | } |
2180 | |
2181 | QOpenGLExtension_ARB_transform_feedback_instanced::QOpenGLExtension_ARB_transform_feedback_instanced() |
2182 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_transform_feedback_instancedPrivate)) |
2183 | { |
2184 | } |
2185 | |
2186 | bool QOpenGLExtension_ARB_transform_feedback_instanced::initializeOpenGLFunctions() |
2187 | { |
2188 | if (isInitialized()) |
2189 | return true; |
2190 | |
2191 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2192 | if (!context) { |
2193 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2194 | return false; |
2195 | } |
2196 | |
2197 | // Resolve the functions |
2198 | Q_D(QOpenGLExtension_ARB_transform_feedback_instanced); |
2199 | |
2200 | d->DrawTransformFeedbackStreamInstanced = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei )>(context->getProcAddress(procName: "glDrawTransformFeedbackStreamInstanced" )); |
2201 | d->DrawTransformFeedbackInstanced = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei )>(context->getProcAddress(procName: "glDrawTransformFeedbackInstanced" )); |
2202 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2203 | return true; |
2204 | } |
2205 | |
2206 | QOpenGLExtension_ARB_transpose_matrix::QOpenGLExtension_ARB_transpose_matrix() |
2207 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_transpose_matrixPrivate)) |
2208 | { |
2209 | } |
2210 | |
2211 | bool QOpenGLExtension_ARB_transpose_matrix::initializeOpenGLFunctions() |
2212 | { |
2213 | if (isInitialized()) |
2214 | return true; |
2215 | |
2216 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2217 | if (!context) { |
2218 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2219 | return false; |
2220 | } |
2221 | |
2222 | // Resolve the functions |
2223 | Q_D(QOpenGLExtension_ARB_transpose_matrix); |
2224 | |
2225 | d->MultTransposeMatrixdARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glMultTransposeMatrixdARB" )); |
2226 | d->MultTransposeMatrixfARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glMultTransposeMatrixfARB" )); |
2227 | d->LoadTransposeMatrixdARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glLoadTransposeMatrixdARB" )); |
2228 | d->LoadTransposeMatrixfARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glLoadTransposeMatrixfARB" )); |
2229 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2230 | return true; |
2231 | } |
2232 | |
2233 | QOpenGLExtension_ARB_uniform_buffer_object::QOpenGLExtension_ARB_uniform_buffer_object() |
2234 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_uniform_buffer_objectPrivate)) |
2235 | { |
2236 | } |
2237 | |
2238 | bool QOpenGLExtension_ARB_uniform_buffer_object::initializeOpenGLFunctions() |
2239 | { |
2240 | if (isInitialized()) |
2241 | return true; |
2242 | |
2243 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2244 | if (!context) { |
2245 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2246 | return false; |
2247 | } |
2248 | |
2249 | // Resolve the functions |
2250 | Q_D(QOpenGLExtension_ARB_uniform_buffer_object); |
2251 | |
2252 | d->UniformBlockBinding = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glUniformBlockBinding" )); |
2253 | d->GetActiveUniformBlockName = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetActiveUniformBlockName" )); |
2254 | d->GetActiveUniformBlockiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetActiveUniformBlockiv" )); |
2255 | d->GetUniformBlockIndex = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint , const GLchar *)>(context->getProcAddress(procName: "glGetUniformBlockIndex" )); |
2256 | d->GetActiveUniformName = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetActiveUniformName" )); |
2257 | d->GetActiveUniformsiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLuint *, GLenum , GLint *)>(context->getProcAddress(procName: "glGetActiveUniformsiv" )); |
2258 | d->GetUniformIndices = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLchar* const *, GLuint *)>(context->getProcAddress(procName: "glGetUniformIndices" )); |
2259 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2260 | return true; |
2261 | } |
2262 | |
2263 | QOpenGLExtension_ARB_vertex_array_object::QOpenGLExtension_ARB_vertex_array_object() |
2264 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_array_objectPrivate)) |
2265 | { |
2266 | } |
2267 | |
2268 | bool QOpenGLExtension_ARB_vertex_array_object::initializeOpenGLFunctions() |
2269 | { |
2270 | if (isInitialized()) |
2271 | return true; |
2272 | |
2273 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2274 | if (!context) { |
2275 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2276 | return false; |
2277 | } |
2278 | |
2279 | // Resolve the functions |
2280 | Q_D(QOpenGLExtension_ARB_vertex_array_object); |
2281 | |
2282 | d->IsVertexArray = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsVertexArray" )); |
2283 | d->GenVertexArrays = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenVertexArrays" )); |
2284 | d->DeleteVertexArrays = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteVertexArrays" )); |
2285 | d->BindVertexArray = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBindVertexArray" )); |
2286 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2287 | return true; |
2288 | } |
2289 | |
2290 | QOpenGLExtension_ARB_vertex_attrib_64bit::QOpenGLExtension_ARB_vertex_attrib_64bit() |
2291 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_attrib_64bitPrivate)) |
2292 | { |
2293 | } |
2294 | |
2295 | bool QOpenGLExtension_ARB_vertex_attrib_64bit::initializeOpenGLFunctions() |
2296 | { |
2297 | if (isInitialized()) |
2298 | return true; |
2299 | |
2300 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2301 | if (!context) { |
2302 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2303 | return false; |
2304 | } |
2305 | |
2306 | // Resolve the functions |
2307 | Q_D(QOpenGLExtension_ARB_vertex_attrib_64bit); |
2308 | |
2309 | d->GetVertexAttribLdv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetVertexAttribLdv" )); |
2310 | d->VertexAttribLPointer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexAttribLPointer" )); |
2311 | d->VertexAttribL4dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL4dv" )); |
2312 | d->VertexAttribL3dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL3dv" )); |
2313 | d->VertexAttribL2dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL2dv" )); |
2314 | d->VertexAttribL1dv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL1dv" )); |
2315 | d->VertexAttribL4d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL4d" )); |
2316 | d->VertexAttribL3d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL3d" )); |
2317 | d->VertexAttribL2d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL2d" )); |
2318 | d->VertexAttribL1d = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL1d" )); |
2319 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2320 | return true; |
2321 | } |
2322 | |
2323 | QOpenGLExtension_ARB_vertex_attrib_binding::QOpenGLExtension_ARB_vertex_attrib_binding() |
2324 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_attrib_bindingPrivate)) |
2325 | { |
2326 | } |
2327 | |
2328 | bool QOpenGLExtension_ARB_vertex_attrib_binding::initializeOpenGLFunctions() |
2329 | { |
2330 | if (isInitialized()) |
2331 | return true; |
2332 | |
2333 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2334 | if (!context) { |
2335 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2336 | return false; |
2337 | } |
2338 | |
2339 | // Resolve the functions |
2340 | Q_D(QOpenGLExtension_ARB_vertex_attrib_binding); |
2341 | |
2342 | d->VertexBindingDivisor = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glVertexBindingDivisor" )); |
2343 | d->VertexAttribBinding = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribBinding" )); |
2344 | d->VertexAttribLFormat = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLuint )>(context->getProcAddress(procName: "glVertexAttribLFormat" )); |
2345 | d->VertexAttribIFormat = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLuint )>(context->getProcAddress(procName: "glVertexAttribIFormat" )); |
2346 | d->VertexAttribFormat = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLboolean , GLuint )>(context->getProcAddress(procName: "glVertexAttribFormat" )); |
2347 | d->BindVertexBuffer = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLintptr , GLsizei )>(context->getProcAddress(procName: "glBindVertexBuffer" )); |
2348 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2349 | return true; |
2350 | } |
2351 | |
2352 | QOpenGLExtension_ARB_vertex_blend::QOpenGLExtension_ARB_vertex_blend() |
2353 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_blendPrivate)) |
2354 | { |
2355 | } |
2356 | |
2357 | bool QOpenGLExtension_ARB_vertex_blend::initializeOpenGLFunctions() |
2358 | { |
2359 | if (isInitialized()) |
2360 | return true; |
2361 | |
2362 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2363 | if (!context) { |
2364 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2365 | return false; |
2366 | } |
2367 | |
2368 | // Resolve the functions |
2369 | Q_D(QOpenGLExtension_ARB_vertex_blend); |
2370 | |
2371 | d->VertexBlendARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glVertexBlendARB" )); |
2372 | d->WeightPointerARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glWeightPointerARB" )); |
2373 | d->WeightuivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLuint *)>(context->getProcAddress(procName: "glWeightuivARB" )); |
2374 | d->WeightusvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLushort *)>(context->getProcAddress(procName: "glWeightusvARB" )); |
2375 | d->WeightubvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLubyte *)>(context->getProcAddress(procName: "glWeightubvARB" )); |
2376 | d->WeightdvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLdouble *)>(context->getProcAddress(procName: "glWeightdvARB" )); |
2377 | d->WeightfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLfloat *)>(context->getProcAddress(procName: "glWeightfvARB" )); |
2378 | d->WeightivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLint *)>(context->getProcAddress(procName: "glWeightivARB" )); |
2379 | d->WeightsvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLshort *)>(context->getProcAddress(procName: "glWeightsvARB" )); |
2380 | d->WeightbvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLbyte *)>(context->getProcAddress(procName: "glWeightbvARB" )); |
2381 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2382 | return true; |
2383 | } |
2384 | |
2385 | QOpenGLExtension_ARB_vertex_buffer_object::QOpenGLExtension_ARB_vertex_buffer_object() |
2386 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_buffer_objectPrivate)) |
2387 | { |
2388 | } |
2389 | |
2390 | bool QOpenGLExtension_ARB_vertex_buffer_object::initializeOpenGLFunctions() |
2391 | { |
2392 | if (isInitialized()) |
2393 | return true; |
2394 | |
2395 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2396 | if (!context) { |
2397 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2398 | return false; |
2399 | } |
2400 | |
2401 | // Resolve the functions |
2402 | Q_D(QOpenGLExtension_ARB_vertex_buffer_object); |
2403 | |
2404 | d->GetBufferPointervARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetBufferPointervARB" )); |
2405 | d->GetBufferParameterivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetBufferParameterivARB" )); |
2406 | d->UnmapBufferARB = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glUnmapBufferARB" )); |
2407 | d->MapBufferARB = reinterpret_cast<GLvoid* (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glMapBufferARB" )); |
2408 | d->GetBufferSubDataARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLintptrARB , GLsizeiptrARB , GLvoid *)>(context->getProcAddress(procName: "glGetBufferSubDataARB" )); |
2409 | d->BufferSubDataARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLintptrARB , GLsizeiptrARB , const GLvoid *)>(context->getProcAddress(procName: "glBufferSubDataARB" )); |
2410 | d->BufferDataARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizeiptrARB , const GLvoid *, GLenum )>(context->getProcAddress(procName: "glBufferDataARB" )); |
2411 | d->IsBufferARB = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsBufferARB" )); |
2412 | d->GenBuffersARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenBuffersARB" )); |
2413 | d->DeleteBuffersARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteBuffersARB" )); |
2414 | d->BindBufferARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindBufferARB" )); |
2415 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2416 | return true; |
2417 | } |
2418 | |
2419 | QOpenGLExtension_ARB_vertex_program::QOpenGLExtension_ARB_vertex_program() |
2420 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_programPrivate)) |
2421 | { |
2422 | } |
2423 | |
2424 | bool QOpenGLExtension_ARB_vertex_program::initializeOpenGLFunctions() |
2425 | { |
2426 | if (isInitialized()) |
2427 | return true; |
2428 | |
2429 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2430 | if (!context) { |
2431 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2432 | return false; |
2433 | } |
2434 | |
2435 | // Resolve the functions |
2436 | Q_D(QOpenGLExtension_ARB_vertex_program); |
2437 | |
2438 | d->IsProgramARB = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsProgramARB" )); |
2439 | d->GetVertexAttribPointervARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetVertexAttribPointervARB" )); |
2440 | d->GetVertexAttribivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVertexAttribivARB" )); |
2441 | d->GetVertexAttribfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetVertexAttribfvARB" )); |
2442 | d->GetVertexAttribdvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetVertexAttribdvARB" )); |
2443 | d->GetProgramStringARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetProgramStringARB" )); |
2444 | d->GetProgramivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetProgramivARB" )); |
2445 | d->GetProgramLocalParameterfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetProgramLocalParameterfvARB" )); |
2446 | d->GetProgramLocalParameterdvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble *)>(context->getProcAddress(procName: "glGetProgramLocalParameterdvARB" )); |
2447 | d->GetProgramEnvParameterfvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetProgramEnvParameterfvARB" )); |
2448 | d->GetProgramEnvParameterdvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble *)>(context->getProcAddress(procName: "glGetProgramEnvParameterdvARB" )); |
2449 | d->ProgramLocalParameter4fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLfloat *)>(context->getProcAddress(procName: "glProgramLocalParameter4fvARB" )); |
2450 | d->ProgramLocalParameter4fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramLocalParameter4fARB" )); |
2451 | d->ProgramLocalParameter4dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLdouble *)>(context->getProcAddress(procName: "glProgramLocalParameter4dvARB" )); |
2452 | d->ProgramLocalParameter4dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramLocalParameter4dARB" )); |
2453 | d->ProgramEnvParameter4fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLfloat *)>(context->getProcAddress(procName: "glProgramEnvParameter4fvARB" )); |
2454 | d->ProgramEnvParameter4fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramEnvParameter4fARB" )); |
2455 | d->ProgramEnvParameter4dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLdouble *)>(context->getProcAddress(procName: "glProgramEnvParameter4dvARB" )); |
2456 | d->ProgramEnvParameter4dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramEnvParameter4dARB" )); |
2457 | d->GenProgramsARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenProgramsARB" )); |
2458 | d->DeleteProgramsARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteProgramsARB" )); |
2459 | d->BindProgramARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindProgramARB" )); |
2460 | d->ProgramStringARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glProgramStringARB" )); |
2461 | d->DisableVertexAttribArrayARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glDisableVertexAttribArrayARB" )); |
2462 | d->EnableVertexAttribArrayARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glEnableVertexAttribArrayARB" )); |
2463 | d->VertexAttribPointerARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLboolean , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexAttribPointerARB" )); |
2464 | d->VertexAttrib4usvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLushort *)>(context->getProcAddress(procName: "glVertexAttrib4usvARB" )); |
2465 | d->VertexAttrib4uivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVertexAttrib4uivARB" )); |
2466 | d->VertexAttrib4ubvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLubyte *)>(context->getProcAddress(procName: "glVertexAttrib4ubvARB" )); |
2467 | d->VertexAttrib4svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib4svARB" )); |
2468 | d->VertexAttrib4sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexAttrib4sARB" )); |
2469 | d->VertexAttrib4ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVertexAttrib4ivARB" )); |
2470 | d->VertexAttrib4fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib4fvARB" )); |
2471 | d->VertexAttrib4fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib4fARB" )); |
2472 | d->VertexAttrib4dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib4dvARB" )); |
2473 | d->VertexAttrib4dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib4dARB" )); |
2474 | d->VertexAttrib4bvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLbyte *)>(context->getProcAddress(procName: "glVertexAttrib4bvARB" )); |
2475 | d->VertexAttrib4NusvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLushort *)>(context->getProcAddress(procName: "glVertexAttrib4NusvARB" )); |
2476 | d->VertexAttrib4NuivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVertexAttrib4NuivARB" )); |
2477 | d->VertexAttrib4NubvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLubyte *)>(context->getProcAddress(procName: "glVertexAttrib4NubvARB" )); |
2478 | d->VertexAttrib4NubARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLubyte , GLubyte , GLubyte , GLubyte )>(context->getProcAddress(procName: "glVertexAttrib4NubARB" )); |
2479 | d->VertexAttrib4NsvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib4NsvARB" )); |
2480 | d->VertexAttrib4NivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVertexAttrib4NivARB" )); |
2481 | d->VertexAttrib4NbvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLbyte *)>(context->getProcAddress(procName: "glVertexAttrib4NbvARB" )); |
2482 | d->VertexAttrib3svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib3svARB" )); |
2483 | d->VertexAttrib3sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexAttrib3sARB" )); |
2484 | d->VertexAttrib3fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib3fvARB" )); |
2485 | d->VertexAttrib3fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib3fARB" )); |
2486 | d->VertexAttrib3dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib3dvARB" )); |
2487 | d->VertexAttrib3dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib3dARB" )); |
2488 | d->VertexAttrib2svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib2svARB" )); |
2489 | d->VertexAttrib2sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexAttrib2sARB" )); |
2490 | d->VertexAttrib2fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib2fvARB" )); |
2491 | d->VertexAttrib2fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib2fARB" )); |
2492 | d->VertexAttrib2dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib2dvARB" )); |
2493 | d->VertexAttrib2dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib2dARB" )); |
2494 | d->VertexAttrib1svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib1svARB" )); |
2495 | d->VertexAttrib1sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort )>(context->getProcAddress(procName: "glVertexAttrib1sARB" )); |
2496 | d->VertexAttrib1fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib1fvARB" )); |
2497 | d->VertexAttrib1fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib1fARB" )); |
2498 | d->VertexAttrib1dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib1dvARB" )); |
2499 | d->VertexAttrib1dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib1dARB" )); |
2500 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2501 | return true; |
2502 | } |
2503 | |
2504 | QOpenGLExtension_ARB_vertex_shader::QOpenGLExtension_ARB_vertex_shader() |
2505 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_shaderPrivate)) |
2506 | { |
2507 | } |
2508 | |
2509 | bool QOpenGLExtension_ARB_vertex_shader::initializeOpenGLFunctions() |
2510 | { |
2511 | if (isInitialized()) |
2512 | return true; |
2513 | |
2514 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2515 | if (!context) { |
2516 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2517 | return false; |
2518 | } |
2519 | |
2520 | // Resolve the functions |
2521 | Q_D(QOpenGLExtension_ARB_vertex_shader); |
2522 | |
2523 | d->GetAttribLocationARB = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLhandleARB , const GLcharARB *)>(context->getProcAddress(procName: "glGetAttribLocationARB" )); |
2524 | d->GetActiveAttribARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLuint , GLsizei , GLsizei *, GLint *, GLenum *, GLcharARB *)>(context->getProcAddress(procName: "glGetActiveAttribARB" )); |
2525 | d->BindAttribLocationARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhandleARB , GLuint , const GLcharARB *)>(context->getProcAddress(procName: "glBindAttribLocationARB" )); |
2526 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2527 | return true; |
2528 | } |
2529 | |
2530 | QOpenGLExtension_ARB_vertex_type_2_10_10_10_rev::QOpenGLExtension_ARB_vertex_type_2_10_10_10_rev() |
2531 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_vertex_type_2_10_10_10_revPrivate)) |
2532 | { |
2533 | } |
2534 | |
2535 | bool QOpenGLExtension_ARB_vertex_type_2_10_10_10_rev::initializeOpenGLFunctions() |
2536 | { |
2537 | if (isInitialized()) |
2538 | return true; |
2539 | |
2540 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2541 | if (!context) { |
2542 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2543 | return false; |
2544 | } |
2545 | |
2546 | // Resolve the functions |
2547 | Q_D(QOpenGLExtension_ARB_vertex_type_2_10_10_10_rev); |
2548 | |
2549 | d->VertexAttribP4uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribP4uiv" )); |
2550 | d->VertexAttribP4ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , GLuint )>(context->getProcAddress(procName: "glVertexAttribP4ui" )); |
2551 | d->VertexAttribP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribP3uiv" )); |
2552 | d->VertexAttribP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , GLuint )>(context->getProcAddress(procName: "glVertexAttribP3ui" )); |
2553 | d->VertexAttribP2uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribP2uiv" )); |
2554 | d->VertexAttribP2ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , GLuint )>(context->getProcAddress(procName: "glVertexAttribP2ui" )); |
2555 | d->VertexAttribP1uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribP1uiv" )); |
2556 | d->VertexAttribP1ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean , GLuint )>(context->getProcAddress(procName: "glVertexAttribP1ui" )); |
2557 | d->SecondaryColorP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glSecondaryColorP3uiv" )); |
2558 | d->SecondaryColorP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glSecondaryColorP3ui" )); |
2559 | d->ColorP4uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glColorP4uiv" )); |
2560 | d->ColorP4ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glColorP4ui" )); |
2561 | d->ColorP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glColorP3uiv" )); |
2562 | d->ColorP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glColorP3ui" )); |
2563 | d->NormalP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glNormalP3uiv" )); |
2564 | d->NormalP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glNormalP3ui" )); |
2565 | d->MultiTexCoordP4uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glMultiTexCoordP4uiv" )); |
2566 | d->MultiTexCoordP4ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glMultiTexCoordP4ui" )); |
2567 | d->MultiTexCoordP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glMultiTexCoordP3uiv" )); |
2568 | d->MultiTexCoordP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glMultiTexCoordP3ui" )); |
2569 | d->MultiTexCoordP2uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glMultiTexCoordP2uiv" )); |
2570 | d->MultiTexCoordP2ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glMultiTexCoordP2ui" )); |
2571 | d->MultiTexCoordP1uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glMultiTexCoordP1uiv" )); |
2572 | d->MultiTexCoordP1ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glMultiTexCoordP1ui" )); |
2573 | d->TexCoordP4uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glTexCoordP4uiv" )); |
2574 | d->TexCoordP4ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glTexCoordP4ui" )); |
2575 | d->TexCoordP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glTexCoordP3uiv" )); |
2576 | d->TexCoordP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glTexCoordP3ui" )); |
2577 | d->TexCoordP2uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glTexCoordP2uiv" )); |
2578 | d->TexCoordP2ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glTexCoordP2ui" )); |
2579 | d->TexCoordP1uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glTexCoordP1uiv" )); |
2580 | d->TexCoordP1ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glTexCoordP1ui" )); |
2581 | d->VertexP4uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glVertexP4uiv" )); |
2582 | d->VertexP4ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glVertexP4ui" )); |
2583 | d->VertexP3uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glVertexP3uiv" )); |
2584 | d->VertexP3ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glVertexP3ui" )); |
2585 | d->VertexP2uiv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLuint *)>(context->getProcAddress(procName: "glVertexP2uiv" )); |
2586 | d->VertexP2ui = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glVertexP2ui" )); |
2587 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2588 | return true; |
2589 | } |
2590 | |
2591 | QOpenGLExtension_ARB_viewport_array::QOpenGLExtension_ARB_viewport_array() |
2592 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_viewport_arrayPrivate)) |
2593 | { |
2594 | } |
2595 | |
2596 | bool QOpenGLExtension_ARB_viewport_array::initializeOpenGLFunctions() |
2597 | { |
2598 | if (isInitialized()) |
2599 | return true; |
2600 | |
2601 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2602 | if (!context) { |
2603 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2604 | return false; |
2605 | } |
2606 | |
2607 | // Resolve the functions |
2608 | Q_D(QOpenGLExtension_ARB_viewport_array); |
2609 | |
2610 | d->GetDoublei_v = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble *)>(context->getProcAddress(procName: "glGetDoublei_v" )); |
2611 | d->GetFloati_v = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetFloati_v" )); |
2612 | d->DepthRangeIndexed = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glDepthRangeIndexed" )); |
2613 | d->DepthRangeArrayv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glDepthRangeArrayv" )); |
2614 | d->ScissorIndexedv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glScissorIndexedv" )); |
2615 | d->ScissorIndexed = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glScissorIndexed" )); |
2616 | d->ScissorArrayv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glScissorArrayv" )); |
2617 | d->ViewportIndexedfv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glViewportIndexedfv" )); |
2618 | d->ViewportIndexedf = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glViewportIndexedf" )); |
2619 | d->ViewportArrayv = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glViewportArrayv" )); |
2620 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2621 | return true; |
2622 | } |
2623 | |
2624 | QOpenGLExtension_ARB_window_pos::QOpenGLExtension_ARB_window_pos() |
2625 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ARB_window_posPrivate)) |
2626 | { |
2627 | } |
2628 | |
2629 | bool QOpenGLExtension_ARB_window_pos::initializeOpenGLFunctions() |
2630 | { |
2631 | if (isInitialized()) |
2632 | return true; |
2633 | |
2634 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2635 | if (!context) { |
2636 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2637 | return false; |
2638 | } |
2639 | |
2640 | // Resolve the functions |
2641 | Q_D(QOpenGLExtension_ARB_window_pos); |
2642 | |
2643 | d->WindowPos3svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glWindowPos3svARB" )); |
2644 | d->WindowPos3sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glWindowPos3sARB" )); |
2645 | d->WindowPos3ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glWindowPos3ivARB" )); |
2646 | d->WindowPos3iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint )>(context->getProcAddress(procName: "glWindowPos3iARB" )); |
2647 | d->WindowPos3fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glWindowPos3fvARB" )); |
2648 | d->WindowPos3fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glWindowPos3fARB" )); |
2649 | d->WindowPos3dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glWindowPos3dvARB" )); |
2650 | d->WindowPos3dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glWindowPos3dARB" )); |
2651 | d->WindowPos2svARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glWindowPos2svARB" )); |
2652 | d->WindowPos2sARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort )>(context->getProcAddress(procName: "glWindowPos2sARB" )); |
2653 | d->WindowPos2ivARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glWindowPos2ivARB" )); |
2654 | d->WindowPos2iARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint )>(context->getProcAddress(procName: "glWindowPos2iARB" )); |
2655 | d->WindowPos2fvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glWindowPos2fvARB" )); |
2656 | d->WindowPos2fARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat )>(context->getProcAddress(procName: "glWindowPos2fARB" )); |
2657 | d->WindowPos2dvARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glWindowPos2dvARB" )); |
2658 | d->WindowPos2dARB = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble )>(context->getProcAddress(procName: "glWindowPos2dARB" )); |
2659 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2660 | return true; |
2661 | } |
2662 | |
2663 | QOpenGLExtension_ATI_draw_buffers::QOpenGLExtension_ATI_draw_buffers() |
2664 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_draw_buffersPrivate)) |
2665 | { |
2666 | } |
2667 | |
2668 | bool QOpenGLExtension_ATI_draw_buffers::initializeOpenGLFunctions() |
2669 | { |
2670 | if (isInitialized()) |
2671 | return true; |
2672 | |
2673 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2674 | if (!context) { |
2675 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2676 | return false; |
2677 | } |
2678 | |
2679 | // Resolve the functions |
2680 | Q_D(QOpenGLExtension_ATI_draw_buffers); |
2681 | |
2682 | d->DrawBuffersATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLenum *)>(context->getProcAddress(procName: "glDrawBuffersATI" )); |
2683 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2684 | return true; |
2685 | } |
2686 | |
2687 | QOpenGLExtension_ATI_element_array::QOpenGLExtension_ATI_element_array() |
2688 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_element_arrayPrivate)) |
2689 | { |
2690 | } |
2691 | |
2692 | bool QOpenGLExtension_ATI_element_array::initializeOpenGLFunctions() |
2693 | { |
2694 | if (isInitialized()) |
2695 | return true; |
2696 | |
2697 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2698 | if (!context) { |
2699 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2700 | return false; |
2701 | } |
2702 | |
2703 | // Resolve the functions |
2704 | Q_D(QOpenGLExtension_ATI_element_array); |
2705 | |
2706 | d->DrawRangeElementArrayATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei )>(context->getProcAddress(procName: "glDrawRangeElementArrayATI" )); |
2707 | d->DrawElementArrayATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei )>(context->getProcAddress(procName: "glDrawElementArrayATI" )); |
2708 | d->ElementPointerATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLvoid *)>(context->getProcAddress(procName: "glElementPointerATI" )); |
2709 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2710 | return true; |
2711 | } |
2712 | |
2713 | QOpenGLExtension_ATI_envmap_bumpmap::QOpenGLExtension_ATI_envmap_bumpmap() |
2714 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_envmap_bumpmapPrivate)) |
2715 | { |
2716 | } |
2717 | |
2718 | bool QOpenGLExtension_ATI_envmap_bumpmap::initializeOpenGLFunctions() |
2719 | { |
2720 | if (isInitialized()) |
2721 | return true; |
2722 | |
2723 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2724 | if (!context) { |
2725 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2726 | return false; |
2727 | } |
2728 | |
2729 | // Resolve the functions |
2730 | Q_D(QOpenGLExtension_ATI_envmap_bumpmap); |
2731 | |
2732 | d->GetTexBumpParameterfvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetTexBumpParameterfvATI" )); |
2733 | d->GetTexBumpParameterivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint *)>(context->getProcAddress(procName: "glGetTexBumpParameterivATI" )); |
2734 | d->TexBumpParameterfvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glTexBumpParameterfvATI" )); |
2735 | d->TexBumpParameterivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glTexBumpParameterivATI" )); |
2736 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2737 | return true; |
2738 | } |
2739 | |
2740 | QOpenGLExtension_ATI_fragment_shader::QOpenGLExtension_ATI_fragment_shader() |
2741 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_fragment_shaderPrivate)) |
2742 | { |
2743 | } |
2744 | |
2745 | bool QOpenGLExtension_ATI_fragment_shader::initializeOpenGLFunctions() |
2746 | { |
2747 | if (isInitialized()) |
2748 | return true; |
2749 | |
2750 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2751 | if (!context) { |
2752 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2753 | return false; |
2754 | } |
2755 | |
2756 | // Resolve the functions |
2757 | Q_D(QOpenGLExtension_ATI_fragment_shader); |
2758 | |
2759 | d->SetFragmentShaderConstantATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glSetFragmentShaderConstantATI" )); |
2760 | d->AlphaFragmentOp3ATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glAlphaFragmentOp3ATI" )); |
2761 | d->AlphaFragmentOp2ATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glAlphaFragmentOp2ATI" )); |
2762 | d->AlphaFragmentOp1ATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glAlphaFragmentOp1ATI" )); |
2763 | d->ColorFragmentOp3ATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glColorFragmentOp3ATI" )); |
2764 | d->ColorFragmentOp2ATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glColorFragmentOp2ATI" )); |
2765 | d->ColorFragmentOp1ATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glColorFragmentOp1ATI" )); |
2766 | d->SampleMapATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum )>(context->getProcAddress(procName: "glSampleMapATI" )); |
2767 | d->PassTexCoordATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum )>(context->getProcAddress(procName: "glPassTexCoordATI" )); |
2768 | d->EndFragmentShaderATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glEndFragmentShaderATI" )); |
2769 | d->BeginFragmentShaderATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glBeginFragmentShaderATI" )); |
2770 | d->DeleteFragmentShaderATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glDeleteFragmentShaderATI" )); |
2771 | d->BindFragmentShaderATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBindFragmentShaderATI" )); |
2772 | d->GenFragmentShadersATI = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glGenFragmentShadersATI" )); |
2773 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2774 | return true; |
2775 | } |
2776 | |
2777 | QOpenGLExtension_ATI_map_object_buffer::QOpenGLExtension_ATI_map_object_buffer() |
2778 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_map_object_bufferPrivate)) |
2779 | { |
2780 | } |
2781 | |
2782 | bool QOpenGLExtension_ATI_map_object_buffer::initializeOpenGLFunctions() |
2783 | { |
2784 | if (isInitialized()) |
2785 | return true; |
2786 | |
2787 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2788 | if (!context) { |
2789 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2790 | return false; |
2791 | } |
2792 | |
2793 | // Resolve the functions |
2794 | Q_D(QOpenGLExtension_ATI_map_object_buffer); |
2795 | |
2796 | d->UnmapObjectBufferATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glUnmapObjectBufferATI" )); |
2797 | d->MapObjectBufferATI = reinterpret_cast<GLvoid* (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glMapObjectBufferATI" )); |
2798 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2799 | return true; |
2800 | } |
2801 | |
2802 | QOpenGLExtension_ATI_pn_triangles::QOpenGLExtension_ATI_pn_triangles() |
2803 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_pn_trianglesPrivate)) |
2804 | { |
2805 | } |
2806 | |
2807 | bool QOpenGLExtension_ATI_pn_triangles::initializeOpenGLFunctions() |
2808 | { |
2809 | if (isInitialized()) |
2810 | return true; |
2811 | |
2812 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2813 | if (!context) { |
2814 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2815 | return false; |
2816 | } |
2817 | |
2818 | // Resolve the functions |
2819 | Q_D(QOpenGLExtension_ATI_pn_triangles); |
2820 | |
2821 | d->PNTrianglesfATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glPNTrianglesfATI" )); |
2822 | d->PNTrianglesiATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glPNTrianglesiATI" )); |
2823 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2824 | return true; |
2825 | } |
2826 | |
2827 | QOpenGLExtension_ATI_separate_stencil::QOpenGLExtension_ATI_separate_stencil() |
2828 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_separate_stencilPrivate)) |
2829 | { |
2830 | } |
2831 | |
2832 | bool QOpenGLExtension_ATI_separate_stencil::initializeOpenGLFunctions() |
2833 | { |
2834 | if (isInitialized()) |
2835 | return true; |
2836 | |
2837 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2838 | if (!context) { |
2839 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2840 | return false; |
2841 | } |
2842 | |
2843 | // Resolve the functions |
2844 | Q_D(QOpenGLExtension_ATI_separate_stencil); |
2845 | |
2846 | d->StencilFuncSeparateATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLuint )>(context->getProcAddress(procName: "glStencilFuncSeparateATI" )); |
2847 | d->StencilOpSeparateATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glStencilOpSeparateATI" )); |
2848 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2849 | return true; |
2850 | } |
2851 | |
2852 | QOpenGLExtension_ATI_vertex_array_object::QOpenGLExtension_ATI_vertex_array_object() |
2853 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_vertex_array_objectPrivate)) |
2854 | { |
2855 | } |
2856 | |
2857 | bool QOpenGLExtension_ATI_vertex_array_object::initializeOpenGLFunctions() |
2858 | { |
2859 | if (isInitialized()) |
2860 | return true; |
2861 | |
2862 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2863 | if (!context) { |
2864 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2865 | return false; |
2866 | } |
2867 | |
2868 | // Resolve the functions |
2869 | Q_D(QOpenGLExtension_ATI_vertex_array_object); |
2870 | |
2871 | d->GetVariantArrayObjectivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVariantArrayObjectivATI" )); |
2872 | d->GetVariantArrayObjectfvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetVariantArrayObjectfvATI" )); |
2873 | d->VariantArrayObjectATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLuint , GLuint )>(context->getProcAddress(procName: "glVariantArrayObjectATI" )); |
2874 | d->GetArrayObjectivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetArrayObjectivATI" )); |
2875 | d->GetArrayObjectfvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetArrayObjectfvATI" )); |
2876 | d->ArrayObjectATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , GLuint , GLuint )>(context->getProcAddress(procName: "glArrayObjectATI" )); |
2877 | d->FreeObjectBufferATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glFreeObjectBufferATI" )); |
2878 | d->GetObjectBufferivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetObjectBufferivATI" )); |
2879 | d->GetObjectBufferfvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetObjectBufferfvATI" )); |
2880 | d->UpdateObjectBufferATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLsizei , const GLvoid *, GLenum )>(context->getProcAddress(procName: "glUpdateObjectBufferATI" )); |
2881 | d->IsObjectBufferATI = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsObjectBufferATI" )); |
2882 | d->NewObjectBufferATI = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLsizei , const GLvoid *, GLenum )>(context->getProcAddress(procName: "glNewObjectBufferATI" )); |
2883 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2884 | return true; |
2885 | } |
2886 | |
2887 | QOpenGLExtension_ATI_vertex_attrib_array_object::QOpenGLExtension_ATI_vertex_attrib_array_object() |
2888 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_vertex_attrib_array_objectPrivate)) |
2889 | { |
2890 | } |
2891 | |
2892 | bool QOpenGLExtension_ATI_vertex_attrib_array_object::initializeOpenGLFunctions() |
2893 | { |
2894 | if (isInitialized()) |
2895 | return true; |
2896 | |
2897 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2898 | if (!context) { |
2899 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2900 | return false; |
2901 | } |
2902 | |
2903 | // Resolve the functions |
2904 | Q_D(QOpenGLExtension_ATI_vertex_attrib_array_object); |
2905 | |
2906 | d->GetVertexAttribArrayObjectivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVertexAttribArrayObjectivATI" )); |
2907 | d->GetVertexAttribArrayObjectfvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetVertexAttribArrayObjectfvATI" )); |
2908 | d->VertexAttribArrayObjectATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLboolean , GLsizei , GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribArrayObjectATI" )); |
2909 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2910 | return true; |
2911 | } |
2912 | |
2913 | QOpenGLExtension_ATI_vertex_streams::QOpenGLExtension_ATI_vertex_streams() |
2914 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ATI_vertex_streamsPrivate)) |
2915 | { |
2916 | } |
2917 | |
2918 | bool QOpenGLExtension_ATI_vertex_streams::initializeOpenGLFunctions() |
2919 | { |
2920 | if (isInitialized()) |
2921 | return true; |
2922 | |
2923 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2924 | if (!context) { |
2925 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2926 | return false; |
2927 | } |
2928 | |
2929 | // Resolve the functions |
2930 | Q_D(QOpenGLExtension_ATI_vertex_streams); |
2931 | |
2932 | d->VertexBlendEnvfATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glVertexBlendEnvfATI" )); |
2933 | d->VertexBlendEnviATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glVertexBlendEnviATI" )); |
2934 | d->ClientActiveVertexStreamATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glClientActiveVertexStreamATI" )); |
2935 | d->NormalStream3dvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glNormalStream3dvATI" )); |
2936 | d->NormalStream3dATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glNormalStream3dATI" )); |
2937 | d->NormalStream3fvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glNormalStream3fvATI" )); |
2938 | d->NormalStream3fATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glNormalStream3fATI" )); |
2939 | d->NormalStream3ivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glNormalStream3ivATI" )); |
2940 | d->NormalStream3iATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint )>(context->getProcAddress(procName: "glNormalStream3iATI" )); |
2941 | d->NormalStream3svATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glNormalStream3svATI" )); |
2942 | d->NormalStream3sATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glNormalStream3sATI" )); |
2943 | d->NormalStream3bvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLbyte *)>(context->getProcAddress(procName: "glNormalStream3bvATI" )); |
2944 | d->NormalStream3bATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLbyte , GLbyte , GLbyte )>(context->getProcAddress(procName: "glNormalStream3bATI" )); |
2945 | d->VertexStream4dvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glVertexStream4dvATI" )); |
2946 | d->VertexStream4dATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexStream4dATI" )); |
2947 | d->VertexStream4fvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glVertexStream4fvATI" )); |
2948 | d->VertexStream4fATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexStream4fATI" )); |
2949 | d->VertexStream4ivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glVertexStream4ivATI" )); |
2950 | d->VertexStream4iATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glVertexStream4iATI" )); |
2951 | d->VertexStream4svATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glVertexStream4svATI" )); |
2952 | d->VertexStream4sATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexStream4sATI" )); |
2953 | d->VertexStream3dvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glVertexStream3dvATI" )); |
2954 | d->VertexStream3dATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexStream3dATI" )); |
2955 | d->VertexStream3fvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glVertexStream3fvATI" )); |
2956 | d->VertexStream3fATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexStream3fATI" )); |
2957 | d->VertexStream3ivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glVertexStream3ivATI" )); |
2958 | d->VertexStream3iATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint )>(context->getProcAddress(procName: "glVertexStream3iATI" )); |
2959 | d->VertexStream3svATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glVertexStream3svATI" )); |
2960 | d->VertexStream3sATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexStream3sATI" )); |
2961 | d->VertexStream2dvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glVertexStream2dvATI" )); |
2962 | d->VertexStream2dATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexStream2dATI" )); |
2963 | d->VertexStream2fvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glVertexStream2fvATI" )); |
2964 | d->VertexStream2fATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexStream2fATI" )); |
2965 | d->VertexStream2ivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glVertexStream2ivATI" )); |
2966 | d->VertexStream2iATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint )>(context->getProcAddress(procName: "glVertexStream2iATI" )); |
2967 | d->VertexStream2svATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glVertexStream2svATI" )); |
2968 | d->VertexStream2sATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexStream2sATI" )); |
2969 | d->VertexStream1dvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glVertexStream1dvATI" )); |
2970 | d->VertexStream1dATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble )>(context->getProcAddress(procName: "glVertexStream1dATI" )); |
2971 | d->VertexStream1fvATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glVertexStream1fvATI" )); |
2972 | d->VertexStream1fATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glVertexStream1fATI" )); |
2973 | d->VertexStream1ivATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glVertexStream1ivATI" )); |
2974 | d->VertexStream1iATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glVertexStream1iATI" )); |
2975 | d->VertexStream1svATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLshort *)>(context->getProcAddress(procName: "glVertexStream1svATI" )); |
2976 | d->VertexStream1sATI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLshort )>(context->getProcAddress(procName: "glVertexStream1sATI" )); |
2977 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
2978 | return true; |
2979 | } |
2980 | |
2981 | QOpenGLExtension_EXT_bindable_uniform::QOpenGLExtension_EXT_bindable_uniform() |
2982 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_bindable_uniformPrivate)) |
2983 | { |
2984 | } |
2985 | |
2986 | bool QOpenGLExtension_EXT_bindable_uniform::initializeOpenGLFunctions() |
2987 | { |
2988 | if (isInitialized()) |
2989 | return true; |
2990 | |
2991 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
2992 | if (!context) { |
2993 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
2994 | return false; |
2995 | } |
2996 | |
2997 | // Resolve the functions |
2998 | Q_D(QOpenGLExtension_EXT_bindable_uniform); |
2999 | |
3000 | d->GetUniformOffsetEXT = reinterpret_cast<GLintptr (QOPENGLF_APIENTRYP)(GLuint , GLint )>(context->getProcAddress(procName: "glGetUniformOffsetEXT" )); |
3001 | d->GetUniformBufferSizeEXT = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , GLint )>(context->getProcAddress(procName: "glGetUniformBufferSizeEXT" )); |
3002 | d->UniformBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint )>(context->getProcAddress(procName: "glUniformBufferEXT" )); |
3003 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3004 | return true; |
3005 | } |
3006 | |
3007 | QOpenGLExtension_EXT_blend_color::QOpenGLExtension_EXT_blend_color() |
3008 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_blend_colorPrivate)) |
3009 | { |
3010 | } |
3011 | |
3012 | bool QOpenGLExtension_EXT_blend_color::initializeOpenGLFunctions() |
3013 | { |
3014 | if (isInitialized()) |
3015 | return true; |
3016 | |
3017 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3018 | if (!context) { |
3019 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3020 | return false; |
3021 | } |
3022 | |
3023 | // Resolve the functions |
3024 | Q_D(QOpenGLExtension_EXT_blend_color); |
3025 | |
3026 | d->BlendColorEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glBlendColorEXT" )); |
3027 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3028 | return true; |
3029 | } |
3030 | |
3031 | QOpenGLExtension_EXT_blend_equation_separate::QOpenGLExtension_EXT_blend_equation_separate() |
3032 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_blend_equation_separatePrivate)) |
3033 | { |
3034 | } |
3035 | |
3036 | bool QOpenGLExtension_EXT_blend_equation_separate::initializeOpenGLFunctions() |
3037 | { |
3038 | if (isInitialized()) |
3039 | return true; |
3040 | |
3041 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3042 | if (!context) { |
3043 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3044 | return false; |
3045 | } |
3046 | |
3047 | // Resolve the functions |
3048 | Q_D(QOpenGLExtension_EXT_blend_equation_separate); |
3049 | |
3050 | d->BlendEquationSeparateEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glBlendEquationSeparateEXT" )); |
3051 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3052 | return true; |
3053 | } |
3054 | |
3055 | QOpenGLExtension_EXT_blend_func_separate::QOpenGLExtension_EXT_blend_func_separate() |
3056 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_blend_func_separatePrivate)) |
3057 | { |
3058 | } |
3059 | |
3060 | bool QOpenGLExtension_EXT_blend_func_separate::initializeOpenGLFunctions() |
3061 | { |
3062 | if (isInitialized()) |
3063 | return true; |
3064 | |
3065 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3066 | if (!context) { |
3067 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3068 | return false; |
3069 | } |
3070 | |
3071 | // Resolve the functions |
3072 | Q_D(QOpenGLExtension_EXT_blend_func_separate); |
3073 | |
3074 | d->BlendFuncSeparateEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendFuncSeparateEXT" )); |
3075 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3076 | return true; |
3077 | } |
3078 | |
3079 | QOpenGLExtension_EXT_blend_minmax::QOpenGLExtension_EXT_blend_minmax() |
3080 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_blend_minmaxPrivate)) |
3081 | { |
3082 | } |
3083 | |
3084 | bool QOpenGLExtension_EXT_blend_minmax::initializeOpenGLFunctions() |
3085 | { |
3086 | if (isInitialized()) |
3087 | return true; |
3088 | |
3089 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3090 | if (!context) { |
3091 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3092 | return false; |
3093 | } |
3094 | |
3095 | // Resolve the functions |
3096 | Q_D(QOpenGLExtension_EXT_blend_minmax); |
3097 | |
3098 | d->BlendEquationEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glBlendEquationEXT" )); |
3099 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3100 | return true; |
3101 | } |
3102 | |
3103 | QOpenGLExtension_EXT_color_subtable::QOpenGLExtension_EXT_color_subtable() |
3104 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_color_subtablePrivate)) |
3105 | { |
3106 | } |
3107 | |
3108 | bool QOpenGLExtension_EXT_color_subtable::initializeOpenGLFunctions() |
3109 | { |
3110 | if (isInitialized()) |
3111 | return true; |
3112 | |
3113 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3114 | if (!context) { |
3115 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3116 | return false; |
3117 | } |
3118 | |
3119 | // Resolve the functions |
3120 | Q_D(QOpenGLExtension_EXT_color_subtable); |
3121 | |
3122 | d->CopyColorSubTableEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLint , GLint , GLsizei )>(context->getProcAddress(procName: "glCopyColorSubTableEXT" )); |
3123 | d->ColorSubTableEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glColorSubTableEXT" )); |
3124 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3125 | return true; |
3126 | } |
3127 | |
3128 | QOpenGLExtension_EXT_compiled_vertex_array::QOpenGLExtension_EXT_compiled_vertex_array() |
3129 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_compiled_vertex_arrayPrivate)) |
3130 | { |
3131 | } |
3132 | |
3133 | bool QOpenGLExtension_EXT_compiled_vertex_array::initializeOpenGLFunctions() |
3134 | { |
3135 | if (isInitialized()) |
3136 | return true; |
3137 | |
3138 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3139 | if (!context) { |
3140 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3141 | return false; |
3142 | } |
3143 | |
3144 | // Resolve the functions |
3145 | Q_D(QOpenGLExtension_EXT_compiled_vertex_array); |
3146 | |
3147 | d->UnlockArraysEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glUnlockArraysEXT" )); |
3148 | d->LockArraysEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei )>(context->getProcAddress(procName: "glLockArraysEXT" )); |
3149 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3150 | return true; |
3151 | } |
3152 | |
3153 | QOpenGLExtension_EXT_convolution::QOpenGLExtension_EXT_convolution() |
3154 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_convolutionPrivate)) |
3155 | { |
3156 | } |
3157 | |
3158 | bool QOpenGLExtension_EXT_convolution::initializeOpenGLFunctions() |
3159 | { |
3160 | if (isInitialized()) |
3161 | return true; |
3162 | |
3163 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3164 | if (!context) { |
3165 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3166 | return false; |
3167 | } |
3168 | |
3169 | // Resolve the functions |
3170 | Q_D(QOpenGLExtension_EXT_convolution); |
3171 | |
3172 | d->SeparableFilter2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *, const GLvoid *)>(context->getProcAddress(procName: "glSeparableFilter2DEXT" )); |
3173 | d->GetSeparableFilterEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLvoid *, GLvoid *, GLvoid *)>(context->getProcAddress(procName: "glGetSeparableFilterEXT" )); |
3174 | d->GetConvolutionParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetConvolutionParameterivEXT" )); |
3175 | d->GetConvolutionParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetConvolutionParameterfvEXT" )); |
3176 | d->GetConvolutionFilterEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetConvolutionFilterEXT" )); |
3177 | d->CopyConvolutionFilter2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyConvolutionFilter2DEXT" )); |
3178 | d->CopyConvolutionFilter1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLsizei )>(context->getProcAddress(procName: "glCopyConvolutionFilter1DEXT" )); |
3179 | d->ConvolutionParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glConvolutionParameterivEXT" )); |
3180 | d->ConvolutionParameteriEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glConvolutionParameteriEXT" )); |
3181 | d->ConvolutionParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glConvolutionParameterfvEXT" )); |
3182 | d->ConvolutionParameterfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glConvolutionParameterfEXT" )); |
3183 | d->ConvolutionFilter2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glConvolutionFilter2DEXT" )); |
3184 | d->ConvolutionFilter1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glConvolutionFilter1DEXT" )); |
3185 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3186 | return true; |
3187 | } |
3188 | |
3189 | QOpenGLExtension_EXT_coordinate_frame::QOpenGLExtension_EXT_coordinate_frame() |
3190 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_coordinate_framePrivate)) |
3191 | { |
3192 | } |
3193 | |
3194 | bool QOpenGLExtension_EXT_coordinate_frame::initializeOpenGLFunctions() |
3195 | { |
3196 | if (isInitialized()) |
3197 | return true; |
3198 | |
3199 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3200 | if (!context) { |
3201 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3202 | return false; |
3203 | } |
3204 | |
3205 | // Resolve the functions |
3206 | Q_D(QOpenGLExtension_EXT_coordinate_frame); |
3207 | |
3208 | d->BinormalPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glBinormalPointerEXT" )); |
3209 | d->TangentPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glTangentPointerEXT" )); |
3210 | d->Binormal3svEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glBinormal3svEXT" )); |
3211 | d->Binormal3sEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glBinormal3sEXT" )); |
3212 | d->Binormal3ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glBinormal3ivEXT" )); |
3213 | d->Binormal3iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint )>(context->getProcAddress(procName: "glBinormal3iEXT" )); |
3214 | d->Binormal3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glBinormal3fvEXT" )); |
3215 | d->Binormal3fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glBinormal3fEXT" )); |
3216 | d->Binormal3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glBinormal3dvEXT" )); |
3217 | d->Binormal3dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glBinormal3dEXT" )); |
3218 | d->Binormal3bvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLbyte *)>(context->getProcAddress(procName: "glBinormal3bvEXT" )); |
3219 | d->Binormal3bEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbyte , GLbyte , GLbyte )>(context->getProcAddress(procName: "glBinormal3bEXT" )); |
3220 | d->Tangent3svEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glTangent3svEXT" )); |
3221 | d->Tangent3sEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glTangent3sEXT" )); |
3222 | d->Tangent3ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glTangent3ivEXT" )); |
3223 | d->Tangent3iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint )>(context->getProcAddress(procName: "glTangent3iEXT" )); |
3224 | d->Tangent3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glTangent3fvEXT" )); |
3225 | d->Tangent3fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTangent3fEXT" )); |
3226 | d->Tangent3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glTangent3dvEXT" )); |
3227 | d->Tangent3dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glTangent3dEXT" )); |
3228 | d->Tangent3bvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLbyte *)>(context->getProcAddress(procName: "glTangent3bvEXT" )); |
3229 | d->Tangent3bEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbyte , GLbyte , GLbyte )>(context->getProcAddress(procName: "glTangent3bEXT" )); |
3230 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3231 | return true; |
3232 | } |
3233 | |
3234 | QOpenGLExtension_EXT_copy_texture::QOpenGLExtension_EXT_copy_texture() |
3235 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_copy_texturePrivate)) |
3236 | { |
3237 | } |
3238 | |
3239 | bool QOpenGLExtension_EXT_copy_texture::initializeOpenGLFunctions() |
3240 | { |
3241 | if (isInitialized()) |
3242 | return true; |
3243 | |
3244 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3245 | if (!context) { |
3246 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3247 | return false; |
3248 | } |
3249 | |
3250 | // Resolve the functions |
3251 | Q_D(QOpenGLExtension_EXT_copy_texture); |
3252 | |
3253 | d->CopyTexSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyTexSubImage3DEXT" )); |
3254 | d->CopyTexSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyTexSubImage2DEXT" )); |
3255 | d->CopyTexSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint , GLsizei )>(context->getProcAddress(procName: "glCopyTexSubImage1DEXT" )); |
3256 | d->CopyTexImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLint , GLint , GLsizei , GLsizei , GLint )>(context->getProcAddress(procName: "glCopyTexImage2DEXT" )); |
3257 | d->CopyTexImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLint , GLint , GLsizei , GLint )>(context->getProcAddress(procName: "glCopyTexImage1DEXT" )); |
3258 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3259 | return true; |
3260 | } |
3261 | |
3262 | QOpenGLExtension_EXT_cull_vertex::QOpenGLExtension_EXT_cull_vertex() |
3263 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_cull_vertexPrivate)) |
3264 | { |
3265 | } |
3266 | |
3267 | bool QOpenGLExtension_EXT_cull_vertex::initializeOpenGLFunctions() |
3268 | { |
3269 | if (isInitialized()) |
3270 | return true; |
3271 | |
3272 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3273 | if (!context) { |
3274 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3275 | return false; |
3276 | } |
3277 | |
3278 | // Resolve the functions |
3279 | Q_D(QOpenGLExtension_EXT_cull_vertex); |
3280 | |
3281 | d->CullParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat *)>(context->getProcAddress(procName: "glCullParameterfvEXT" )); |
3282 | d->CullParameterdvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble *)>(context->getProcAddress(procName: "glCullParameterdvEXT" )); |
3283 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3284 | return true; |
3285 | } |
3286 | |
3287 | QOpenGLExtension_EXT_depth_bounds_test::QOpenGLExtension_EXT_depth_bounds_test() |
3288 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_depth_bounds_testPrivate)) |
3289 | { |
3290 | } |
3291 | |
3292 | bool QOpenGLExtension_EXT_depth_bounds_test::initializeOpenGLFunctions() |
3293 | { |
3294 | if (isInitialized()) |
3295 | return true; |
3296 | |
3297 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3298 | if (!context) { |
3299 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3300 | return false; |
3301 | } |
3302 | |
3303 | // Resolve the functions |
3304 | Q_D(QOpenGLExtension_EXT_depth_bounds_test); |
3305 | |
3306 | d->DepthBoundsEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLclampd , GLclampd )>(context->getProcAddress(procName: "glDepthBoundsEXT" )); |
3307 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3308 | return true; |
3309 | } |
3310 | |
3311 | QOpenGLExtension_EXT_direct_state_access::QOpenGLExtension_EXT_direct_state_access() |
3312 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_direct_state_accessPrivate)) |
3313 | { |
3314 | } |
3315 | |
3316 | bool QOpenGLExtension_EXT_direct_state_access::initializeOpenGLFunctions() |
3317 | { |
3318 | if (isInitialized()) |
3319 | return true; |
3320 | |
3321 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3322 | if (!context) { |
3323 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3324 | return false; |
3325 | } |
3326 | |
3327 | // Resolve the functions |
3328 | Q_D(QOpenGLExtension_EXT_direct_state_access); |
3329 | |
3330 | d->ProgramUniformMatrix4x3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x3dvEXT" )); |
3331 | d->ProgramUniformMatrix4x2dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x2dvEXT" )); |
3332 | d->ProgramUniformMatrix3x4dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x4dvEXT" )); |
3333 | d->ProgramUniformMatrix3x2dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x2dvEXT" )); |
3334 | d->ProgramUniformMatrix2x4dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x4dvEXT" )); |
3335 | d->ProgramUniformMatrix2x3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x3dvEXT" )); |
3336 | d->ProgramUniformMatrix4dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix4dvEXT" )); |
3337 | d->ProgramUniformMatrix3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix3dvEXT" )); |
3338 | d->ProgramUniformMatrix2dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniformMatrix2dvEXT" )); |
3339 | d->ProgramUniform4dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform4dvEXT" )); |
3340 | d->ProgramUniform3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform3dvEXT" )); |
3341 | d->ProgramUniform2dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform2dvEXT" )); |
3342 | d->ProgramUniform1dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramUniform1dvEXT" )); |
3343 | d->ProgramUniform4dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramUniform4dEXT" )); |
3344 | d->ProgramUniform3dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramUniform3dEXT" )); |
3345 | d->ProgramUniform2dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramUniform2dEXT" )); |
3346 | d->ProgramUniform1dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLdouble )>(context->getProcAddress(procName: "glProgramUniform1dEXT" )); |
3347 | d->MultiTexRenderbufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glMultiTexRenderbufferEXT" )); |
3348 | d->TextureRenderbufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint )>(context->getProcAddress(procName: "glTextureRenderbufferEXT" )); |
3349 | d->NamedFramebufferTextureFaceEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLint , GLenum )>(context->getProcAddress(procName: "glNamedFramebufferTextureFaceEXT" )); |
3350 | d->NamedFramebufferTextureLayerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glNamedFramebufferTextureLayerEXT" )); |
3351 | d->NamedFramebufferTextureEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glNamedFramebufferTextureEXT" )); |
3352 | d->NamedRenderbufferStorageMultisampleCoverageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glNamedRenderbufferStorageMultisampleCoverageEXT" )); |
3353 | d->NamedRenderbufferStorageMultisampleEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glNamedRenderbufferStorageMultisampleEXT" )); |
3354 | d->GetFramebufferParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFramebufferParameterivEXT" )); |
3355 | d->FramebufferReadBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glFramebufferReadBufferEXT" )); |
3356 | d->FramebufferDrawBuffersEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLenum *)>(context->getProcAddress(procName: "glFramebufferDrawBuffersEXT" )); |
3357 | d->FramebufferDrawBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glFramebufferDrawBufferEXT" )); |
3358 | d->GenerateMultiTexMipmapEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glGenerateMultiTexMipmapEXT" )); |
3359 | d->GenerateTextureMipmapEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glGenerateTextureMipmapEXT" )); |
3360 | d->GetNamedFramebufferAttachmentParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetNamedFramebufferAttachmentParameterivEXT" )); |
3361 | d->NamedFramebufferRenderbufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glNamedFramebufferRenderbufferEXT" )); |
3362 | d->NamedFramebufferTexture3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glNamedFramebufferTexture3DEXT" )); |
3363 | d->NamedFramebufferTexture2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glNamedFramebufferTexture2DEXT" )); |
3364 | d->NamedFramebufferTexture1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glNamedFramebufferTexture1DEXT" )); |
3365 | d->CheckNamedFramebufferStatusEXT = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glCheckNamedFramebufferStatusEXT" )); |
3366 | d->GetNamedRenderbufferParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetNamedRenderbufferParameterivEXT" )); |
3367 | d->NamedRenderbufferStorageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glNamedRenderbufferStorageEXT" )); |
3368 | d->MultiTexBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glMultiTexBufferEXT" )); |
3369 | d->TextureBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glTextureBufferEXT" )); |
3370 | d->GetNamedBufferSubDataEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLintptr , GLsizeiptr , GLvoid *)>(context->getProcAddress(procName: "glGetNamedBufferSubDataEXT" )); |
3371 | d->GetNamedBufferPointervEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetNamedBufferPointervEXT" )); |
3372 | d->GetNamedBufferParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetNamedBufferParameterivEXT" )); |
3373 | d->NamedCopyBufferSubDataEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLintptr , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glNamedCopyBufferSubDataEXT" )); |
3374 | d->FlushMappedNamedBufferRangeEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glFlushMappedNamedBufferRangeEXT" )); |
3375 | d->MapNamedBufferRangeEXT = reinterpret_cast<GLvoid* (QOPENGLF_APIENTRYP)(GLuint , GLintptr , GLsizeiptr , GLbitfield )>(context->getProcAddress(procName: "glMapNamedBufferRangeEXT" )); |
3376 | d->UnmapNamedBufferEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glUnmapNamedBufferEXT" )); |
3377 | d->MapNamedBufferEXT = reinterpret_cast<GLvoid* (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glMapNamedBufferEXT" )); |
3378 | d->NamedBufferSubDataEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLintptr , GLsizeiptr , const GLvoid *)>(context->getProcAddress(procName: "glNamedBufferSubDataEXT" )); |
3379 | d->NamedBufferDataEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizeiptr , const GLvoid *, GLenum )>(context->getProcAddress(procName: "glNamedBufferDataEXT" )); |
3380 | d->ProgramUniform4uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform4uivEXT" )); |
3381 | d->ProgramUniform3uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform3uivEXT" )); |
3382 | d->ProgramUniform2uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform2uivEXT" )); |
3383 | d->ProgramUniform1uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramUniform1uivEXT" )); |
3384 | d->ProgramUniform4uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramUniform4uiEXT" )); |
3385 | d->ProgramUniform3uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramUniform3uiEXT" )); |
3386 | d->ProgramUniform2uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramUniform2uiEXT" )); |
3387 | d->ProgramUniform1uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint )>(context->getProcAddress(procName: "glProgramUniform1uiEXT" )); |
3388 | d->ProgramUniformMatrix4x3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x3fvEXT" )); |
3389 | d->ProgramUniformMatrix3x4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x4fvEXT" )); |
3390 | d->ProgramUniformMatrix4x2fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix4x2fvEXT" )); |
3391 | d->ProgramUniformMatrix2x4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x4fvEXT" )); |
3392 | d->ProgramUniformMatrix3x2fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix3x2fvEXT" )); |
3393 | d->ProgramUniformMatrix2x3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix2x3fvEXT" )); |
3394 | d->ProgramUniformMatrix4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix4fvEXT" )); |
3395 | d->ProgramUniformMatrix3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix3fvEXT" )); |
3396 | d->ProgramUniformMatrix2fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , GLboolean , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniformMatrix2fvEXT" )); |
3397 | d->ProgramUniform4ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform4ivEXT" )); |
3398 | d->ProgramUniform3ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform3ivEXT" )); |
3399 | d->ProgramUniform2ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform2ivEXT" )); |
3400 | d->ProgramUniform1ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramUniform1ivEXT" )); |
3401 | d->ProgramUniform4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform4fvEXT" )); |
3402 | d->ProgramUniform3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform3fvEXT" )); |
3403 | d->ProgramUniform2fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform2fvEXT" )); |
3404 | d->ProgramUniform1fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramUniform1fvEXT" )); |
3405 | d->ProgramUniform4iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform4iEXT" )); |
3406 | d->ProgramUniform3iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform3iEXT" )); |
3407 | d->ProgramUniform2iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform2iEXT" )); |
3408 | d->ProgramUniform1iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint )>(context->getProcAddress(procName: "glProgramUniform1iEXT" )); |
3409 | d->ProgramUniform4fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramUniform4fEXT" )); |
3410 | d->ProgramUniform3fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramUniform3fEXT" )); |
3411 | d->ProgramUniform2fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramUniform2fEXT" )); |
3412 | d->ProgramUniform1fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLfloat )>(context->getProcAddress(procName: "glProgramUniform1fEXT" )); |
3413 | d->GetMultiTexParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetMultiTexParameterIuivEXT" )); |
3414 | d->GetMultiTexParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMultiTexParameterIivEXT" )); |
3415 | d->MultiTexParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glMultiTexParameterIuivEXT" )); |
3416 | d->MultiTexParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexParameterIivEXT" )); |
3417 | d->GetTextureParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetTextureParameterIuivEXT" )); |
3418 | d->GetTextureParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetTextureParameterIivEXT" )); |
3419 | d->TextureParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glTextureParameterIuivEXT" )); |
3420 | d->TextureParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glTextureParameterIivEXT" )); |
3421 | d->GetNamedProgramLocalParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLuint *)>(context->getProcAddress(procName: "glGetNamedProgramLocalParameterIuivEXT" )); |
3422 | d->GetNamedProgramLocalParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLint *)>(context->getProcAddress(procName: "glGetNamedProgramLocalParameterIivEXT" )); |
3423 | d->NamedProgramLocalParametersI4uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glNamedProgramLocalParametersI4uivEXT" )); |
3424 | d->NamedProgramLocalParameterI4uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , const GLuint *)>(context->getProcAddress(procName: "glNamedProgramLocalParameterI4uivEXT" )); |
3425 | d->NamedProgramLocalParameterI4uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glNamedProgramLocalParameterI4uiEXT" )); |
3426 | d->NamedProgramLocalParametersI4ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glNamedProgramLocalParametersI4ivEXT" )); |
3427 | d->NamedProgramLocalParameterI4ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , const GLint *)>(context->getProcAddress(procName: "glNamedProgramLocalParameterI4ivEXT" )); |
3428 | d->NamedProgramLocalParameterI4iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glNamedProgramLocalParameterI4iEXT" )); |
3429 | d->NamedProgramLocalParameters4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glNamedProgramLocalParameters4fvEXT" )); |
3430 | d->GetNamedProgramStringEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetNamedProgramStringEXT" )); |
3431 | d->GetNamedProgramivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetNamedProgramivEXT" )); |
3432 | d->GetNamedProgramLocalParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetNamedProgramLocalParameterfvEXT" )); |
3433 | d->GetNamedProgramLocalParameterdvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLdouble *)>(context->getProcAddress(procName: "glGetNamedProgramLocalParameterdvEXT" )); |
3434 | d->NamedProgramLocalParameter4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , const GLfloat *)>(context->getProcAddress(procName: "glNamedProgramLocalParameter4fvEXT" )); |
3435 | d->NamedProgramLocalParameter4fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glNamedProgramLocalParameter4fEXT" )); |
3436 | d->NamedProgramLocalParameter4dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , const GLdouble *)>(context->getProcAddress(procName: "glNamedProgramLocalParameter4dvEXT" )); |
3437 | d->NamedProgramLocalParameter4dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glNamedProgramLocalParameter4dEXT" )); |
3438 | d->NamedProgramStringEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glNamedProgramStringEXT" )); |
3439 | d->GetCompressedMultiTexImageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLvoid *)>(context->getProcAddress(procName: "glGetCompressedMultiTexImageEXT" )); |
3440 | d->CompressedMultiTexSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedMultiTexSubImage1DEXT" )); |
3441 | d->CompressedMultiTexSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLsizei , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedMultiTexSubImage2DEXT" )); |
3442 | d->CompressedMultiTexSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedMultiTexSubImage3DEXT" )); |
3443 | d->CompressedMultiTexImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedMultiTexImage1DEXT" )); |
3444 | d->CompressedMultiTexImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLsizei , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedMultiTexImage2DEXT" )); |
3445 | d->CompressedMultiTexImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedMultiTexImage3DEXT" )); |
3446 | d->GetCompressedTextureImageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLvoid *)>(context->getProcAddress(procName: "glGetCompressedTextureImageEXT" )); |
3447 | d->CompressedTextureSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTextureSubImage1DEXT" )); |
3448 | d->CompressedTextureSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLsizei , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTextureSubImage2DEXT" )); |
3449 | d->CompressedTextureSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTextureSubImage3DEXT" )); |
3450 | d->CompressedTextureImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTextureImage1DEXT" )); |
3451 | d->CompressedTextureImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLsizei , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTextureImage2DEXT" )); |
3452 | d->CompressedTextureImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLint , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glCompressedTextureImage3DEXT" )); |
3453 | d->GetPointerIndexedvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLvoid* *)>(context->getProcAddress(procName: "glGetPointerIndexedvEXT" )); |
3454 | d->GetDoubleIndexedvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble *)>(context->getProcAddress(procName: "glGetDoubleIndexedvEXT" )); |
3455 | d->GetFloatIndexedvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetFloatIndexedvEXT" )); |
3456 | d->GetMultiTexGenivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMultiTexGenivEXT" )); |
3457 | d->GetMultiTexGenfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMultiTexGenfvEXT" )); |
3458 | d->GetMultiTexGendvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetMultiTexGendvEXT" )); |
3459 | d->GetMultiTexEnvivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMultiTexEnvivEXT" )); |
3460 | d->GetMultiTexEnvfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMultiTexEnvfvEXT" )); |
3461 | d->MultiTexGenivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexGenivEXT" )); |
3462 | d->MultiTexGeniEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glMultiTexGeniEXT" )); |
3463 | d->MultiTexGenfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexGenfvEXT" )); |
3464 | d->MultiTexGenfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glMultiTexGenfEXT" )); |
3465 | d->MultiTexGendvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMultiTexGendvEXT" )); |
3466 | d->MultiTexGendEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLdouble )>(context->getProcAddress(procName: "glMultiTexGendEXT" )); |
3467 | d->MultiTexEnvivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexEnvivEXT" )); |
3468 | d->MultiTexEnviEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glMultiTexEnviEXT" )); |
3469 | d->MultiTexEnvfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexEnvfvEXT" )); |
3470 | d->MultiTexEnvfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glMultiTexEnvfEXT" )); |
3471 | d->MultiTexCoordPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexCoordPointerEXT" )); |
3472 | d->DisableClientStateIndexedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glDisableClientStateIndexedEXT" )); |
3473 | d->EnableClientStateIndexedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glEnableClientStateIndexedEXT" )); |
3474 | d->BindMultiTextureEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glBindMultiTextureEXT" )); |
3475 | d->CopyMultiTexSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyMultiTexSubImage3DEXT" )); |
3476 | d->MultiTexSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexSubImage3DEXT" )); |
3477 | d->MultiTexImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexImage3DEXT" )); |
3478 | d->GetMultiTexLevelParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMultiTexLevelParameterivEXT" )); |
3479 | d->GetMultiTexLevelParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMultiTexLevelParameterfvEXT" )); |
3480 | d->GetMultiTexParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMultiTexParameterivEXT" )); |
3481 | d->GetMultiTexParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMultiTexParameterfvEXT" )); |
3482 | d->GetMultiTexImageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetMultiTexImageEXT" )); |
3483 | d->CopyMultiTexSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyMultiTexSubImage2DEXT" )); |
3484 | d->CopyMultiTexSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLint , GLsizei )>(context->getProcAddress(procName: "glCopyMultiTexSubImage1DEXT" )); |
3485 | d->CopyMultiTexImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLint , GLint , GLsizei , GLsizei , GLint )>(context->getProcAddress(procName: "glCopyMultiTexImage2DEXT" )); |
3486 | d->CopyMultiTexImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLint , GLint , GLsizei , GLint )>(context->getProcAddress(procName: "glCopyMultiTexImage1DEXT" )); |
3487 | d->MultiTexSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLint , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexSubImage2DEXT" )); |
3488 | d->MultiTexSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexSubImage1DEXT" )); |
3489 | d->MultiTexImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLsizei , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexImage2DEXT" )); |
3490 | d->MultiTexImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLenum , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glMultiTexImage1DEXT" )); |
3491 | d->MultiTexParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glMultiTexParameterivEXT" )); |
3492 | d->MultiTexParameteriEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glMultiTexParameteriEXT" )); |
3493 | d->MultiTexParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMultiTexParameterfvEXT" )); |
3494 | d->MultiTexParameterfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glMultiTexParameterfEXT" )); |
3495 | d->CopyTextureSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyTextureSubImage3DEXT" )); |
3496 | d->TextureSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTextureSubImage3DEXT" )); |
3497 | d->TextureImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTextureImage3DEXT" )); |
3498 | d->GetTextureLevelParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetTextureLevelParameterivEXT" )); |
3499 | d->GetTextureLevelParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetTextureLevelParameterfvEXT" )); |
3500 | d->GetTextureParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetTextureParameterivEXT" )); |
3501 | d->GetTextureParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetTextureParameterfvEXT" )); |
3502 | d->GetTextureImageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetTextureImageEXT" )); |
3503 | d->CopyTextureSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyTextureSubImage2DEXT" )); |
3504 | d->CopyTextureSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLsizei )>(context->getProcAddress(procName: "glCopyTextureSubImage1DEXT" )); |
3505 | d->CopyTextureImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLint , GLint , GLsizei , GLsizei , GLint )>(context->getProcAddress(procName: "glCopyTextureImage2DEXT" )); |
3506 | d->CopyTextureImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLint , GLint , GLsizei , GLint )>(context->getProcAddress(procName: "glCopyTextureImage1DEXT" )); |
3507 | d->TextureSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTextureSubImage2DEXT" )); |
3508 | d->TextureSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTextureSubImage1DEXT" )); |
3509 | d->TextureImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLsizei , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTextureImage2DEXT" )); |
3510 | d->TextureImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLenum , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTextureImage1DEXT" )); |
3511 | d->TextureParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glTextureParameterivEXT" )); |
3512 | d->TextureParameteriEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glTextureParameteriEXT" )); |
3513 | d->TextureParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glTextureParameterfvEXT" )); |
3514 | d->TextureParameterfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glTextureParameterfEXT" )); |
3515 | d->MatrixMultTransposedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMatrixMultTransposedEXT" )); |
3516 | d->MatrixMultTransposefEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMatrixMultTransposefEXT" )); |
3517 | d->MatrixLoadTransposedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMatrixLoadTransposedEXT" )); |
3518 | d->MatrixLoadTransposefEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMatrixLoadTransposefEXT" )); |
3519 | d->MatrixPushEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glMatrixPushEXT" )); |
3520 | d->MatrixPopEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glMatrixPopEXT" )); |
3521 | d->MatrixOrthoEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMatrixOrthoEXT" )); |
3522 | d->MatrixFrustumEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMatrixFrustumEXT" )); |
3523 | d->MatrixTranslatedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMatrixTranslatedEXT" )); |
3524 | d->MatrixTranslatefEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glMatrixTranslatefEXT" )); |
3525 | d->MatrixScaledEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMatrixScaledEXT" )); |
3526 | d->MatrixScalefEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glMatrixScalefEXT" )); |
3527 | d->MatrixRotatedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glMatrixRotatedEXT" )); |
3528 | d->MatrixRotatefEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glMatrixRotatefEXT" )); |
3529 | d->MatrixLoadIdentityEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glMatrixLoadIdentityEXT" )); |
3530 | d->MatrixMultdEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMatrixMultdEXT" )); |
3531 | d->MatrixMultfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMatrixMultfEXT" )); |
3532 | d->MatrixLoaddEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLdouble *)>(context->getProcAddress(procName: "glMatrixLoaddEXT" )); |
3533 | d->MatrixLoadfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMatrixLoadfEXT" )); |
3534 | d->PushClientAttribDefaultEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield )>(context->getProcAddress(procName: "glPushClientAttribDefaultEXT" )); |
3535 | d->ClientAttribDefaultEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield )>(context->getProcAddress(procName: "glClientAttribDefaultEXT" )); |
3536 | d->TextureStorage3DMultisampleEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLenum , GLsizei , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTextureStorage3DMultisampleEXT" )); |
3537 | d->TextureStorage2DMultisampleEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLenum , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTextureStorage2DMultisampleEXT" )); |
3538 | d->TextureBufferRangeEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLuint , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glTextureBufferRangeEXT" )); |
3539 | d->GetNamedFramebufferParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetNamedFramebufferParameterivEXT" )); |
3540 | d->NamedFramebufferParameteriEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glNamedFramebufferParameteriEXT" )); |
3541 | d->VertexArrayVertexBindingDivisorEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glVertexArrayVertexBindingDivisorEXT" )); |
3542 | d->VertexArrayVertexAttribBindingEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glVertexArrayVertexAttribBindingEXT" )); |
3543 | d->VertexArrayVertexAttribLFormatEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLint , GLenum , GLuint )>(context->getProcAddress(procName: "glVertexArrayVertexAttribLFormatEXT" )); |
3544 | d->VertexArrayVertexAttribIFormatEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLint , GLenum , GLuint )>(context->getProcAddress(procName: "glVertexArrayVertexAttribIFormatEXT" )); |
3545 | d->VertexArrayVertexAttribFormatEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLint , GLenum , GLboolean , GLuint )>(context->getProcAddress(procName: "glVertexArrayVertexAttribFormatEXT" )); |
3546 | d->VertexArrayBindVertexBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , GLintptr , GLsizei )>(context->getProcAddress(procName: "glVertexArrayBindVertexBufferEXT" )); |
3547 | d->ClearNamedBufferSubDataEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizeiptr , GLsizeiptr , GLenum , GLenum , const void *)>(context->getProcAddress(procName: "glClearNamedBufferSubDataEXT" )); |
3548 | d->ClearNamedBufferDataEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLenum , GLenum , const void *)>(context->getProcAddress(procName: "glClearNamedBufferDataEXT" )); |
3549 | d->TextureStorage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLenum , GLsizei , GLsizei , GLsizei )>(context->getProcAddress(procName: "glTextureStorage3DEXT" )); |
3550 | d->TextureStorage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glTextureStorage2DEXT" )); |
3551 | d->TextureStorage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLenum , GLsizei )>(context->getProcAddress(procName: "glTextureStorage1DEXT" )); |
3552 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3553 | return true; |
3554 | } |
3555 | |
3556 | QOpenGLExtension_EXT_draw_buffers2::QOpenGLExtension_EXT_draw_buffers2() |
3557 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_draw_buffers2Private)) |
3558 | { |
3559 | } |
3560 | |
3561 | bool QOpenGLExtension_EXT_draw_buffers2::initializeOpenGLFunctions() |
3562 | { |
3563 | if (isInitialized()) |
3564 | return true; |
3565 | |
3566 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3567 | if (!context) { |
3568 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3569 | return false; |
3570 | } |
3571 | |
3572 | // Resolve the functions |
3573 | Q_D(QOpenGLExtension_EXT_draw_buffers2); |
3574 | |
3575 | d->IsEnabledIndexedEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glIsEnabledIndexedEXT" )); |
3576 | d->DisableIndexedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glDisableIndexedEXT" )); |
3577 | d->EnableIndexedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glEnableIndexedEXT" )); |
3578 | d->GetIntegerIndexedvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLint *)>(context->getProcAddress(procName: "glGetIntegerIndexedvEXT" )); |
3579 | d->GetBooleanIndexedvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLboolean *)>(context->getProcAddress(procName: "glGetBooleanIndexedvEXT" )); |
3580 | d->ColorMaskIndexedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLboolean , GLboolean , GLboolean , GLboolean )>(context->getProcAddress(procName: "glColorMaskIndexedEXT" )); |
3581 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3582 | return true; |
3583 | } |
3584 | |
3585 | QOpenGLExtension_EXT_draw_instanced::QOpenGLExtension_EXT_draw_instanced() |
3586 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_draw_instancedPrivate)) |
3587 | { |
3588 | } |
3589 | |
3590 | bool QOpenGLExtension_EXT_draw_instanced::initializeOpenGLFunctions() |
3591 | { |
3592 | if (isInitialized()) |
3593 | return true; |
3594 | |
3595 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3596 | if (!context) { |
3597 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3598 | return false; |
3599 | } |
3600 | |
3601 | // Resolve the functions |
3602 | Q_D(QOpenGLExtension_EXT_draw_instanced); |
3603 | |
3604 | d->DrawElementsInstancedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const GLvoid *, GLsizei )>(context->getProcAddress(procName: "glDrawElementsInstancedEXT" )); |
3605 | d->DrawArraysInstancedEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glDrawArraysInstancedEXT" )); |
3606 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3607 | return true; |
3608 | } |
3609 | |
3610 | QOpenGLExtension_EXT_draw_range_elements::QOpenGLExtension_EXT_draw_range_elements() |
3611 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_draw_range_elementsPrivate)) |
3612 | { |
3613 | } |
3614 | |
3615 | bool QOpenGLExtension_EXT_draw_range_elements::initializeOpenGLFunctions() |
3616 | { |
3617 | if (isInitialized()) |
3618 | return true; |
3619 | |
3620 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3621 | if (!context) { |
3622 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3623 | return false; |
3624 | } |
3625 | |
3626 | // Resolve the functions |
3627 | Q_D(QOpenGLExtension_EXT_draw_range_elements); |
3628 | |
3629 | d->DrawRangeElementsEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glDrawRangeElementsEXT" )); |
3630 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3631 | return true; |
3632 | } |
3633 | |
3634 | QOpenGLExtension_EXT_fog_coord::QOpenGLExtension_EXT_fog_coord() |
3635 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_fog_coordPrivate)) |
3636 | { |
3637 | } |
3638 | |
3639 | bool QOpenGLExtension_EXT_fog_coord::initializeOpenGLFunctions() |
3640 | { |
3641 | if (isInitialized()) |
3642 | return true; |
3643 | |
3644 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3645 | if (!context) { |
3646 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3647 | return false; |
3648 | } |
3649 | |
3650 | // Resolve the functions |
3651 | Q_D(QOpenGLExtension_EXT_fog_coord); |
3652 | |
3653 | d->FogCoordPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glFogCoordPointerEXT" )); |
3654 | d->FogCoorddvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glFogCoorddvEXT" )); |
3655 | d->FogCoorddEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble )>(context->getProcAddress(procName: "glFogCoorddEXT" )); |
3656 | d->FogCoordfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glFogCoordfvEXT" )); |
3657 | d->FogCoordfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat )>(context->getProcAddress(procName: "glFogCoordfEXT" )); |
3658 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3659 | return true; |
3660 | } |
3661 | |
3662 | QOpenGLExtension_EXT_framebuffer_blit::QOpenGLExtension_EXT_framebuffer_blit() |
3663 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_framebuffer_blitPrivate)) |
3664 | { |
3665 | } |
3666 | |
3667 | bool QOpenGLExtension_EXT_framebuffer_blit::initializeOpenGLFunctions() |
3668 | { |
3669 | if (isInitialized()) |
3670 | return true; |
3671 | |
3672 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3673 | if (!context) { |
3674 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3675 | return false; |
3676 | } |
3677 | |
3678 | // Resolve the functions |
3679 | Q_D(QOpenGLExtension_EXT_framebuffer_blit); |
3680 | |
3681 | d->BlitFramebufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint , GLint , GLint , GLint , GLint , GLint , GLbitfield , GLenum )>(context->getProcAddress(procName: "glBlitFramebufferEXT" )); |
3682 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3683 | return true; |
3684 | } |
3685 | |
3686 | QOpenGLExtension_EXT_framebuffer_multisample::QOpenGLExtension_EXT_framebuffer_multisample() |
3687 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_framebuffer_multisamplePrivate)) |
3688 | { |
3689 | } |
3690 | |
3691 | bool QOpenGLExtension_EXT_framebuffer_multisample::initializeOpenGLFunctions() |
3692 | { |
3693 | if (isInitialized()) |
3694 | return true; |
3695 | |
3696 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3697 | if (!context) { |
3698 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3699 | return false; |
3700 | } |
3701 | |
3702 | // Resolve the functions |
3703 | Q_D(QOpenGLExtension_EXT_framebuffer_multisample); |
3704 | |
3705 | d->RenderbufferStorageMultisampleEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glRenderbufferStorageMultisampleEXT" )); |
3706 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3707 | return true; |
3708 | } |
3709 | |
3710 | QOpenGLExtension_EXT_framebuffer_object::QOpenGLExtension_EXT_framebuffer_object() |
3711 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_framebuffer_objectPrivate)) |
3712 | { |
3713 | } |
3714 | |
3715 | bool QOpenGLExtension_EXT_framebuffer_object::initializeOpenGLFunctions() |
3716 | { |
3717 | if (isInitialized()) |
3718 | return true; |
3719 | |
3720 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3721 | if (!context) { |
3722 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3723 | return false; |
3724 | } |
3725 | |
3726 | // Resolve the functions |
3727 | Q_D(QOpenGLExtension_EXT_framebuffer_object); |
3728 | |
3729 | d->GenerateMipmapEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glGenerateMipmapEXT" )); |
3730 | d->GetFramebufferAttachmentParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFramebufferAttachmentParameterivEXT" )); |
3731 | d->FramebufferRenderbufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glFramebufferRenderbufferEXT" )); |
3732 | d->FramebufferTexture3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glFramebufferTexture3DEXT" )); |
3733 | d->FramebufferTexture2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glFramebufferTexture2DEXT" )); |
3734 | d->FramebufferTexture1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glFramebufferTexture1DEXT" )); |
3735 | d->CheckFramebufferStatusEXT = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glCheckFramebufferStatusEXT" )); |
3736 | d->GenFramebuffersEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenFramebuffersEXT" )); |
3737 | d->DeleteFramebuffersEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteFramebuffersEXT" )); |
3738 | d->BindFramebufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindFramebufferEXT" )); |
3739 | d->IsFramebufferEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsFramebufferEXT" )); |
3740 | d->GetRenderbufferParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetRenderbufferParameterivEXT" )); |
3741 | d->RenderbufferStorageEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glRenderbufferStorageEXT" )); |
3742 | d->GenRenderbuffersEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenRenderbuffersEXT" )); |
3743 | d->DeleteRenderbuffersEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteRenderbuffersEXT" )); |
3744 | d->BindRenderbufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindRenderbufferEXT" )); |
3745 | d->IsRenderbufferEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsRenderbufferEXT" )); |
3746 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3747 | return true; |
3748 | } |
3749 | |
3750 | QOpenGLExtension_EXT_geometry_shader4::QOpenGLExtension_EXT_geometry_shader4() |
3751 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_geometry_shader4Private)) |
3752 | { |
3753 | } |
3754 | |
3755 | bool QOpenGLExtension_EXT_geometry_shader4::initializeOpenGLFunctions() |
3756 | { |
3757 | if (isInitialized()) |
3758 | return true; |
3759 | |
3760 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3761 | if (!context) { |
3762 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3763 | return false; |
3764 | } |
3765 | |
3766 | // Resolve the functions |
3767 | Q_D(QOpenGLExtension_EXT_geometry_shader4); |
3768 | |
3769 | d->ProgramParameteriEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glProgramParameteriEXT" )); |
3770 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3771 | return true; |
3772 | } |
3773 | |
3774 | QOpenGLExtension_EXT_gpu_program_parameters::QOpenGLExtension_EXT_gpu_program_parameters() |
3775 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_gpu_program_parametersPrivate)) |
3776 | { |
3777 | } |
3778 | |
3779 | bool QOpenGLExtension_EXT_gpu_program_parameters::initializeOpenGLFunctions() |
3780 | { |
3781 | if (isInitialized()) |
3782 | return true; |
3783 | |
3784 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3785 | if (!context) { |
3786 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3787 | return false; |
3788 | } |
3789 | |
3790 | // Resolve the functions |
3791 | Q_D(QOpenGLExtension_EXT_gpu_program_parameters); |
3792 | |
3793 | d->ProgramLocalParameters4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramLocalParameters4fvEXT" )); |
3794 | d->ProgramEnvParameters4fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramEnvParameters4fvEXT" )); |
3795 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3796 | return true; |
3797 | } |
3798 | |
3799 | QOpenGLExtension_EXT_gpu_shader4::QOpenGLExtension_EXT_gpu_shader4() |
3800 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_gpu_shader4Private)) |
3801 | { |
3802 | } |
3803 | |
3804 | bool QOpenGLExtension_EXT_gpu_shader4::initializeOpenGLFunctions() |
3805 | { |
3806 | if (isInitialized()) |
3807 | return true; |
3808 | |
3809 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3810 | if (!context) { |
3811 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3812 | return false; |
3813 | } |
3814 | |
3815 | // Resolve the functions |
3816 | Q_D(QOpenGLExtension_EXT_gpu_shader4); |
3817 | |
3818 | d->Uniform4uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glUniform4uivEXT" )); |
3819 | d->Uniform3uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glUniform3uivEXT" )); |
3820 | d->Uniform2uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glUniform2uivEXT" )); |
3821 | d->Uniform1uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glUniform1uivEXT" )); |
3822 | d->Uniform4uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glUniform4uiEXT" )); |
3823 | d->Uniform3uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glUniform3uiEXT" )); |
3824 | d->Uniform2uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint , GLuint )>(context->getProcAddress(procName: "glUniform2uiEXT" )); |
3825 | d->Uniform1uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint )>(context->getProcAddress(procName: "glUniform1uiEXT" )); |
3826 | d->GetFragDataLocationEXT = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , const GLchar *)>(context->getProcAddress(procName: "glGetFragDataLocationEXT" )); |
3827 | d->BindFragDataLocationEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , const GLchar *)>(context->getProcAddress(procName: "glBindFragDataLocationEXT" )); |
3828 | d->GetUniformuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint *)>(context->getProcAddress(procName: "glGetUniformuivEXT" )); |
3829 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3830 | return true; |
3831 | } |
3832 | |
3833 | QOpenGLExtension_EXT_histogram::QOpenGLExtension_EXT_histogram() |
3834 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_histogramPrivate)) |
3835 | { |
3836 | } |
3837 | |
3838 | bool QOpenGLExtension_EXT_histogram::initializeOpenGLFunctions() |
3839 | { |
3840 | if (isInitialized()) |
3841 | return true; |
3842 | |
3843 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3844 | if (!context) { |
3845 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3846 | return false; |
3847 | } |
3848 | |
3849 | // Resolve the functions |
3850 | Q_D(QOpenGLExtension_EXT_histogram); |
3851 | |
3852 | d->ResetMinmaxEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glResetMinmaxEXT" )); |
3853 | d->ResetHistogramEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glResetHistogramEXT" )); |
3854 | d->MinmaxEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLboolean )>(context->getProcAddress(procName: "glMinmaxEXT" )); |
3855 | d->HistogramEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , GLboolean )>(context->getProcAddress(procName: "glHistogramEXT" )); |
3856 | d->GetMinmaxParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMinmaxParameterivEXT" )); |
3857 | d->GetMinmaxParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMinmaxParameterfvEXT" )); |
3858 | d->GetMinmaxEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLboolean , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetMinmaxEXT" )); |
3859 | d->GetHistogramParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetHistogramParameterivEXT" )); |
3860 | d->GetHistogramParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetHistogramParameterfvEXT" )); |
3861 | d->GetHistogramEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLboolean , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetHistogramEXT" )); |
3862 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3863 | return true; |
3864 | } |
3865 | |
3866 | QOpenGLExtension_EXT_index_func::QOpenGLExtension_EXT_index_func() |
3867 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_index_funcPrivate)) |
3868 | { |
3869 | } |
3870 | |
3871 | bool QOpenGLExtension_EXT_index_func::initializeOpenGLFunctions() |
3872 | { |
3873 | if (isInitialized()) |
3874 | return true; |
3875 | |
3876 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3877 | if (!context) { |
3878 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3879 | return false; |
3880 | } |
3881 | |
3882 | // Resolve the functions |
3883 | Q_D(QOpenGLExtension_EXT_index_func); |
3884 | |
3885 | d->IndexFuncEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLclampf )>(context->getProcAddress(procName: "glIndexFuncEXT" )); |
3886 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3887 | return true; |
3888 | } |
3889 | |
3890 | QOpenGLExtension_EXT_index_material::QOpenGLExtension_EXT_index_material() |
3891 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_index_materialPrivate)) |
3892 | { |
3893 | } |
3894 | |
3895 | bool QOpenGLExtension_EXT_index_material::initializeOpenGLFunctions() |
3896 | { |
3897 | if (isInitialized()) |
3898 | return true; |
3899 | |
3900 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3901 | if (!context) { |
3902 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3903 | return false; |
3904 | } |
3905 | |
3906 | // Resolve the functions |
3907 | Q_D(QOpenGLExtension_EXT_index_material); |
3908 | |
3909 | d->IndexMaterialEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glIndexMaterialEXT" )); |
3910 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3911 | return true; |
3912 | } |
3913 | |
3914 | QOpenGLExtension_EXT_light_texture::QOpenGLExtension_EXT_light_texture() |
3915 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_light_texturePrivate)) |
3916 | { |
3917 | } |
3918 | |
3919 | bool QOpenGLExtension_EXT_light_texture::initializeOpenGLFunctions() |
3920 | { |
3921 | if (isInitialized()) |
3922 | return true; |
3923 | |
3924 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3925 | if (!context) { |
3926 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3927 | return false; |
3928 | } |
3929 | |
3930 | // Resolve the functions |
3931 | Q_D(QOpenGLExtension_EXT_light_texture); |
3932 | |
3933 | d->TextureMaterialEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glTextureMaterialEXT" )); |
3934 | d->TextureLightEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glTextureLightEXT" )); |
3935 | d->ApplyTextureEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glApplyTextureEXT" )); |
3936 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3937 | return true; |
3938 | } |
3939 | |
3940 | QOpenGLExtension_EXT_multi_draw_arrays::QOpenGLExtension_EXT_multi_draw_arrays() |
3941 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_multi_draw_arraysPrivate)) |
3942 | { |
3943 | } |
3944 | |
3945 | bool QOpenGLExtension_EXT_multi_draw_arrays::initializeOpenGLFunctions() |
3946 | { |
3947 | if (isInitialized()) |
3948 | return true; |
3949 | |
3950 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3951 | if (!context) { |
3952 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3953 | return false; |
3954 | } |
3955 | |
3956 | // Resolve the functions |
3957 | Q_D(QOpenGLExtension_EXT_multi_draw_arrays); |
3958 | |
3959 | d->MultiDrawElementsEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLsizei *, GLenum , const GLvoid* *, GLsizei )>(context->getProcAddress(procName: "glMultiDrawElementsEXT" )); |
3960 | d->MultiDrawArraysEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *, const GLsizei *, GLsizei )>(context->getProcAddress(procName: "glMultiDrawArraysEXT" )); |
3961 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3962 | return true; |
3963 | } |
3964 | |
3965 | QOpenGLExtension_EXT_multisample::QOpenGLExtension_EXT_multisample() |
3966 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_multisamplePrivate)) |
3967 | { |
3968 | } |
3969 | |
3970 | bool QOpenGLExtension_EXT_multisample::initializeOpenGLFunctions() |
3971 | { |
3972 | if (isInitialized()) |
3973 | return true; |
3974 | |
3975 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
3976 | if (!context) { |
3977 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
3978 | return false; |
3979 | } |
3980 | |
3981 | // Resolve the functions |
3982 | Q_D(QOpenGLExtension_EXT_multisample); |
3983 | |
3984 | d->SamplePatternEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glSamplePatternEXT" )); |
3985 | d->SampleMaskEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLclampf , GLboolean )>(context->getProcAddress(procName: "glSampleMaskEXT" )); |
3986 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
3987 | return true; |
3988 | } |
3989 | |
3990 | QOpenGLExtension_EXT_paletted_texture::QOpenGLExtension_EXT_paletted_texture() |
3991 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_paletted_texturePrivate)) |
3992 | { |
3993 | } |
3994 | |
3995 | bool QOpenGLExtension_EXT_paletted_texture::initializeOpenGLFunctions() |
3996 | { |
3997 | if (isInitialized()) |
3998 | return true; |
3999 | |
4000 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4001 | if (!context) { |
4002 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4003 | return false; |
4004 | } |
4005 | |
4006 | // Resolve the functions |
4007 | Q_D(QOpenGLExtension_EXT_paletted_texture); |
4008 | |
4009 | d->GetColorTableParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetColorTableParameterfvEXT" )); |
4010 | d->GetColorTableParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetColorTableParameterivEXT" )); |
4011 | d->GetColorTableEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetColorTableEXT" )); |
4012 | d->ColorTableEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glColorTableEXT" )); |
4013 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4014 | return true; |
4015 | } |
4016 | |
4017 | QOpenGLExtension_EXT_pixel_transform::QOpenGLExtension_EXT_pixel_transform() |
4018 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_pixel_transformPrivate)) |
4019 | { |
4020 | } |
4021 | |
4022 | bool QOpenGLExtension_EXT_pixel_transform::initializeOpenGLFunctions() |
4023 | { |
4024 | if (isInitialized()) |
4025 | return true; |
4026 | |
4027 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4028 | if (!context) { |
4029 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4030 | return false; |
4031 | } |
4032 | |
4033 | // Resolve the functions |
4034 | Q_D(QOpenGLExtension_EXT_pixel_transform); |
4035 | |
4036 | d->GetPixelTransformParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetPixelTransformParameterfvEXT" )); |
4037 | d->GetPixelTransformParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetPixelTransformParameterivEXT" )); |
4038 | d->PixelTransformParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPixelTransformParameterfvEXT" )); |
4039 | d->PixelTransformParameterivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glPixelTransformParameterivEXT" )); |
4040 | d->PixelTransformParameterfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glPixelTransformParameterfEXT" )); |
4041 | d->PixelTransformParameteriEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glPixelTransformParameteriEXT" )); |
4042 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4043 | return true; |
4044 | } |
4045 | |
4046 | QOpenGLExtension_EXT_point_parameters::QOpenGLExtension_EXT_point_parameters() |
4047 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_point_parametersPrivate)) |
4048 | { |
4049 | } |
4050 | |
4051 | bool QOpenGLExtension_EXT_point_parameters::initializeOpenGLFunctions() |
4052 | { |
4053 | if (isInitialized()) |
4054 | return true; |
4055 | |
4056 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4057 | if (!context) { |
4058 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4059 | return false; |
4060 | } |
4061 | |
4062 | // Resolve the functions |
4063 | Q_D(QOpenGLExtension_EXT_point_parameters); |
4064 | |
4065 | d->PointParameterfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPointParameterfvEXT" )); |
4066 | d->PointParameterfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glPointParameterfEXT" )); |
4067 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4068 | return true; |
4069 | } |
4070 | |
4071 | QOpenGLExtension_EXT_polygon_offset::QOpenGLExtension_EXT_polygon_offset() |
4072 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_polygon_offsetPrivate)) |
4073 | { |
4074 | } |
4075 | |
4076 | bool QOpenGLExtension_EXT_polygon_offset::initializeOpenGLFunctions() |
4077 | { |
4078 | if (isInitialized()) |
4079 | return true; |
4080 | |
4081 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4082 | if (!context) { |
4083 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4084 | return false; |
4085 | } |
4086 | |
4087 | // Resolve the functions |
4088 | Q_D(QOpenGLExtension_EXT_polygon_offset); |
4089 | |
4090 | d->PolygonOffsetEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat )>(context->getProcAddress(procName: "glPolygonOffsetEXT" )); |
4091 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4092 | return true; |
4093 | } |
4094 | |
4095 | QOpenGLExtension_EXT_provoking_vertex::QOpenGLExtension_EXT_provoking_vertex() |
4096 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_provoking_vertexPrivate)) |
4097 | { |
4098 | } |
4099 | |
4100 | bool QOpenGLExtension_EXT_provoking_vertex::initializeOpenGLFunctions() |
4101 | { |
4102 | if (isInitialized()) |
4103 | return true; |
4104 | |
4105 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4106 | if (!context) { |
4107 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4108 | return false; |
4109 | } |
4110 | |
4111 | // Resolve the functions |
4112 | Q_D(QOpenGLExtension_EXT_provoking_vertex); |
4113 | |
4114 | d->ProvokingVertexEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glProvokingVertexEXT" )); |
4115 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4116 | return true; |
4117 | } |
4118 | |
4119 | QOpenGLExtension_EXT_secondary_color::QOpenGLExtension_EXT_secondary_color() |
4120 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_secondary_colorPrivate)) |
4121 | { |
4122 | } |
4123 | |
4124 | bool QOpenGLExtension_EXT_secondary_color::initializeOpenGLFunctions() |
4125 | { |
4126 | if (isInitialized()) |
4127 | return true; |
4128 | |
4129 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4130 | if (!context) { |
4131 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4132 | return false; |
4133 | } |
4134 | |
4135 | // Resolve the functions |
4136 | Q_D(QOpenGLExtension_EXT_secondary_color); |
4137 | |
4138 | d->SecondaryColorPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glSecondaryColorPointerEXT" )); |
4139 | d->SecondaryColor3usvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLushort *)>(context->getProcAddress(procName: "glSecondaryColor3usvEXT" )); |
4140 | d->SecondaryColor3usEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLushort , GLushort , GLushort )>(context->getProcAddress(procName: "glSecondaryColor3usEXT" )); |
4141 | d->SecondaryColor3uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *)>(context->getProcAddress(procName: "glSecondaryColor3uivEXT" )); |
4142 | d->SecondaryColor3uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glSecondaryColor3uiEXT" )); |
4143 | d->SecondaryColor3ubvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLubyte *)>(context->getProcAddress(procName: "glSecondaryColor3ubvEXT" )); |
4144 | d->SecondaryColor3ubEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLubyte , GLubyte , GLubyte )>(context->getProcAddress(procName: "glSecondaryColor3ubEXT" )); |
4145 | d->SecondaryColor3svEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glSecondaryColor3svEXT" )); |
4146 | d->SecondaryColor3sEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glSecondaryColor3sEXT" )); |
4147 | d->SecondaryColor3ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glSecondaryColor3ivEXT" )); |
4148 | d->SecondaryColor3iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint )>(context->getProcAddress(procName: "glSecondaryColor3iEXT" )); |
4149 | d->SecondaryColor3fvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glSecondaryColor3fvEXT" )); |
4150 | d->SecondaryColor3fEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glSecondaryColor3fEXT" )); |
4151 | d->SecondaryColor3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glSecondaryColor3dvEXT" )); |
4152 | d->SecondaryColor3dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glSecondaryColor3dEXT" )); |
4153 | d->SecondaryColor3bvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLbyte *)>(context->getProcAddress(procName: "glSecondaryColor3bvEXT" )); |
4154 | d->SecondaryColor3bEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbyte , GLbyte , GLbyte )>(context->getProcAddress(procName: "glSecondaryColor3bEXT" )); |
4155 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4156 | return true; |
4157 | } |
4158 | |
4159 | QOpenGLExtension_EXT_separate_shader_objects::QOpenGLExtension_EXT_separate_shader_objects() |
4160 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_separate_shader_objectsPrivate)) |
4161 | { |
4162 | } |
4163 | |
4164 | bool QOpenGLExtension_EXT_separate_shader_objects::initializeOpenGLFunctions() |
4165 | { |
4166 | if (isInitialized()) |
4167 | return true; |
4168 | |
4169 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4170 | if (!context) { |
4171 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4172 | return false; |
4173 | } |
4174 | |
4175 | // Resolve the functions |
4176 | Q_D(QOpenGLExtension_EXT_separate_shader_objects); |
4177 | |
4178 | d->CreateShaderProgramEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , const GLchar *)>(context->getProcAddress(procName: "glCreateShaderProgramEXT" )); |
4179 | d->ActiveProgramEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glActiveProgramEXT" )); |
4180 | d->UseShaderProgramEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glUseShaderProgramEXT" )); |
4181 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4182 | return true; |
4183 | } |
4184 | |
4185 | QOpenGLExtension_EXT_shader_image_load_store::QOpenGLExtension_EXT_shader_image_load_store() |
4186 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_shader_image_load_storePrivate)) |
4187 | { |
4188 | } |
4189 | |
4190 | bool QOpenGLExtension_EXT_shader_image_load_store::initializeOpenGLFunctions() |
4191 | { |
4192 | if (isInitialized()) |
4193 | return true; |
4194 | |
4195 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4196 | if (!context) { |
4197 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4198 | return false; |
4199 | } |
4200 | |
4201 | // Resolve the functions |
4202 | Q_D(QOpenGLExtension_EXT_shader_image_load_store); |
4203 | |
4204 | d->MemoryBarrierEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield )>(context->getProcAddress(procName: "glMemoryBarrierEXT" )); |
4205 | d->BindImageTextureEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLint , GLboolean , GLint , GLenum , GLint )>(context->getProcAddress(procName: "glBindImageTextureEXT" )); |
4206 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4207 | return true; |
4208 | } |
4209 | |
4210 | QOpenGLExtension_EXT_stencil_clear_tag::QOpenGLExtension_EXT_stencil_clear_tag() |
4211 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_stencil_clear_tagPrivate)) |
4212 | { |
4213 | } |
4214 | |
4215 | bool QOpenGLExtension_EXT_stencil_clear_tag::initializeOpenGLFunctions() |
4216 | { |
4217 | if (isInitialized()) |
4218 | return true; |
4219 | |
4220 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4221 | if (!context) { |
4222 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4223 | return false; |
4224 | } |
4225 | |
4226 | // Resolve the functions |
4227 | Q_D(QOpenGLExtension_EXT_stencil_clear_tag); |
4228 | |
4229 | d->StencilClearTagEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint )>(context->getProcAddress(procName: "glStencilClearTagEXT" )); |
4230 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4231 | return true; |
4232 | } |
4233 | |
4234 | QOpenGLExtension_EXT_stencil_two_side::QOpenGLExtension_EXT_stencil_two_side() |
4235 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_stencil_two_sidePrivate)) |
4236 | { |
4237 | } |
4238 | |
4239 | bool QOpenGLExtension_EXT_stencil_two_side::initializeOpenGLFunctions() |
4240 | { |
4241 | if (isInitialized()) |
4242 | return true; |
4243 | |
4244 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4245 | if (!context) { |
4246 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4247 | return false; |
4248 | } |
4249 | |
4250 | // Resolve the functions |
4251 | Q_D(QOpenGLExtension_EXT_stencil_two_side); |
4252 | |
4253 | d->ActiveStencilFaceEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glActiveStencilFaceEXT" )); |
4254 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4255 | return true; |
4256 | } |
4257 | |
4258 | QOpenGLExtension_EXT_subtexture::QOpenGLExtension_EXT_subtexture() |
4259 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_subtexturePrivate)) |
4260 | { |
4261 | } |
4262 | |
4263 | bool QOpenGLExtension_EXT_subtexture::initializeOpenGLFunctions() |
4264 | { |
4265 | if (isInitialized()) |
4266 | return true; |
4267 | |
4268 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4269 | if (!context) { |
4270 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4271 | return false; |
4272 | } |
4273 | |
4274 | // Resolve the functions |
4275 | Q_D(QOpenGLExtension_EXT_subtexture); |
4276 | |
4277 | d->TexSubImage2DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTexSubImage2DEXT" )); |
4278 | d->TexSubImage1DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTexSubImage1DEXT" )); |
4279 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4280 | return true; |
4281 | } |
4282 | |
4283 | QOpenGLExtension_EXT_texture3D::QOpenGLExtension_EXT_texture3D() |
4284 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_texture3DPrivate)) |
4285 | { |
4286 | } |
4287 | |
4288 | bool QOpenGLExtension_EXT_texture3D::initializeOpenGLFunctions() |
4289 | { |
4290 | if (isInitialized()) |
4291 | return true; |
4292 | |
4293 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4294 | if (!context) { |
4295 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4296 | return false; |
4297 | } |
4298 | |
4299 | // Resolve the functions |
4300 | Q_D(QOpenGLExtension_EXT_texture3D); |
4301 | |
4302 | d->TexSubImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTexSubImage3DEXT" )); |
4303 | d->TexImage3DEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTexImage3DEXT" )); |
4304 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4305 | return true; |
4306 | } |
4307 | |
4308 | QOpenGLExtension_EXT_texture_buffer_object::QOpenGLExtension_EXT_texture_buffer_object() |
4309 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_texture_buffer_objectPrivate)) |
4310 | { |
4311 | } |
4312 | |
4313 | bool QOpenGLExtension_EXT_texture_buffer_object::initializeOpenGLFunctions() |
4314 | { |
4315 | if (isInitialized()) |
4316 | return true; |
4317 | |
4318 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4319 | if (!context) { |
4320 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4321 | return false; |
4322 | } |
4323 | |
4324 | // Resolve the functions |
4325 | Q_D(QOpenGLExtension_EXT_texture_buffer_object); |
4326 | |
4327 | d->TexBufferEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glTexBufferEXT" )); |
4328 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4329 | return true; |
4330 | } |
4331 | |
4332 | QOpenGLExtension_EXT_texture_integer::QOpenGLExtension_EXT_texture_integer() |
4333 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_texture_integerPrivate)) |
4334 | { |
4335 | } |
4336 | |
4337 | bool QOpenGLExtension_EXT_texture_integer::initializeOpenGLFunctions() |
4338 | { |
4339 | if (isInitialized()) |
4340 | return true; |
4341 | |
4342 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4343 | if (!context) { |
4344 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4345 | return false; |
4346 | } |
4347 | |
4348 | // Resolve the functions |
4349 | Q_D(QOpenGLExtension_EXT_texture_integer); |
4350 | |
4351 | d->ClearColorIuiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glClearColorIuiEXT" )); |
4352 | d->ClearColorIiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glClearColorIiEXT" )); |
4353 | d->GetTexParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetTexParameterIuivEXT" )); |
4354 | d->GetTexParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetTexParameterIivEXT" )); |
4355 | d->TexParameterIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLuint *)>(context->getProcAddress(procName: "glTexParameterIuivEXT" )); |
4356 | d->TexParameterIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glTexParameterIivEXT" )); |
4357 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4358 | return true; |
4359 | } |
4360 | |
4361 | QOpenGLExtension_EXT_texture_object::QOpenGLExtension_EXT_texture_object() |
4362 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_texture_objectPrivate)) |
4363 | { |
4364 | } |
4365 | |
4366 | bool QOpenGLExtension_EXT_texture_object::initializeOpenGLFunctions() |
4367 | { |
4368 | if (isInitialized()) |
4369 | return true; |
4370 | |
4371 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4372 | if (!context) { |
4373 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4374 | return false; |
4375 | } |
4376 | |
4377 | // Resolve the functions |
4378 | Q_D(QOpenGLExtension_EXT_texture_object); |
4379 | |
4380 | d->PrioritizeTexturesEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *, const GLclampf *)>(context->getProcAddress(procName: "glPrioritizeTexturesEXT" )); |
4381 | d->IsTextureEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsTextureEXT" )); |
4382 | d->GenTexturesEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenTexturesEXT" )); |
4383 | d->DeleteTexturesEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteTexturesEXT" )); |
4384 | d->BindTextureEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindTextureEXT" )); |
4385 | d->AreTexturesResidentEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *, GLboolean *)>(context->getProcAddress(procName: "glAreTexturesResidentEXT" )); |
4386 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4387 | return true; |
4388 | } |
4389 | |
4390 | QOpenGLExtension_EXT_texture_perturb_normal::QOpenGLExtension_EXT_texture_perturb_normal() |
4391 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_texture_perturb_normalPrivate)) |
4392 | { |
4393 | } |
4394 | |
4395 | bool QOpenGLExtension_EXT_texture_perturb_normal::initializeOpenGLFunctions() |
4396 | { |
4397 | if (isInitialized()) |
4398 | return true; |
4399 | |
4400 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4401 | if (!context) { |
4402 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4403 | return false; |
4404 | } |
4405 | |
4406 | // Resolve the functions |
4407 | Q_D(QOpenGLExtension_EXT_texture_perturb_normal); |
4408 | |
4409 | d->TextureNormalEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glTextureNormalEXT" )); |
4410 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4411 | return true; |
4412 | } |
4413 | |
4414 | QOpenGLExtension_EXT_timer_query::QOpenGLExtension_EXT_timer_query() |
4415 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_timer_queryPrivate)) |
4416 | { |
4417 | } |
4418 | |
4419 | bool QOpenGLExtension_EXT_timer_query::initializeOpenGLFunctions() |
4420 | { |
4421 | if (isInitialized()) |
4422 | return true; |
4423 | |
4424 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4425 | if (!context) { |
4426 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4427 | return false; |
4428 | } |
4429 | |
4430 | // Resolve the functions |
4431 | Q_D(QOpenGLExtension_EXT_timer_query); |
4432 | |
4433 | d->GetQueryObjectui64vEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint64EXT *)>(context->getProcAddress(procName: "glGetQueryObjectui64vEXT" )); |
4434 | d->GetQueryObjecti64vEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint64EXT *)>(context->getProcAddress(procName: "glGetQueryObjecti64vEXT" )); |
4435 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4436 | return true; |
4437 | } |
4438 | |
4439 | QOpenGLExtension_EXT_transform_feedback::QOpenGLExtension_EXT_transform_feedback() |
4440 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_transform_feedbackPrivate)) |
4441 | { |
4442 | } |
4443 | |
4444 | bool QOpenGLExtension_EXT_transform_feedback::initializeOpenGLFunctions() |
4445 | { |
4446 | if (isInitialized()) |
4447 | return true; |
4448 | |
4449 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4450 | if (!context) { |
4451 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4452 | return false; |
4453 | } |
4454 | |
4455 | // Resolve the functions |
4456 | Q_D(QOpenGLExtension_EXT_transform_feedback); |
4457 | |
4458 | d->GetTransformFeedbackVaryingEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLsizei , GLsizei *, GLsizei *, GLenum *, GLchar *)>(context->getProcAddress(procName: "glGetTransformFeedbackVaryingEXT" )); |
4459 | d->TransformFeedbackVaryingsEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLchar* *, GLenum )>(context->getProcAddress(procName: "glTransformFeedbackVaryingsEXT" )); |
4460 | d->BindBufferBaseEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint )>(context->getProcAddress(procName: "glBindBufferBaseEXT" )); |
4461 | d->BindBufferOffsetEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLintptr )>(context->getProcAddress(procName: "glBindBufferOffsetEXT" )); |
4462 | d->BindBufferRangeEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glBindBufferRangeEXT" )); |
4463 | d->EndTransformFeedbackEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glEndTransformFeedbackEXT" )); |
4464 | d->BeginTransformFeedbackEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glBeginTransformFeedbackEXT" )); |
4465 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4466 | return true; |
4467 | } |
4468 | |
4469 | QOpenGLExtension_EXT_vertex_array::QOpenGLExtension_EXT_vertex_array() |
4470 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_vertex_arrayPrivate)) |
4471 | { |
4472 | } |
4473 | |
4474 | bool QOpenGLExtension_EXT_vertex_array::initializeOpenGLFunctions() |
4475 | { |
4476 | if (isInitialized()) |
4477 | return true; |
4478 | |
4479 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4480 | if (!context) { |
4481 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4482 | return false; |
4483 | } |
4484 | |
4485 | // Resolve the functions |
4486 | Q_D(QOpenGLExtension_EXT_vertex_array); |
4487 | |
4488 | d->VertexPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexPointerEXT" )); |
4489 | d->TexCoordPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glTexCoordPointerEXT" )); |
4490 | d->NormalPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glNormalPointerEXT" )); |
4491 | d->IndexPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glIndexPointerEXT" )); |
4492 | d->GetPointervEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetPointervEXT" )); |
4493 | d->EdgeFlagPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLsizei , const GLboolean *)>(context->getProcAddress(procName: "glEdgeFlagPointerEXT" )); |
4494 | d->DrawArraysEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei )>(context->getProcAddress(procName: "glDrawArraysEXT" )); |
4495 | d->ColorPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glColorPointerEXT" )); |
4496 | d->ArrayElementEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glArrayElementEXT" )); |
4497 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4498 | return true; |
4499 | } |
4500 | |
4501 | QOpenGLExtension_EXT_vertex_attrib_64bit::QOpenGLExtension_EXT_vertex_attrib_64bit() |
4502 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_vertex_attrib_64bitPrivate)) |
4503 | { |
4504 | } |
4505 | |
4506 | bool QOpenGLExtension_EXT_vertex_attrib_64bit::initializeOpenGLFunctions() |
4507 | { |
4508 | if (isInitialized()) |
4509 | return true; |
4510 | |
4511 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4512 | if (!context) { |
4513 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4514 | return false; |
4515 | } |
4516 | |
4517 | // Resolve the functions |
4518 | Q_D(QOpenGLExtension_EXT_vertex_attrib_64bit); |
4519 | |
4520 | d->VertexArrayVertexAttribLOffsetEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , GLint , GLenum , GLsizei , GLintptr )>(context->getProcAddress(procName: "glVertexArrayVertexAttribLOffsetEXT" )); |
4521 | d->GetVertexAttribLdvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetVertexAttribLdvEXT" )); |
4522 | d->VertexAttribLPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexAttribLPointerEXT" )); |
4523 | d->VertexAttribL4dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL4dvEXT" )); |
4524 | d->VertexAttribL3dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL3dvEXT" )); |
4525 | d->VertexAttribL2dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL2dvEXT" )); |
4526 | d->VertexAttribL1dvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribL1dvEXT" )); |
4527 | d->VertexAttribL4dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL4dEXT" )); |
4528 | d->VertexAttribL3dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL3dEXT" )); |
4529 | d->VertexAttribL2dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL2dEXT" )); |
4530 | d->VertexAttribL1dEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble )>(context->getProcAddress(procName: "glVertexAttribL1dEXT" )); |
4531 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4532 | return true; |
4533 | } |
4534 | |
4535 | QOpenGLExtension_EXT_vertex_shader::QOpenGLExtension_EXT_vertex_shader() |
4536 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_vertex_shaderPrivate)) |
4537 | { |
4538 | } |
4539 | |
4540 | bool QOpenGLExtension_EXT_vertex_shader::initializeOpenGLFunctions() |
4541 | { |
4542 | if (isInitialized()) |
4543 | return true; |
4544 | |
4545 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4546 | if (!context) { |
4547 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4548 | return false; |
4549 | } |
4550 | |
4551 | // Resolve the functions |
4552 | Q_D(QOpenGLExtension_EXT_vertex_shader); |
4553 | |
4554 | d->GetLocalConstantFloatvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetLocalConstantFloatvEXT" )); |
4555 | d->GetLocalConstantIntegervEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetLocalConstantIntegervEXT" )); |
4556 | d->GetLocalConstantBooleanvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean *)>(context->getProcAddress(procName: "glGetLocalConstantBooleanvEXT" )); |
4557 | d->GetInvariantFloatvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetInvariantFloatvEXT" )); |
4558 | d->GetInvariantIntegervEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetInvariantIntegervEXT" )); |
4559 | d->GetInvariantBooleanvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean *)>(context->getProcAddress(procName: "glGetInvariantBooleanvEXT" )); |
4560 | d->GetVariantPointervEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetVariantPointervEXT" )); |
4561 | d->GetVariantFloatvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetVariantFloatvEXT" )); |
4562 | d->GetVariantIntegervEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVariantIntegervEXT" )); |
4563 | d->GetVariantBooleanvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLboolean *)>(context->getProcAddress(procName: "glGetVariantBooleanvEXT" )); |
4564 | d->IsVariantEnabledEXT = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glIsVariantEnabledEXT" )); |
4565 | d->BindParameterEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glBindParameterEXT" )); |
4566 | d->BindTextureUnitParameterEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glBindTextureUnitParameterEXT" )); |
4567 | d->BindTexGenParameterEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glBindTexGenParameterEXT" )); |
4568 | d->BindMaterialParameterEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glBindMaterialParameterEXT" )); |
4569 | d->BindLightParameterEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glBindLightParameterEXT" )); |
4570 | d->DisableVariantClientStateEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glDisableVariantClientStateEXT" )); |
4571 | d->EnableVariantClientStateEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glEnableVariantClientStateEXT" )); |
4572 | d->VariantPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint , const GLvoid *)>(context->getProcAddress(procName: "glVariantPointerEXT" )); |
4573 | d->VariantuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVariantuivEXT" )); |
4574 | d->VariantusvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLushort *)>(context->getProcAddress(procName: "glVariantusvEXT" )); |
4575 | d->VariantubvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLubyte *)>(context->getProcAddress(procName: "glVariantubvEXT" )); |
4576 | d->VariantdvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVariantdvEXT" )); |
4577 | d->VariantfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVariantfvEXT" )); |
4578 | d->VariantivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVariantivEXT" )); |
4579 | d->VariantsvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVariantsvEXT" )); |
4580 | d->VariantbvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLbyte *)>(context->getProcAddress(procName: "glVariantbvEXT" )); |
4581 | d->SetLocalConstantEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glSetLocalConstantEXT" )); |
4582 | d->SetInvariantEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glSetInvariantEXT" )); |
4583 | d->GenSymbolsEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glGenSymbolsEXT" )); |
4584 | d->ExtractComponentEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glExtractComponentEXT" )); |
4585 | d->InsertComponentEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glInsertComponentEXT" )); |
4586 | d->WriteMaskEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glWriteMaskEXT" )); |
4587 | d->SwizzleEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glSwizzleEXT" )); |
4588 | d->ShaderOp3EXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glShaderOp3EXT" )); |
4589 | d->ShaderOp2EXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glShaderOp2EXT" )); |
4590 | d->ShaderOp1EXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint )>(context->getProcAddress(procName: "glShaderOp1EXT" )); |
4591 | d->DeleteVertexShaderEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glDeleteVertexShaderEXT" )); |
4592 | d->GenVertexShadersEXT = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glGenVertexShadersEXT" )); |
4593 | d->BindVertexShaderEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBindVertexShaderEXT" )); |
4594 | d->EndVertexShaderEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glEndVertexShaderEXT" )); |
4595 | d->BeginVertexShaderEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glBeginVertexShaderEXT" )); |
4596 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4597 | return true; |
4598 | } |
4599 | |
4600 | QOpenGLExtension_EXT_vertex_weighting::QOpenGLExtension_EXT_vertex_weighting() |
4601 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_vertex_weightingPrivate)) |
4602 | { |
4603 | } |
4604 | |
4605 | bool QOpenGLExtension_EXT_vertex_weighting::initializeOpenGLFunctions() |
4606 | { |
4607 | if (isInitialized()) |
4608 | return true; |
4609 | |
4610 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4611 | if (!context) { |
4612 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4613 | return false; |
4614 | } |
4615 | |
4616 | // Resolve the functions |
4617 | Q_D(QOpenGLExtension_EXT_vertex_weighting); |
4618 | |
4619 | d->VertexWeightPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexWeightPointerEXT" )); |
4620 | d->VertexWeightfvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glVertexWeightfvEXT" )); |
4621 | d->VertexWeightfEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat )>(context->getProcAddress(procName: "glVertexWeightfEXT" )); |
4622 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4623 | return true; |
4624 | } |
4625 | |
4626 | QOpenGLExtension_EXT_x11_sync_object::QOpenGLExtension_EXT_x11_sync_object() |
4627 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_x11_sync_objectPrivate)) |
4628 | { |
4629 | } |
4630 | |
4631 | bool QOpenGLExtension_EXT_x11_sync_object::initializeOpenGLFunctions() |
4632 | { |
4633 | if (isInitialized()) |
4634 | return true; |
4635 | |
4636 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4637 | if (!context) { |
4638 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4639 | return false; |
4640 | } |
4641 | |
4642 | // Resolve the functions |
4643 | Q_D(QOpenGLExtension_EXT_x11_sync_object); |
4644 | |
4645 | d->ImportSyncEXT = reinterpret_cast<GLsync (QOPENGLF_APIENTRYP)(GLenum , GLintptr , GLbitfield )>(context->getProcAddress(procName: "glImportSyncEXT" )); |
4646 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4647 | return true; |
4648 | } |
4649 | |
4650 | QOpenGLExtension_GREMEDY_frame_terminator::QOpenGLExtension_GREMEDY_frame_terminator() |
4651 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_GREMEDY_frame_terminatorPrivate)) |
4652 | { |
4653 | } |
4654 | |
4655 | bool QOpenGLExtension_GREMEDY_frame_terminator::initializeOpenGLFunctions() |
4656 | { |
4657 | if (isInitialized()) |
4658 | return true; |
4659 | |
4660 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4661 | if (!context) { |
4662 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4663 | return false; |
4664 | } |
4665 | |
4666 | // Resolve the functions |
4667 | Q_D(QOpenGLExtension_GREMEDY_frame_terminator); |
4668 | |
4669 | d->FrameTerminatorGREMEDY = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glFrameTerminatorGREMEDY" )); |
4670 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4671 | return true; |
4672 | } |
4673 | |
4674 | QOpenGLExtension_GREMEDY_string_marker::QOpenGLExtension_GREMEDY_string_marker() |
4675 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_GREMEDY_string_markerPrivate)) |
4676 | { |
4677 | } |
4678 | |
4679 | bool QOpenGLExtension_GREMEDY_string_marker::initializeOpenGLFunctions() |
4680 | { |
4681 | if (isInitialized()) |
4682 | return true; |
4683 | |
4684 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4685 | if (!context) { |
4686 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4687 | return false; |
4688 | } |
4689 | |
4690 | // Resolve the functions |
4691 | Q_D(QOpenGLExtension_GREMEDY_string_marker); |
4692 | |
4693 | d->StringMarkerGREMEDY = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glStringMarkerGREMEDY" )); |
4694 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4695 | return true; |
4696 | } |
4697 | |
4698 | QOpenGLExtension_HP_image_transform::QOpenGLExtension_HP_image_transform() |
4699 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_HP_image_transformPrivate)) |
4700 | { |
4701 | } |
4702 | |
4703 | bool QOpenGLExtension_HP_image_transform::initializeOpenGLFunctions() |
4704 | { |
4705 | if (isInitialized()) |
4706 | return true; |
4707 | |
4708 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4709 | if (!context) { |
4710 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4711 | return false; |
4712 | } |
4713 | |
4714 | // Resolve the functions |
4715 | Q_D(QOpenGLExtension_HP_image_transform); |
4716 | |
4717 | d->GetImageTransformParameterfvHP = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetImageTransformParameterfvHP" )); |
4718 | d->GetImageTransformParameterivHP = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetImageTransformParameterivHP" )); |
4719 | d->ImageTransformParameterfvHP = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glImageTransformParameterfvHP" )); |
4720 | d->ImageTransformParameterivHP = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glImageTransformParameterivHP" )); |
4721 | d->ImageTransformParameterfHP = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glImageTransformParameterfHP" )); |
4722 | d->ImageTransformParameteriHP = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glImageTransformParameteriHP" )); |
4723 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4724 | return true; |
4725 | } |
4726 | |
4727 | QOpenGLExtension_IBM_multimode_draw_arrays::QOpenGLExtension_IBM_multimode_draw_arrays() |
4728 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_IBM_multimode_draw_arraysPrivate)) |
4729 | { |
4730 | } |
4731 | |
4732 | bool QOpenGLExtension_IBM_multimode_draw_arrays::initializeOpenGLFunctions() |
4733 | { |
4734 | if (isInitialized()) |
4735 | return true; |
4736 | |
4737 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4738 | if (!context) { |
4739 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4740 | return false; |
4741 | } |
4742 | |
4743 | // Resolve the functions |
4744 | Q_D(QOpenGLExtension_IBM_multimode_draw_arrays); |
4745 | |
4746 | d->MultiModeDrawElementsIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLenum *, const GLsizei *, GLenum , const GLvoid* const *, GLsizei , GLint )>(context->getProcAddress(procName: "glMultiModeDrawElementsIBM" )); |
4747 | d->MultiModeDrawArraysIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLenum *, const GLint *, const GLsizei *, GLsizei , GLint )>(context->getProcAddress(procName: "glMultiModeDrawArraysIBM" )); |
4748 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4749 | return true; |
4750 | } |
4751 | |
4752 | QOpenGLExtension_IBM_vertex_array_lists::QOpenGLExtension_IBM_vertex_array_lists() |
4753 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_IBM_vertex_array_listsPrivate)) |
4754 | { |
4755 | } |
4756 | |
4757 | bool QOpenGLExtension_IBM_vertex_array_lists::initializeOpenGLFunctions() |
4758 | { |
4759 | if (isInitialized()) |
4760 | return true; |
4761 | |
4762 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4763 | if (!context) { |
4764 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4765 | return false; |
4766 | } |
4767 | |
4768 | // Resolve the functions |
4769 | Q_D(QOpenGLExtension_IBM_vertex_array_lists); |
4770 | |
4771 | d->VertexPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glVertexPointerListIBM" )); |
4772 | d->TexCoordPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glTexCoordPointerListIBM" )); |
4773 | d->NormalPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glNormalPointerListIBM" )); |
4774 | d->IndexPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glIndexPointerListIBM" )); |
4775 | d->FogCoordPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glFogCoordPointerListIBM" )); |
4776 | d->EdgeFlagPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , const GLboolean* *, GLint )>(context->getProcAddress(procName: "glEdgeFlagPointerListIBM" )); |
4777 | d->SecondaryColorPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glSecondaryColorPointerListIBM" )); |
4778 | d->ColorPointerListIBM = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLint , const GLvoid* *, GLint )>(context->getProcAddress(procName: "glColorPointerListIBM" )); |
4779 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4780 | return true; |
4781 | } |
4782 | |
4783 | QOpenGLExtension_INGR_blend_func_separate::QOpenGLExtension_INGR_blend_func_separate() |
4784 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_INGR_blend_func_separatePrivate)) |
4785 | { |
4786 | } |
4787 | |
4788 | bool QOpenGLExtension_INGR_blend_func_separate::initializeOpenGLFunctions() |
4789 | { |
4790 | if (isInitialized()) |
4791 | return true; |
4792 | |
4793 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4794 | if (!context) { |
4795 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4796 | return false; |
4797 | } |
4798 | |
4799 | // Resolve the functions |
4800 | Q_D(QOpenGLExtension_INGR_blend_func_separate); |
4801 | |
4802 | d->BlendFuncSeparateINGR = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glBlendFuncSeparateINGR" )); |
4803 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4804 | return true; |
4805 | } |
4806 | |
4807 | QOpenGLExtension_INTEL_parallel_arrays::QOpenGLExtension_INTEL_parallel_arrays() |
4808 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_INTEL_parallel_arraysPrivate)) |
4809 | { |
4810 | } |
4811 | |
4812 | bool QOpenGLExtension_INTEL_parallel_arrays::initializeOpenGLFunctions() |
4813 | { |
4814 | if (isInitialized()) |
4815 | return true; |
4816 | |
4817 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4818 | if (!context) { |
4819 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4820 | return false; |
4821 | } |
4822 | |
4823 | // Resolve the functions |
4824 | Q_D(QOpenGLExtension_INTEL_parallel_arrays); |
4825 | |
4826 | d->TexCoordPointervINTEL = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , const GLvoid* *)>(context->getProcAddress(procName: "glTexCoordPointervINTEL" )); |
4827 | d->ColorPointervINTEL = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , const GLvoid* *)>(context->getProcAddress(procName: "glColorPointervINTEL" )); |
4828 | d->NormalPointervINTEL = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLvoid* *)>(context->getProcAddress(procName: "glNormalPointervINTEL" )); |
4829 | d->VertexPointervINTEL = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , const GLvoid* *)>(context->getProcAddress(procName: "glVertexPointervINTEL" )); |
4830 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4831 | return true; |
4832 | } |
4833 | |
4834 | QOpenGLExtension_KHR_debug::QOpenGLExtension_KHR_debug() |
4835 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_KHR_debugPrivate)) |
4836 | { |
4837 | } |
4838 | |
4839 | bool QOpenGLExtension_KHR_debug::initializeOpenGLFunctions() |
4840 | { |
4841 | if (isInitialized()) |
4842 | return true; |
4843 | |
4844 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4845 | if (!context) { |
4846 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4847 | return false; |
4848 | } |
4849 | |
4850 | // Resolve the functions |
4851 | Q_D(QOpenGLExtension_KHR_debug); |
4852 | |
4853 | d->GetObjectPtrLabel = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const void *, GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetObjectPtrLabel" )); |
4854 | d->ObjectPtrLabel = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const void *, GLsizei , const GLchar *)>(context->getProcAddress(procName: "glObjectPtrLabel" )); |
4855 | d->GetObjectLabel = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetObjectLabel" )); |
4856 | d->ObjectLabel = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLchar *)>(context->getProcAddress(procName: "glObjectLabel" )); |
4857 | d->PopDebugGroup = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glPopDebugGroup" )); |
4858 | d->PushDebugGroup = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLchar *)>(context->getProcAddress(procName: "glPushDebugGroup" )); |
4859 | d->GetDebugMessageLog = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLenum *, GLenum *, GLuint *, GLenum *, GLsizei *, GLchar *)>(context->getProcAddress(procName: "glGetDebugMessageLog" )); |
4860 | d->DebugMessageCallback = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLDEBUGPROC , const void *)>(context->getProcAddress(procName: "glDebugMessageCallback" )); |
4861 | d->DebugMessageInsert = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLenum , GLsizei , const GLchar *)>(context->getProcAddress(procName: "glDebugMessageInsert" )); |
4862 | d->DebugMessageControl = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLsizei , const GLuint *, GLboolean )>(context->getProcAddress(procName: "glDebugMessageControl" )); |
4863 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4864 | return true; |
4865 | } |
4866 | |
4867 | QOpenGLExtension_MESA_resize_buffers::QOpenGLExtension_MESA_resize_buffers() |
4868 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_MESA_resize_buffersPrivate)) |
4869 | { |
4870 | } |
4871 | |
4872 | bool QOpenGLExtension_MESA_resize_buffers::initializeOpenGLFunctions() |
4873 | { |
4874 | if (isInitialized()) |
4875 | return true; |
4876 | |
4877 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4878 | if (!context) { |
4879 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4880 | return false; |
4881 | } |
4882 | |
4883 | // Resolve the functions |
4884 | Q_D(QOpenGLExtension_MESA_resize_buffers); |
4885 | |
4886 | d->ResizeBuffersMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glResizeBuffersMESA" )); |
4887 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4888 | return true; |
4889 | } |
4890 | |
4891 | QOpenGLExtension_MESA_window_pos::QOpenGLExtension_MESA_window_pos() |
4892 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_MESA_window_posPrivate)) |
4893 | { |
4894 | } |
4895 | |
4896 | bool QOpenGLExtension_MESA_window_pos::initializeOpenGLFunctions() |
4897 | { |
4898 | if (isInitialized()) |
4899 | return true; |
4900 | |
4901 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4902 | if (!context) { |
4903 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4904 | return false; |
4905 | } |
4906 | |
4907 | // Resolve the functions |
4908 | Q_D(QOpenGLExtension_MESA_window_pos); |
4909 | |
4910 | d->WindowPos4svMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glWindowPos4svMESA" )); |
4911 | d->WindowPos4sMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glWindowPos4sMESA" )); |
4912 | d->WindowPos4ivMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glWindowPos4ivMESA" )); |
4913 | d->WindowPos4iMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glWindowPos4iMESA" )); |
4914 | d->WindowPos4fvMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glWindowPos4fvMESA" )); |
4915 | d->WindowPos4fMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glWindowPos4fMESA" )); |
4916 | d->WindowPos4dvMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glWindowPos4dvMESA" )); |
4917 | d->WindowPos4dMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glWindowPos4dMESA" )); |
4918 | d->WindowPos3svMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glWindowPos3svMESA" )); |
4919 | d->WindowPos3sMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glWindowPos3sMESA" )); |
4920 | d->WindowPos3ivMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glWindowPos3ivMESA" )); |
4921 | d->WindowPos3iMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint , GLint )>(context->getProcAddress(procName: "glWindowPos3iMESA" )); |
4922 | d->WindowPos3fvMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glWindowPos3fvMESA" )); |
4923 | d->WindowPos3fMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glWindowPos3fMESA" )); |
4924 | d->WindowPos3dvMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glWindowPos3dvMESA" )); |
4925 | d->WindowPos3dMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glWindowPos3dMESA" )); |
4926 | d->WindowPos2svMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLshort *)>(context->getProcAddress(procName: "glWindowPos2svMESA" )); |
4927 | d->WindowPos2sMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort , GLshort )>(context->getProcAddress(procName: "glWindowPos2sMESA" )); |
4928 | d->WindowPos2ivMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLint *)>(context->getProcAddress(procName: "glWindowPos2ivMESA" )); |
4929 | d->WindowPos2iMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint )>(context->getProcAddress(procName: "glWindowPos2iMESA" )); |
4930 | d->WindowPos2fvMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *)>(context->getProcAddress(procName: "glWindowPos2fvMESA" )); |
4931 | d->WindowPos2fMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat )>(context->getProcAddress(procName: "glWindowPos2fMESA" )); |
4932 | d->WindowPos2dvMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glWindowPos2dvMESA" )); |
4933 | d->WindowPos2dMESA = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble )>(context->getProcAddress(procName: "glWindowPos2dMESA" )); |
4934 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4935 | return true; |
4936 | } |
4937 | |
4938 | QOpenGLExtension_NV_bindless_texture::QOpenGLExtension_NV_bindless_texture() |
4939 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_bindless_texturePrivate)) |
4940 | { |
4941 | } |
4942 | |
4943 | bool QOpenGLExtension_NV_bindless_texture::initializeOpenGLFunctions() |
4944 | { |
4945 | if (isInitialized()) |
4946 | return true; |
4947 | |
4948 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4949 | if (!context) { |
4950 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4951 | return false; |
4952 | } |
4953 | |
4954 | // Resolve the functions |
4955 | Q_D(QOpenGLExtension_NV_bindless_texture); |
4956 | |
4957 | d->IsImageHandleResidentNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint64 )>(context->getProcAddress(procName: "glIsImageHandleResidentNV" )); |
4958 | d->IsTextureHandleResidentNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint64 )>(context->getProcAddress(procName: "glIsTextureHandleResidentNV" )); |
4959 | d->ProgramUniformHandleui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint64 *)>(context->getProcAddress(procName: "glProgramUniformHandleui64vNV" )); |
4960 | d->ProgramUniformHandleui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64 )>(context->getProcAddress(procName: "glProgramUniformHandleui64NV" )); |
4961 | d->UniformHandleui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint64 *)>(context->getProcAddress(procName: "glUniformHandleui64vNV" )); |
4962 | d->UniformHandleui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint64 )>(context->getProcAddress(procName: "glUniformHandleui64NV" )); |
4963 | d->MakeImageHandleNonResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint64 )>(context->getProcAddress(procName: "glMakeImageHandleNonResidentNV" )); |
4964 | d->MakeImageHandleResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint64 , GLenum )>(context->getProcAddress(procName: "glMakeImageHandleResidentNV" )); |
4965 | d->GetImageHandleNV = reinterpret_cast<GLuint64 (QOPENGLF_APIENTRYP)(GLuint , GLint , GLboolean , GLint , GLenum )>(context->getProcAddress(procName: "glGetImageHandleNV" )); |
4966 | d->MakeTextureHandleNonResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint64 )>(context->getProcAddress(procName: "glMakeTextureHandleNonResidentNV" )); |
4967 | d->MakeTextureHandleResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint64 )>(context->getProcAddress(procName: "glMakeTextureHandleResidentNV" )); |
4968 | d->GetTextureSamplerHandleNV = reinterpret_cast<GLuint64 (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glGetTextureSamplerHandleNV" )); |
4969 | d->GetTextureHandleNV = reinterpret_cast<GLuint64 (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glGetTextureHandleNV" )); |
4970 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4971 | return true; |
4972 | } |
4973 | |
4974 | QOpenGLExtension_NV_conditional_render::QOpenGLExtension_NV_conditional_render() |
4975 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_conditional_renderPrivate)) |
4976 | { |
4977 | } |
4978 | |
4979 | bool QOpenGLExtension_NV_conditional_render::initializeOpenGLFunctions() |
4980 | { |
4981 | if (isInitialized()) |
4982 | return true; |
4983 | |
4984 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
4985 | if (!context) { |
4986 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
4987 | return false; |
4988 | } |
4989 | |
4990 | // Resolve the functions |
4991 | Q_D(QOpenGLExtension_NV_conditional_render); |
4992 | |
4993 | d->EndConditionalRenderNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glEndConditionalRenderNV" )); |
4994 | d->BeginConditionalRenderNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glBeginConditionalRenderNV" )); |
4995 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
4996 | return true; |
4997 | } |
4998 | |
4999 | QOpenGLExtension_NV_copy_image::QOpenGLExtension_NV_copy_image() |
5000 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_copy_imagePrivate)) |
5001 | { |
5002 | } |
5003 | |
5004 | bool QOpenGLExtension_NV_copy_image::initializeOpenGLFunctions() |
5005 | { |
5006 | if (isInitialized()) |
5007 | return true; |
5008 | |
5009 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5010 | if (!context) { |
5011 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5012 | return false; |
5013 | } |
5014 | |
5015 | // Resolve the functions |
5016 | Q_D(QOpenGLExtension_NV_copy_image); |
5017 | |
5018 | d->CopyImageSubDataNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint , GLint , GLint , GLint , GLuint , GLenum , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei )>(context->getProcAddress(procName: "glCopyImageSubDataNV" )); |
5019 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5020 | return true; |
5021 | } |
5022 | |
5023 | QOpenGLExtension_NV_depth_buffer_float::QOpenGLExtension_NV_depth_buffer_float() |
5024 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_depth_buffer_floatPrivate)) |
5025 | { |
5026 | } |
5027 | |
5028 | bool QOpenGLExtension_NV_depth_buffer_float::initializeOpenGLFunctions() |
5029 | { |
5030 | if (isInitialized()) |
5031 | return true; |
5032 | |
5033 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5034 | if (!context) { |
5035 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5036 | return false; |
5037 | } |
5038 | |
5039 | // Resolve the functions |
5040 | Q_D(QOpenGLExtension_NV_depth_buffer_float); |
5041 | |
5042 | d->DepthBoundsdNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble )>(context->getProcAddress(procName: "glDepthBoundsdNV" )); |
5043 | d->ClearDepthdNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble )>(context->getProcAddress(procName: "glClearDepthdNV" )); |
5044 | d->DepthRangedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble , GLdouble )>(context->getProcAddress(procName: "glDepthRangedNV" )); |
5045 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5046 | return true; |
5047 | } |
5048 | |
5049 | QOpenGLExtension_NV_evaluators::QOpenGLExtension_NV_evaluators() |
5050 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_evaluatorsPrivate)) |
5051 | { |
5052 | } |
5053 | |
5054 | bool QOpenGLExtension_NV_evaluators::initializeOpenGLFunctions() |
5055 | { |
5056 | if (isInitialized()) |
5057 | return true; |
5058 | |
5059 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5060 | if (!context) { |
5061 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5062 | return false; |
5063 | } |
5064 | |
5065 | // Resolve the functions |
5066 | Q_D(QOpenGLExtension_NV_evaluators); |
5067 | |
5068 | d->EvalMapsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glEvalMapsNV" )); |
5069 | d->GetMapAttribParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMapAttribParameterfvNV" )); |
5070 | d->GetMapAttribParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMapAttribParameterivNV" )); |
5071 | d->GetMapParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetMapParameterfvNV" )); |
5072 | d->GetMapParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetMapParameterivNV" )); |
5073 | d->GetMapControlPointsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLsizei , GLsizei , GLboolean , GLvoid *)>(context->getProcAddress(procName: "glGetMapControlPointsNV" )); |
5074 | d->MapParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glMapParameterfvNV" )); |
5075 | d->MapParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glMapParameterivNV" )); |
5076 | d->MapControlPointsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLsizei , GLsizei , GLint , GLint , GLboolean , const GLvoid *)>(context->getProcAddress(procName: "glMapControlPointsNV" )); |
5077 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5078 | return true; |
5079 | } |
5080 | |
5081 | QOpenGLExtension_NV_explicit_multisample::QOpenGLExtension_NV_explicit_multisample() |
5082 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_explicit_multisamplePrivate)) |
5083 | { |
5084 | } |
5085 | |
5086 | bool QOpenGLExtension_NV_explicit_multisample::initializeOpenGLFunctions() |
5087 | { |
5088 | if (isInitialized()) |
5089 | return true; |
5090 | |
5091 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5092 | if (!context) { |
5093 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5094 | return false; |
5095 | } |
5096 | |
5097 | // Resolve the functions |
5098 | Q_D(QOpenGLExtension_NV_explicit_multisample); |
5099 | |
5100 | d->TexRenderbufferNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glTexRenderbufferNV" )); |
5101 | d->SampleMaskIndexedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLbitfield )>(context->getProcAddress(procName: "glSampleMaskIndexedNV" )); |
5102 | d->GetMultisamplefvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetMultisamplefvNV" )); |
5103 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5104 | return true; |
5105 | } |
5106 | |
5107 | QOpenGLExtension_NV_fence::QOpenGLExtension_NV_fence() |
5108 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_fencePrivate)) |
5109 | { |
5110 | } |
5111 | |
5112 | bool QOpenGLExtension_NV_fence::initializeOpenGLFunctions() |
5113 | { |
5114 | if (isInitialized()) |
5115 | return true; |
5116 | |
5117 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5118 | if (!context) { |
5119 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5120 | return false; |
5121 | } |
5122 | |
5123 | // Resolve the functions |
5124 | Q_D(QOpenGLExtension_NV_fence); |
5125 | |
5126 | d->SetFenceNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glSetFenceNV" )); |
5127 | d->FinishFenceNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glFinishFenceNV" )); |
5128 | d->GetFenceivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFenceivNV" )); |
5129 | d->TestFenceNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glTestFenceNV" )); |
5130 | d->IsFenceNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsFenceNV" )); |
5131 | d->GenFencesNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenFencesNV" )); |
5132 | d->DeleteFencesNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteFencesNV" )); |
5133 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5134 | return true; |
5135 | } |
5136 | |
5137 | QOpenGLExtension_NV_fragment_program::QOpenGLExtension_NV_fragment_program() |
5138 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_fragment_programPrivate)) |
5139 | { |
5140 | } |
5141 | |
5142 | bool QOpenGLExtension_NV_fragment_program::initializeOpenGLFunctions() |
5143 | { |
5144 | if (isInitialized()) |
5145 | return true; |
5146 | |
5147 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5148 | if (!context) { |
5149 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5150 | return false; |
5151 | } |
5152 | |
5153 | // Resolve the functions |
5154 | Q_D(QOpenGLExtension_NV_fragment_program); |
5155 | |
5156 | d->GetProgramNamedParameterdvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, GLdouble *)>(context->getProcAddress(procName: "glGetProgramNamedParameterdvNV" )); |
5157 | d->GetProgramNamedParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, GLfloat *)>(context->getProcAddress(procName: "glGetProgramNamedParameterfvNV" )); |
5158 | d->ProgramNamedParameter4dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, const GLdouble *)>(context->getProcAddress(procName: "glProgramNamedParameter4dvNV" )); |
5159 | d->ProgramNamedParameter4fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, const GLfloat *)>(context->getProcAddress(procName: "glProgramNamedParameter4fvNV" )); |
5160 | d->ProgramNamedParameter4dNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramNamedParameter4dNV" )); |
5161 | d->ProgramNamedParameter4fNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramNamedParameter4fNV" )); |
5162 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5163 | return true; |
5164 | } |
5165 | |
5166 | QOpenGLExtension_NV_framebuffer_multisample_coverage::QOpenGLExtension_NV_framebuffer_multisample_coverage() |
5167 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_framebuffer_multisample_coveragePrivate)) |
5168 | { |
5169 | } |
5170 | |
5171 | bool QOpenGLExtension_NV_framebuffer_multisample_coverage::initializeOpenGLFunctions() |
5172 | { |
5173 | if (isInitialized()) |
5174 | return true; |
5175 | |
5176 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5177 | if (!context) { |
5178 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5179 | return false; |
5180 | } |
5181 | |
5182 | // Resolve the functions |
5183 | Q_D(QOpenGLExtension_NV_framebuffer_multisample_coverage); |
5184 | |
5185 | d->RenderbufferStorageMultisampleCoverageNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLsizei , GLenum , GLsizei , GLsizei )>(context->getProcAddress(procName: "glRenderbufferStorageMultisampleCoverageNV" )); |
5186 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5187 | return true; |
5188 | } |
5189 | |
5190 | QOpenGLExtension_NV_geometry_program4::QOpenGLExtension_NV_geometry_program4() |
5191 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_geometry_program4Private)) |
5192 | { |
5193 | } |
5194 | |
5195 | bool QOpenGLExtension_NV_geometry_program4::initializeOpenGLFunctions() |
5196 | { |
5197 | if (isInitialized()) |
5198 | return true; |
5199 | |
5200 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5201 | if (!context) { |
5202 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5203 | return false; |
5204 | } |
5205 | |
5206 | // Resolve the functions |
5207 | Q_D(QOpenGLExtension_NV_geometry_program4); |
5208 | |
5209 | d->FramebufferTextureFaceEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint , GLenum )>(context->getProcAddress(procName: "glFramebufferTextureFaceEXT" )); |
5210 | d->FramebufferTextureLayerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint , GLint )>(context->getProcAddress(procName: "glFramebufferTextureLayerEXT" )); |
5211 | d->FramebufferTextureEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint , GLint )>(context->getProcAddress(procName: "glFramebufferTextureEXT" )); |
5212 | d->ProgramVertexLimitNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glProgramVertexLimitNV" )); |
5213 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5214 | return true; |
5215 | } |
5216 | |
5217 | QOpenGLExtension_NV_gpu_program4::QOpenGLExtension_NV_gpu_program4() |
5218 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_gpu_program4Private)) |
5219 | { |
5220 | } |
5221 | |
5222 | bool QOpenGLExtension_NV_gpu_program4::initializeOpenGLFunctions() |
5223 | { |
5224 | if (isInitialized()) |
5225 | return true; |
5226 | |
5227 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5228 | if (!context) { |
5229 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5230 | return false; |
5231 | } |
5232 | |
5233 | // Resolve the functions |
5234 | Q_D(QOpenGLExtension_NV_gpu_program4); |
5235 | |
5236 | d->GetProgramEnvParameterIuivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint *)>(context->getProcAddress(procName: "glGetProgramEnvParameterIuivNV" )); |
5237 | d->GetProgramEnvParameterIivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLint *)>(context->getProcAddress(procName: "glGetProgramEnvParameterIivNV" )); |
5238 | d->GetProgramLocalParameterIuivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint *)>(context->getProcAddress(procName: "glGetProgramLocalParameterIuivNV" )); |
5239 | d->GetProgramLocalParameterIivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLint *)>(context->getProcAddress(procName: "glGetProgramLocalParameterIivNV" )); |
5240 | d->ProgramEnvParametersI4uivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramEnvParametersI4uivNV" )); |
5241 | d->ProgramEnvParameterI4uivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLuint *)>(context->getProcAddress(procName: "glProgramEnvParameterI4uivNV" )); |
5242 | d->ProgramEnvParameterI4uiNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramEnvParameterI4uiNV" )); |
5243 | d->ProgramEnvParametersI4ivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramEnvParametersI4ivNV" )); |
5244 | d->ProgramEnvParameterI4ivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLint *)>(context->getProcAddress(procName: "glProgramEnvParameterI4ivNV" )); |
5245 | d->ProgramEnvParameterI4iNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramEnvParameterI4iNV" )); |
5246 | d->ProgramLocalParametersI4uivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramLocalParametersI4uivNV" )); |
5247 | d->ProgramLocalParameterI4uivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLuint *)>(context->getProcAddress(procName: "glProgramLocalParameterI4uivNV" )); |
5248 | d->ProgramLocalParameterI4uiNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glProgramLocalParameterI4uiNV" )); |
5249 | d->ProgramLocalParametersI4ivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramLocalParametersI4ivNV" )); |
5250 | d->ProgramLocalParameterI4ivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLint *)>(context->getProcAddress(procName: "glProgramLocalParameterI4ivNV" )); |
5251 | d->ProgramLocalParameterI4iNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glProgramLocalParameterI4iNV" )); |
5252 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5253 | return true; |
5254 | } |
5255 | |
5256 | QOpenGLExtension_NV_gpu_program5::QOpenGLExtension_NV_gpu_program5() |
5257 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_gpu_program5Private)) |
5258 | { |
5259 | } |
5260 | |
5261 | bool QOpenGLExtension_NV_gpu_program5::initializeOpenGLFunctions() |
5262 | { |
5263 | if (isInitialized()) |
5264 | return true; |
5265 | |
5266 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5267 | if (!context) { |
5268 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5269 | return false; |
5270 | } |
5271 | |
5272 | // Resolve the functions |
5273 | Q_D(QOpenGLExtension_NV_gpu_program5); |
5274 | |
5275 | d->GetProgramSubroutineParameteruivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint *)>(context->getProcAddress(procName: "glGetProgramSubroutineParameteruivNV" )); |
5276 | d->ProgramSubroutineParametersuivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramSubroutineParametersuivNV" )); |
5277 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5278 | return true; |
5279 | } |
5280 | |
5281 | QOpenGLExtension_NV_gpu_shader5::QOpenGLExtension_NV_gpu_shader5() |
5282 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_gpu_shader5Private)) |
5283 | { |
5284 | } |
5285 | |
5286 | bool QOpenGLExtension_NV_gpu_shader5::initializeOpenGLFunctions() |
5287 | { |
5288 | if (isInitialized()) |
5289 | return true; |
5290 | |
5291 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5292 | if (!context) { |
5293 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5294 | return false; |
5295 | } |
5296 | |
5297 | // Resolve the functions |
5298 | Q_D(QOpenGLExtension_NV_gpu_shader5); |
5299 | |
5300 | d->ProgramUniform4ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glProgramUniform4ui64vNV" )); |
5301 | d->ProgramUniform3ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glProgramUniform3ui64vNV" )); |
5302 | d->ProgramUniform2ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glProgramUniform2ui64vNV" )); |
5303 | d->ProgramUniform1ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glProgramUniform1ui64vNV" )); |
5304 | d->ProgramUniform4ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64EXT , GLuint64EXT , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glProgramUniform4ui64NV" )); |
5305 | d->ProgramUniform3ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64EXT , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glProgramUniform3ui64NV" )); |
5306 | d->ProgramUniform2ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glProgramUniform2ui64NV" )); |
5307 | d->ProgramUniform1ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64EXT )>(context->getProcAddress(procName: "glProgramUniform1ui64NV" )); |
5308 | d->ProgramUniform4i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glProgramUniform4i64vNV" )); |
5309 | d->ProgramUniform3i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glProgramUniform3i64vNV" )); |
5310 | d->ProgramUniform2i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glProgramUniform2i64vNV" )); |
5311 | d->ProgramUniform1i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glProgramUniform1i64vNV" )); |
5312 | d->ProgramUniform4i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint64EXT , GLint64EXT , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glProgramUniform4i64NV" )); |
5313 | d->ProgramUniform3i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint64EXT , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glProgramUniform3i64NV" )); |
5314 | d->ProgramUniform2i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glProgramUniform2i64NV" )); |
5315 | d->ProgramUniform1i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint64EXT )>(context->getProcAddress(procName: "glProgramUniform1i64NV" )); |
5316 | d->GetUniformi64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint64EXT *)>(context->getProcAddress(procName: "glGetUniformi64vNV" )); |
5317 | d->Uniform4ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glUniform4ui64vNV" )); |
5318 | d->Uniform3ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glUniform3ui64vNV" )); |
5319 | d->Uniform2ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glUniform2ui64vNV" )); |
5320 | d->Uniform1ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glUniform1ui64vNV" )); |
5321 | d->Uniform4ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint64EXT , GLuint64EXT , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glUniform4ui64NV" )); |
5322 | d->Uniform3ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint64EXT , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glUniform3ui64NV" )); |
5323 | d->Uniform2ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glUniform2ui64NV" )); |
5324 | d->Uniform1ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint64EXT )>(context->getProcAddress(procName: "glUniform1ui64NV" )); |
5325 | d->Uniform4i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glUniform4i64vNV" )); |
5326 | d->Uniform3i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glUniform3i64vNV" )); |
5327 | d->Uniform2i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glUniform2i64vNV" )); |
5328 | d->Uniform1i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLint64EXT *)>(context->getProcAddress(procName: "glUniform1i64vNV" )); |
5329 | d->Uniform4i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint64EXT , GLint64EXT , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glUniform4i64NV" )); |
5330 | d->Uniform3i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint64EXT , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glUniform3i64NV" )); |
5331 | d->Uniform2i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glUniform2i64NV" )); |
5332 | d->Uniform1i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLint64EXT )>(context->getProcAddress(procName: "glUniform1i64NV" )); |
5333 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5334 | return true; |
5335 | } |
5336 | |
5337 | QOpenGLExtension_NV_half_float::QOpenGLExtension_NV_half_float() |
5338 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_half_floatPrivate)) |
5339 | { |
5340 | } |
5341 | |
5342 | bool QOpenGLExtension_NV_half_float::initializeOpenGLFunctions() |
5343 | { |
5344 | if (isInitialized()) |
5345 | return true; |
5346 | |
5347 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5348 | if (!context) { |
5349 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5350 | return false; |
5351 | } |
5352 | |
5353 | // Resolve the functions |
5354 | Q_D(QOpenGLExtension_NV_half_float); |
5355 | |
5356 | d->VertexAttribs4hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttribs4hvNV" )); |
5357 | d->VertexAttribs3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttribs3hvNV" )); |
5358 | d->VertexAttribs2hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttribs2hvNV" )); |
5359 | d->VertexAttribs1hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttribs1hvNV" )); |
5360 | d->VertexAttrib4hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttrib4hvNV" )); |
5361 | d->VertexAttrib4hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLhalfNV , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glVertexAttrib4hNV" )); |
5362 | d->VertexAttrib3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttrib3hvNV" )); |
5363 | d->VertexAttrib3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glVertexAttrib3hNV" )); |
5364 | d->VertexAttrib2hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttrib2hvNV" )); |
5365 | d->VertexAttrib2hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glVertexAttrib2hNV" )); |
5366 | d->VertexAttrib1hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLhalfNV *)>(context->getProcAddress(procName: "glVertexAttrib1hvNV" )); |
5367 | d->VertexAttrib1hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLhalfNV )>(context->getProcAddress(procName: "glVertexAttrib1hNV" )); |
5368 | d->VertexWeighthvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glVertexWeighthvNV" )); |
5369 | d->VertexWeighthNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV )>(context->getProcAddress(procName: "glVertexWeighthNV" )); |
5370 | d->SecondaryColor3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glSecondaryColor3hvNV" )); |
5371 | d->SecondaryColor3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glSecondaryColor3hNV" )); |
5372 | d->FogCoordhvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glFogCoordhvNV" )); |
5373 | d->FogCoordhNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV )>(context->getProcAddress(procName: "glFogCoordhNV" )); |
5374 | d->MultiTexCoord4hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLhalfNV *)>(context->getProcAddress(procName: "glMultiTexCoord4hvNV" )); |
5375 | d->MultiTexCoord4hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLhalfNV , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glMultiTexCoord4hNV" )); |
5376 | d->MultiTexCoord3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLhalfNV *)>(context->getProcAddress(procName: "glMultiTexCoord3hvNV" )); |
5377 | d->MultiTexCoord3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glMultiTexCoord3hNV" )); |
5378 | d->MultiTexCoord2hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLhalfNV *)>(context->getProcAddress(procName: "glMultiTexCoord2hvNV" )); |
5379 | d->MultiTexCoord2hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glMultiTexCoord2hNV" )); |
5380 | d->MultiTexCoord1hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLhalfNV *)>(context->getProcAddress(procName: "glMultiTexCoord1hvNV" )); |
5381 | d->MultiTexCoord1hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLhalfNV )>(context->getProcAddress(procName: "glMultiTexCoord1hNV" )); |
5382 | d->TexCoord4hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glTexCoord4hvNV" )); |
5383 | d->TexCoord4hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glTexCoord4hNV" )); |
5384 | d->TexCoord3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glTexCoord3hvNV" )); |
5385 | d->TexCoord3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glTexCoord3hNV" )); |
5386 | d->TexCoord2hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glTexCoord2hvNV" )); |
5387 | d->TexCoord2hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glTexCoord2hNV" )); |
5388 | d->TexCoord1hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glTexCoord1hvNV" )); |
5389 | d->TexCoord1hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV )>(context->getProcAddress(procName: "glTexCoord1hNV" )); |
5390 | d->Color4hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glColor4hvNV" )); |
5391 | d->Color4hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glColor4hNV" )); |
5392 | d->Color3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glColor3hvNV" )); |
5393 | d->Color3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glColor3hNV" )); |
5394 | d->Normal3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glNormal3hvNV" )); |
5395 | d->Normal3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glNormal3hNV" )); |
5396 | d->Vertex4hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glVertex4hvNV" )); |
5397 | d->Vertex4hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glVertex4hNV" )); |
5398 | d->Vertex3hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glVertex3hvNV" )); |
5399 | d->Vertex3hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glVertex3hNV" )); |
5400 | d->Vertex2hvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLhalfNV *)>(context->getProcAddress(procName: "glVertex2hvNV" )); |
5401 | d->Vertex2hNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLhalfNV , GLhalfNV )>(context->getProcAddress(procName: "glVertex2hNV" )); |
5402 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5403 | return true; |
5404 | } |
5405 | |
5406 | QOpenGLExtension_NV_occlusion_query::QOpenGLExtension_NV_occlusion_query() |
5407 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_occlusion_queryPrivate)) |
5408 | { |
5409 | } |
5410 | |
5411 | bool QOpenGLExtension_NV_occlusion_query::initializeOpenGLFunctions() |
5412 | { |
5413 | if (isInitialized()) |
5414 | return true; |
5415 | |
5416 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5417 | if (!context) { |
5418 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5419 | return false; |
5420 | } |
5421 | |
5422 | // Resolve the functions |
5423 | Q_D(QOpenGLExtension_NV_occlusion_query); |
5424 | |
5425 | d->GetOcclusionQueryuivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetOcclusionQueryuivNV" )); |
5426 | d->GetOcclusionQueryivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetOcclusionQueryivNV" )); |
5427 | d->EndOcclusionQueryNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glEndOcclusionQueryNV" )); |
5428 | d->BeginOcclusionQueryNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBeginOcclusionQueryNV" )); |
5429 | d->IsOcclusionQueryNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsOcclusionQueryNV" )); |
5430 | d->DeleteOcclusionQueriesNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteOcclusionQueriesNV" )); |
5431 | d->GenOcclusionQueriesNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenOcclusionQueriesNV" )); |
5432 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5433 | return true; |
5434 | } |
5435 | |
5436 | QOpenGLExtension_NV_parameter_buffer_object::QOpenGLExtension_NV_parameter_buffer_object() |
5437 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_parameter_buffer_objectPrivate)) |
5438 | { |
5439 | } |
5440 | |
5441 | bool QOpenGLExtension_NV_parameter_buffer_object::initializeOpenGLFunctions() |
5442 | { |
5443 | if (isInitialized()) |
5444 | return true; |
5445 | |
5446 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5447 | if (!context) { |
5448 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5449 | return false; |
5450 | } |
5451 | |
5452 | // Resolve the functions |
5453 | Q_D(QOpenGLExtension_NV_parameter_buffer_object); |
5454 | |
5455 | d->ProgramBufferParametersIuivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glProgramBufferParametersIuivNV" )); |
5456 | d->ProgramBufferParametersIivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei , const GLint *)>(context->getProcAddress(procName: "glProgramBufferParametersIivNV" )); |
5457 | d->ProgramBufferParametersfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramBufferParametersfvNV" )); |
5458 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5459 | return true; |
5460 | } |
5461 | |
5462 | QOpenGLExtension_NV_path_rendering::QOpenGLExtension_NV_path_rendering() |
5463 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_path_renderingPrivate)) |
5464 | { |
5465 | } |
5466 | |
5467 | bool QOpenGLExtension_NV_path_rendering::initializeOpenGLFunctions() |
5468 | { |
5469 | if (isInitialized()) |
5470 | return true; |
5471 | |
5472 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5473 | if (!context) { |
5474 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5475 | return false; |
5476 | } |
5477 | |
5478 | // Resolve the functions |
5479 | Q_D(QOpenGLExtension_NV_path_rendering); |
5480 | |
5481 | d->PointAlongPathNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei , GLfloat , GLfloat *, GLfloat *, GLfloat *, GLfloat *)>(context->getProcAddress(procName: "glPointAlongPathNV" )); |
5482 | d->GetPathLengthNV = reinterpret_cast<GLfloat (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glGetPathLengthNV" )); |
5483 | d->IsPointInStrokePathNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glIsPointInStrokePathNV" )); |
5484 | d->IsPointInFillPathNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glIsPointInFillPathNV" )); |
5485 | d->GetPathTexGenfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetPathTexGenfvNV" )); |
5486 | d->GetPathTexGenivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetPathTexGenivNV" )); |
5487 | d->GetPathColorGenfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetPathColorGenfvNV" )); |
5488 | d->GetPathColorGenivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetPathColorGenivNV" )); |
5489 | d->GetPathSpacingNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLenum , const GLvoid *, GLuint , GLfloat , GLfloat , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetPathSpacingNV" )); |
5490 | d->GetPathMetricRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield , GLuint , GLsizei , GLsizei , GLfloat *)>(context->getProcAddress(procName: "glGetPathMetricRangeNV" )); |
5491 | d->GetPathMetricsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield , GLsizei , GLenum , const GLvoid *, GLuint , GLsizei , GLfloat *)>(context->getProcAddress(procName: "glGetPathMetricsNV" )); |
5492 | d->GetPathDashArrayNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetPathDashArrayNV" )); |
5493 | d->GetPathCoordsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat *)>(context->getProcAddress(procName: "glGetPathCoordsNV" )); |
5494 | d->GetPathCommandsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLubyte *)>(context->getProcAddress(procName: "glGetPathCommandsNV" )); |
5495 | d->GetPathParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetPathParameterfvNV" )); |
5496 | d->GetPathParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetPathParameterivNV" )); |
5497 | d->CoverStrokePathInstancedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLenum , const GLvoid *, GLuint , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glCoverStrokePathInstancedNV" )); |
5498 | d->CoverFillPathInstancedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLenum , const GLvoid *, GLuint , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glCoverFillPathInstancedNV" )); |
5499 | d->CoverStrokePathNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glCoverStrokePathNV" )); |
5500 | d->CoverFillPathNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glCoverFillPathNV" )); |
5501 | d->PathFogGenNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glPathFogGenNV" )); |
5502 | d->PathTexGenNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , const GLfloat *)>(context->getProcAddress(procName: "glPathTexGenNV" )); |
5503 | d->PathColorGenNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPathColorGenNV" )); |
5504 | d->PathCoverDepthFuncNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glPathCoverDepthFuncNV" )); |
5505 | d->StencilStrokePathInstancedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLenum , const GLvoid *, GLuint , GLint , GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glStencilStrokePathInstancedNV" )); |
5506 | d->StencilFillPathInstancedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLenum , const GLvoid *, GLuint , GLenum , GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glStencilFillPathInstancedNV" )); |
5507 | d->StencilStrokePathNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint )>(context->getProcAddress(procName: "glStencilStrokePathNV" )); |
5508 | d->StencilFillPathNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint )>(context->getProcAddress(procName: "glStencilFillPathNV" )); |
5509 | d->PathStencilDepthOffsetNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat )>(context->getProcAddress(procName: "glPathStencilDepthOffsetNV" )); |
5510 | d->PathStencilFuncNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLuint )>(context->getProcAddress(procName: "glPathStencilFuncNV" )); |
5511 | d->PathDashArrayNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glPathDashArrayNV" )); |
5512 | d->PathParameterfNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat )>(context->getProcAddress(procName: "glPathParameterfNV" )); |
5513 | d->PathParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPathParameterfvNV" )); |
5514 | d->PathParameteriNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glPathParameteriNV" )); |
5515 | d->PathParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLint *)>(context->getProcAddress(procName: "glPathParameterivNV" )); |
5516 | d->TransformPathNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glTransformPathNV" )); |
5517 | d->InterpolatePathsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , GLfloat )>(context->getProcAddress(procName: "glInterpolatePathsNV" )); |
5518 | d->CopyPathNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glCopyPathNV" )); |
5519 | d->WeightPathsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLuint *, const GLfloat *)>(context->getProcAddress(procName: "glWeightPathsNV" )); |
5520 | d->PathGlyphRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLvoid *, GLbitfield , GLuint , GLsizei , GLenum , GLuint , GLfloat )>(context->getProcAddress(procName: "glPathGlyphRangeNV" )); |
5521 | d->PathGlyphsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLvoid *, GLbitfield , GLsizei , GLenum , const GLvoid *, GLenum , GLuint , GLfloat )>(context->getProcAddress(procName: "glPathGlyphsNV" )); |
5522 | d->PathStringNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glPathStringNV" )); |
5523 | d->PathSubCoordsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glPathSubCoordsNV" )); |
5524 | d->PathSubCommandsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLsizei , GLsizei , const GLubyte *, GLsizei , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glPathSubCommandsNV" )); |
5525 | d->PathCoordsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glPathCoordsNV" )); |
5526 | d->PathCommandsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *, GLsizei , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glPathCommandsNV" )); |
5527 | d->IsPathNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsPathNV" )); |
5528 | d->DeletePathsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei )>(context->getProcAddress(procName: "glDeletePathsNV" )); |
5529 | d->GenPathsNV = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLsizei )>(context->getProcAddress(procName: "glGenPathsNV" )); |
5530 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5531 | return true; |
5532 | } |
5533 | |
5534 | QOpenGLExtension_NV_pixel_data_range::QOpenGLExtension_NV_pixel_data_range() |
5535 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_pixel_data_rangePrivate)) |
5536 | { |
5537 | } |
5538 | |
5539 | bool QOpenGLExtension_NV_pixel_data_range::initializeOpenGLFunctions() |
5540 | { |
5541 | if (isInitialized()) |
5542 | return true; |
5543 | |
5544 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5545 | if (!context) { |
5546 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5547 | return false; |
5548 | } |
5549 | |
5550 | // Resolve the functions |
5551 | Q_D(QOpenGLExtension_NV_pixel_data_range); |
5552 | |
5553 | d->FlushPixelDataRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glFlushPixelDataRangeNV" )); |
5554 | d->PixelDataRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glPixelDataRangeNV" )); |
5555 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5556 | return true; |
5557 | } |
5558 | |
5559 | QOpenGLExtension_NV_point_sprite::QOpenGLExtension_NV_point_sprite() |
5560 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_point_spritePrivate)) |
5561 | { |
5562 | } |
5563 | |
5564 | bool QOpenGLExtension_NV_point_sprite::initializeOpenGLFunctions() |
5565 | { |
5566 | if (isInitialized()) |
5567 | return true; |
5568 | |
5569 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5570 | if (!context) { |
5571 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5572 | return false; |
5573 | } |
5574 | |
5575 | // Resolve the functions |
5576 | Q_D(QOpenGLExtension_NV_point_sprite); |
5577 | |
5578 | d->PointParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glPointParameterivNV" )); |
5579 | d->PointParameteriNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glPointParameteriNV" )); |
5580 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5581 | return true; |
5582 | } |
5583 | |
5584 | QOpenGLExtension_NV_present_video::QOpenGLExtension_NV_present_video() |
5585 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_present_videoPrivate)) |
5586 | { |
5587 | } |
5588 | |
5589 | bool QOpenGLExtension_NV_present_video::initializeOpenGLFunctions() |
5590 | { |
5591 | if (isInitialized()) |
5592 | return true; |
5593 | |
5594 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5595 | if (!context) { |
5596 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5597 | return false; |
5598 | } |
5599 | |
5600 | // Resolve the functions |
5601 | Q_D(QOpenGLExtension_NV_present_video); |
5602 | |
5603 | d->GetVideoui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint64EXT *)>(context->getProcAddress(procName: "glGetVideoui64vNV" )); |
5604 | d->GetVideoi64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint64EXT *)>(context->getProcAddress(procName: "glGetVideoi64vNV" )); |
5605 | d->GetVideouivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetVideouivNV" )); |
5606 | d->GetVideoivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVideoivNV" )); |
5607 | d->PresentFrameDualFillNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint64EXT , GLuint , GLuint , GLenum , GLenum , GLuint , GLenum , GLuint , GLenum , GLuint , GLenum , GLuint )>(context->getProcAddress(procName: "glPresentFrameDualFillNV" )); |
5608 | d->PresentFrameKeyedNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint64EXT , GLuint , GLuint , GLenum , GLenum , GLuint , GLuint , GLenum , GLuint , GLuint )>(context->getProcAddress(procName: "glPresentFrameKeyedNV" )); |
5609 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5610 | return true; |
5611 | } |
5612 | |
5613 | QOpenGLExtension_NV_primitive_restart::QOpenGLExtension_NV_primitive_restart() |
5614 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_primitive_restartPrivate)) |
5615 | { |
5616 | } |
5617 | |
5618 | bool QOpenGLExtension_NV_primitive_restart::initializeOpenGLFunctions() |
5619 | { |
5620 | if (isInitialized()) |
5621 | return true; |
5622 | |
5623 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5624 | if (!context) { |
5625 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5626 | return false; |
5627 | } |
5628 | |
5629 | // Resolve the functions |
5630 | Q_D(QOpenGLExtension_NV_primitive_restart); |
5631 | |
5632 | d->PrimitiveRestartIndexNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glPrimitiveRestartIndexNV" )); |
5633 | d->PrimitiveRestartNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glPrimitiveRestartNV" )); |
5634 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5635 | return true; |
5636 | } |
5637 | |
5638 | QOpenGLExtension_NV_register_combiners::QOpenGLExtension_NV_register_combiners() |
5639 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_register_combinersPrivate)) |
5640 | { |
5641 | } |
5642 | |
5643 | bool QOpenGLExtension_NV_register_combiners::initializeOpenGLFunctions() |
5644 | { |
5645 | if (isInitialized()) |
5646 | return true; |
5647 | |
5648 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5649 | if (!context) { |
5650 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5651 | return false; |
5652 | } |
5653 | |
5654 | // Resolve the functions |
5655 | Q_D(QOpenGLExtension_NV_register_combiners); |
5656 | |
5657 | d->GetFinalCombinerInputParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFinalCombinerInputParameterivNV" )); |
5658 | d->GetFinalCombinerInputParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetFinalCombinerInputParameterfvNV" )); |
5659 | d->GetCombinerOutputParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetCombinerOutputParameterivNV" )); |
5660 | d->GetCombinerOutputParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetCombinerOutputParameterfvNV" )); |
5661 | d->GetCombinerInputParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetCombinerInputParameterivNV" )); |
5662 | d->GetCombinerInputParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetCombinerInputParameterfvNV" )); |
5663 | d->FinalCombinerInputNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glFinalCombinerInputNV" )); |
5664 | d->CombinerOutputNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum , GLenum , GLenum , GLenum , GLboolean , GLboolean , GLboolean )>(context->getProcAddress(procName: "glCombinerOutputNV" )); |
5665 | d->CombinerInputNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLenum , GLenum , GLenum )>(context->getProcAddress(procName: "glCombinerInputNV" )); |
5666 | d->CombinerParameteriNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glCombinerParameteriNV" )); |
5667 | d->CombinerParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glCombinerParameterivNV" )); |
5668 | d->CombinerParameterfNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glCombinerParameterfNV" )); |
5669 | d->CombinerParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glCombinerParameterfvNV" )); |
5670 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5671 | return true; |
5672 | } |
5673 | |
5674 | QOpenGLExtension_NV_register_combiners2::QOpenGLExtension_NV_register_combiners2() |
5675 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_register_combiners2Private)) |
5676 | { |
5677 | } |
5678 | |
5679 | bool QOpenGLExtension_NV_register_combiners2::initializeOpenGLFunctions() |
5680 | { |
5681 | if (isInitialized()) |
5682 | return true; |
5683 | |
5684 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5685 | if (!context) { |
5686 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5687 | return false; |
5688 | } |
5689 | |
5690 | // Resolve the functions |
5691 | Q_D(QOpenGLExtension_NV_register_combiners2); |
5692 | |
5693 | d->GetCombinerStageParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetCombinerStageParameterfvNV" )); |
5694 | d->CombinerStageParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glCombinerStageParameterfvNV" )); |
5695 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5696 | return true; |
5697 | } |
5698 | |
5699 | QOpenGLExtension_NV_shader_buffer_load::QOpenGLExtension_NV_shader_buffer_load() |
5700 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_shader_buffer_loadPrivate)) |
5701 | { |
5702 | } |
5703 | |
5704 | bool QOpenGLExtension_NV_shader_buffer_load::initializeOpenGLFunctions() |
5705 | { |
5706 | if (isInitialized()) |
5707 | return true; |
5708 | |
5709 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5710 | if (!context) { |
5711 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5712 | return false; |
5713 | } |
5714 | |
5715 | // Resolve the functions |
5716 | Q_D(QOpenGLExtension_NV_shader_buffer_load); |
5717 | |
5718 | d->ProgramUniformui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glProgramUniformui64vNV" )); |
5719 | d->ProgramUniformui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64EXT )>(context->getProcAddress(procName: "glProgramUniformui64NV" )); |
5720 | d->GetUniformui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLuint64EXT *)>(context->getProcAddress(procName: "glGetUniformui64vNV" )); |
5721 | d->Uniformui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLsizei , const GLuint64EXT *)>(context->getProcAddress(procName: "glUniformui64vNV" )); |
5722 | d->Uniformui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLuint64EXT )>(context->getProcAddress(procName: "glUniformui64NV" )); |
5723 | d->GetIntegerui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint64EXT *)>(context->getProcAddress(procName: "glGetIntegerui64vNV" )); |
5724 | d->GetNamedBufferParameterui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint64EXT *)>(context->getProcAddress(procName: "glGetNamedBufferParameterui64vNV" )); |
5725 | d->GetBufferParameterui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLuint64EXT *)>(context->getProcAddress(procName: "glGetBufferParameterui64vNV" )); |
5726 | d->IsNamedBufferResidentNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsNamedBufferResidentNV" )); |
5727 | d->MakeNamedBufferNonResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glMakeNamedBufferNonResidentNV" )); |
5728 | d->MakeNamedBufferResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum )>(context->getProcAddress(procName: "glMakeNamedBufferResidentNV" )); |
5729 | d->IsBufferResidentNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glIsBufferResidentNV" )); |
5730 | d->MakeBufferNonResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glMakeBufferNonResidentNV" )); |
5731 | d->MakeBufferResidentNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glMakeBufferResidentNV" )); |
5732 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5733 | return true; |
5734 | } |
5735 | |
5736 | QOpenGLExtension_NV_texture_barrier::QOpenGLExtension_NV_texture_barrier() |
5737 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_texture_barrierPrivate)) |
5738 | { |
5739 | } |
5740 | |
5741 | bool QOpenGLExtension_NV_texture_barrier::initializeOpenGLFunctions() |
5742 | { |
5743 | if (isInitialized()) |
5744 | return true; |
5745 | |
5746 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5747 | if (!context) { |
5748 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5749 | return false; |
5750 | } |
5751 | |
5752 | // Resolve the functions |
5753 | Q_D(QOpenGLExtension_NV_texture_barrier); |
5754 | |
5755 | d->TextureBarrierNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glTextureBarrierNV" )); |
5756 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5757 | return true; |
5758 | } |
5759 | |
5760 | QOpenGLExtension_NV_texture_multisample::QOpenGLExtension_NV_texture_multisample() |
5761 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_texture_multisamplePrivate)) |
5762 | { |
5763 | } |
5764 | |
5765 | bool QOpenGLExtension_NV_texture_multisample::initializeOpenGLFunctions() |
5766 | { |
5767 | if (isInitialized()) |
5768 | return true; |
5769 | |
5770 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5771 | if (!context) { |
5772 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5773 | return false; |
5774 | } |
5775 | |
5776 | // Resolve the functions |
5777 | Q_D(QOpenGLExtension_NV_texture_multisample); |
5778 | |
5779 | d->TextureImage3DMultisampleCoverageNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLsizei , GLint , GLsizei , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTextureImage3DMultisampleCoverageNV" )); |
5780 | d->TextureImage2DMultisampleCoverageNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLsizei , GLint , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTextureImage2DMultisampleCoverageNV" )); |
5781 | d->TextureImage3DMultisampleNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLint , GLsizei , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTextureImage3DMultisampleNV" )); |
5782 | d->TextureImage2DMultisampleNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLsizei , GLint , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTextureImage2DMultisampleNV" )); |
5783 | d->TexImage3DMultisampleCoverageNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLsizei , GLint , GLsizei , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTexImage3DMultisampleCoverageNV" )); |
5784 | d->TexImage2DMultisampleCoverageNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , GLsizei , GLint , GLsizei , GLsizei , GLboolean )>(context->getProcAddress(procName: "glTexImage2DMultisampleCoverageNV" )); |
5785 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5786 | return true; |
5787 | } |
5788 | |
5789 | QOpenGLExtension_NV_transform_feedback::QOpenGLExtension_NV_transform_feedback() |
5790 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_transform_feedbackPrivate)) |
5791 | { |
5792 | } |
5793 | |
5794 | bool QOpenGLExtension_NV_transform_feedback::initializeOpenGLFunctions() |
5795 | { |
5796 | if (isInitialized()) |
5797 | return true; |
5798 | |
5799 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5800 | if (!context) { |
5801 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5802 | return false; |
5803 | } |
5804 | |
5805 | // Resolve the functions |
5806 | Q_D(QOpenGLExtension_NV_transform_feedback); |
5807 | |
5808 | d->TransformFeedbackStreamAttribsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLint *, GLsizei , const GLint *, GLenum )>(context->getProcAddress(procName: "glTransformFeedbackStreamAttribsNV" )); |
5809 | d->GetTransformFeedbackVaryingNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLint *)>(context->getProcAddress(procName: "glGetTransformFeedbackVaryingNV" )); |
5810 | d->GetActiveVaryingNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLsizei , GLsizei *, GLsizei *, GLenum *, GLchar *)>(context->getProcAddress(procName: "glGetActiveVaryingNV" )); |
5811 | d->GetVaryingLocationNV = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint , const GLchar *)>(context->getProcAddress(procName: "glGetVaryingLocationNV" )); |
5812 | d->ActiveVaryingNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLchar *)>(context->getProcAddress(procName: "glActiveVaryingNV" )); |
5813 | d->TransformFeedbackVaryingsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLint *, GLenum )>(context->getProcAddress(procName: "glTransformFeedbackVaryingsNV" )); |
5814 | d->BindBufferBaseNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint )>(context->getProcAddress(procName: "glBindBufferBaseNV" )); |
5815 | d->BindBufferOffsetNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLintptr )>(context->getProcAddress(procName: "glBindBufferOffsetNV" )); |
5816 | d->BindBufferRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint , GLintptr , GLsizeiptr )>(context->getProcAddress(procName: "glBindBufferRangeNV" )); |
5817 | d->TransformFeedbackAttribsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *, GLenum )>(context->getProcAddress(procName: "glTransformFeedbackAttribsNV" )); |
5818 | d->EndTransformFeedbackNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glEndTransformFeedbackNV" )); |
5819 | d->BeginTransformFeedbackNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glBeginTransformFeedbackNV" )); |
5820 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5821 | return true; |
5822 | } |
5823 | |
5824 | QOpenGLExtension_NV_transform_feedback2::QOpenGLExtension_NV_transform_feedback2() |
5825 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_transform_feedback2Private)) |
5826 | { |
5827 | } |
5828 | |
5829 | bool QOpenGLExtension_NV_transform_feedback2::initializeOpenGLFunctions() |
5830 | { |
5831 | if (isInitialized()) |
5832 | return true; |
5833 | |
5834 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5835 | if (!context) { |
5836 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5837 | return false; |
5838 | } |
5839 | |
5840 | // Resolve the functions |
5841 | Q_D(QOpenGLExtension_NV_transform_feedback2); |
5842 | |
5843 | d->DrawTransformFeedbackNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glDrawTransformFeedbackNV" )); |
5844 | d->ResumeTransformFeedbackNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glResumeTransformFeedbackNV" )); |
5845 | d->PauseTransformFeedbackNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glPauseTransformFeedbackNV" )); |
5846 | d->IsTransformFeedbackNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsTransformFeedbackNV" )); |
5847 | d->GenTransformFeedbacksNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenTransformFeedbacksNV" )); |
5848 | d->DeleteTransformFeedbacksNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteTransformFeedbacksNV" )); |
5849 | d->BindTransformFeedbackNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindTransformFeedbackNV" )); |
5850 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5851 | return true; |
5852 | } |
5853 | |
5854 | QOpenGLExtension_NV_vdpau_interop::QOpenGLExtension_NV_vdpau_interop() |
5855 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_vdpau_interopPrivate)) |
5856 | { |
5857 | } |
5858 | |
5859 | bool QOpenGLExtension_NV_vdpau_interop::initializeOpenGLFunctions() |
5860 | { |
5861 | if (isInitialized()) |
5862 | return true; |
5863 | |
5864 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5865 | if (!context) { |
5866 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5867 | return false; |
5868 | } |
5869 | |
5870 | // Resolve the functions |
5871 | Q_D(QOpenGLExtension_NV_vdpau_interop); |
5872 | |
5873 | d->VDPAUUnmapSurfacesNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLvdpauSurfaceNV *)>(context->getProcAddress(procName: "glVDPAUUnmapSurfacesNV" )); |
5874 | d->VDPAUMapSurfacesNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLvdpauSurfaceNV *)>(context->getProcAddress(procName: "glVDPAUMapSurfacesNV" )); |
5875 | d->VDPAUSurfaceAccessNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLvdpauSurfaceNV , GLenum )>(context->getProcAddress(procName: "glVDPAUSurfaceAccessNV" )); |
5876 | d->VDPAUGetSurfaceivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLvdpauSurfaceNV , GLenum , GLsizei , GLsizei *, GLint *)>(context->getProcAddress(procName: "glVDPAUGetSurfaceivNV" )); |
5877 | d->VDPAUUnregisterSurfaceNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLvdpauSurfaceNV )>(context->getProcAddress(procName: "glVDPAUUnregisterSurfaceNV" )); |
5878 | d->VDPAUIsSurfaceNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLvdpauSurfaceNV )>(context->getProcAddress(procName: "glVDPAUIsSurfaceNV" )); |
5879 | d->VDPAURegisterOutputSurfaceNV = reinterpret_cast<GLvdpauSurfaceNV (QOPENGLF_APIENTRYP)(GLvoid *, GLenum , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glVDPAURegisterOutputSurfaceNV" )); |
5880 | d->VDPAURegisterVideoSurfaceNV = reinterpret_cast<GLvdpauSurfaceNV (QOPENGLF_APIENTRYP)(const GLvoid *, GLenum , GLsizei , const GLuint *)>(context->getProcAddress(procName: "glVDPAURegisterVideoSurfaceNV" )); |
5881 | d->VDPAUFiniNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glVDPAUFiniNV" )); |
5882 | d->VDPAUInitNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLvoid *, const GLvoid *)>(context->getProcAddress(procName: "glVDPAUInitNV" )); |
5883 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5884 | return true; |
5885 | } |
5886 | |
5887 | QOpenGLExtension_NV_vertex_array_range::QOpenGLExtension_NV_vertex_array_range() |
5888 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_vertex_array_rangePrivate)) |
5889 | { |
5890 | } |
5891 | |
5892 | bool QOpenGLExtension_NV_vertex_array_range::initializeOpenGLFunctions() |
5893 | { |
5894 | if (isInitialized()) |
5895 | return true; |
5896 | |
5897 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5898 | if (!context) { |
5899 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5900 | return false; |
5901 | } |
5902 | |
5903 | // Resolve the functions |
5904 | Q_D(QOpenGLExtension_NV_vertex_array_range); |
5905 | |
5906 | d->VertexArrayRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexArrayRangeNV" )); |
5907 | d->FlushVertexArrayRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glFlushVertexArrayRangeNV" )); |
5908 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5909 | return true; |
5910 | } |
5911 | |
5912 | QOpenGLExtension_NV_vertex_attrib_integer_64bit::QOpenGLExtension_NV_vertex_attrib_integer_64bit() |
5913 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_vertex_attrib_integer_64bitPrivate)) |
5914 | { |
5915 | } |
5916 | |
5917 | bool QOpenGLExtension_NV_vertex_attrib_integer_64bit::initializeOpenGLFunctions() |
5918 | { |
5919 | if (isInitialized()) |
5920 | return true; |
5921 | |
5922 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5923 | if (!context) { |
5924 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5925 | return false; |
5926 | } |
5927 | |
5928 | // Resolve the functions |
5929 | Q_D(QOpenGLExtension_NV_vertex_attrib_integer_64bit); |
5930 | |
5931 | d->VertexAttribLFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLsizei )>(context->getProcAddress(procName: "glVertexAttribLFormatNV" )); |
5932 | d->GetVertexAttribLui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint64EXT *)>(context->getProcAddress(procName: "glGetVertexAttribLui64vNV" )); |
5933 | d->GetVertexAttribLi64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint64EXT *)>(context->getProcAddress(procName: "glGetVertexAttribLi64vNV" )); |
5934 | d->VertexAttribL4ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL4ui64vNV" )); |
5935 | d->VertexAttribL3ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL3ui64vNV" )); |
5936 | d->VertexAttribL2ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL2ui64vNV" )); |
5937 | d->VertexAttribL1ui64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL1ui64vNV" )); |
5938 | d->VertexAttribL4ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint64EXT , GLuint64EXT , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glVertexAttribL4ui64NV" )); |
5939 | d->VertexAttribL3ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint64EXT , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glVertexAttribL3ui64NV" )); |
5940 | d->VertexAttribL2ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint64EXT , GLuint64EXT )>(context->getProcAddress(procName: "glVertexAttribL2ui64NV" )); |
5941 | d->VertexAttribL1ui64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint64EXT )>(context->getProcAddress(procName: "glVertexAttribL1ui64NV" )); |
5942 | d->VertexAttribL4i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL4i64vNV" )); |
5943 | d->VertexAttribL3i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL3i64vNV" )); |
5944 | d->VertexAttribL2i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL2i64vNV" )); |
5945 | d->VertexAttribL1i64vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint64EXT *)>(context->getProcAddress(procName: "glVertexAttribL1i64vNV" )); |
5946 | d->VertexAttribL4i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint64EXT , GLint64EXT , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glVertexAttribL4i64NV" )); |
5947 | d->VertexAttribL3i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint64EXT , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glVertexAttribL3i64NV" )); |
5948 | d->VertexAttribL2i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint64EXT , GLint64EXT )>(context->getProcAddress(procName: "glVertexAttribL2i64NV" )); |
5949 | d->VertexAttribL1i64NV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint64EXT )>(context->getProcAddress(procName: "glVertexAttribL1i64NV" )); |
5950 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5951 | return true; |
5952 | } |
5953 | |
5954 | QOpenGLExtension_NV_vertex_buffer_unified_memory::QOpenGLExtension_NV_vertex_buffer_unified_memory() |
5955 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_vertex_buffer_unified_memoryPrivate)) |
5956 | { |
5957 | } |
5958 | |
5959 | bool QOpenGLExtension_NV_vertex_buffer_unified_memory::initializeOpenGLFunctions() |
5960 | { |
5961 | if (isInitialized()) |
5962 | return true; |
5963 | |
5964 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
5965 | if (!context) { |
5966 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
5967 | return false; |
5968 | } |
5969 | |
5970 | // Resolve the functions |
5971 | Q_D(QOpenGLExtension_NV_vertex_buffer_unified_memory); |
5972 | |
5973 | d->GetIntegerui64i_vNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint64EXT *)>(context->getProcAddress(procName: "glGetIntegerui64i_vNV" )); |
5974 | d->VertexAttribIFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLsizei )>(context->getProcAddress(procName: "glVertexAttribIFormatNV" )); |
5975 | d->VertexAttribFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLboolean , GLsizei )>(context->getProcAddress(procName: "glVertexAttribFormatNV" )); |
5976 | d->FogCoordFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei )>(context->getProcAddress(procName: "glFogCoordFormatNV" )); |
5977 | d->SecondaryColorFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei )>(context->getProcAddress(procName: "glSecondaryColorFormatNV" )); |
5978 | d->EdgeFlagFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei )>(context->getProcAddress(procName: "glEdgeFlagFormatNV" )); |
5979 | d->TexCoordFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei )>(context->getProcAddress(procName: "glTexCoordFormatNV" )); |
5980 | d->IndexFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei )>(context->getProcAddress(procName: "glIndexFormatNV" )); |
5981 | d->ColorFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei )>(context->getProcAddress(procName: "glColorFormatNV" )); |
5982 | d->NormalFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei )>(context->getProcAddress(procName: "glNormalFormatNV" )); |
5983 | d->VertexFormatNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint , GLenum , GLsizei )>(context->getProcAddress(procName: "glVertexFormatNV" )); |
5984 | d->BufferAddressRangeNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLuint64EXT , GLsizeiptr )>(context->getProcAddress(procName: "glBufferAddressRangeNV" )); |
5985 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
5986 | return true; |
5987 | } |
5988 | |
5989 | QOpenGLExtension_NV_vertex_program::QOpenGLExtension_NV_vertex_program() |
5990 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_vertex_programPrivate)) |
5991 | { |
5992 | } |
5993 | |
5994 | bool QOpenGLExtension_NV_vertex_program::initializeOpenGLFunctions() |
5995 | { |
5996 | if (isInitialized()) |
5997 | return true; |
5998 | |
5999 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6000 | if (!context) { |
6001 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6002 | return false; |
6003 | } |
6004 | |
6005 | // Resolve the functions |
6006 | Q_D(QOpenGLExtension_NV_vertex_program); |
6007 | |
6008 | d->VertexAttribs4ubvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLubyte *)>(context->getProcAddress(procName: "glVertexAttribs4ubvNV" )); |
6009 | d->VertexAttribs4svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLshort *)>(context->getProcAddress(procName: "glVertexAttribs4svNV" )); |
6010 | d->VertexAttribs4fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttribs4fvNV" )); |
6011 | d->VertexAttribs4dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribs4dvNV" )); |
6012 | d->VertexAttribs3svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLshort *)>(context->getProcAddress(procName: "glVertexAttribs3svNV" )); |
6013 | d->VertexAttribs3fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttribs3fvNV" )); |
6014 | d->VertexAttribs3dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribs3dvNV" )); |
6015 | d->VertexAttribs2svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLshort *)>(context->getProcAddress(procName: "glVertexAttribs2svNV" )); |
6016 | d->VertexAttribs2fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttribs2fvNV" )); |
6017 | d->VertexAttribs2dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribs2dvNV" )); |
6018 | d->VertexAttribs1svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLshort *)>(context->getProcAddress(procName: "glVertexAttribs1svNV" )); |
6019 | d->VertexAttribs1fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttribs1fvNV" )); |
6020 | d->VertexAttribs1dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttribs1dvNV" )); |
6021 | d->VertexAttrib4ubvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLubyte *)>(context->getProcAddress(procName: "glVertexAttrib4ubvNV" )); |
6022 | d->VertexAttrib4ubNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLubyte , GLubyte , GLubyte , GLubyte )>(context->getProcAddress(procName: "glVertexAttrib4ubNV" )); |
6023 | d->VertexAttrib4svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib4svNV" )); |
6024 | d->VertexAttrib4sNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexAttrib4sNV" )); |
6025 | d->VertexAttrib4fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib4fvNV" )); |
6026 | d->VertexAttrib4fNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib4fNV" )); |
6027 | d->VertexAttrib4dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib4dvNV" )); |
6028 | d->VertexAttrib4dNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib4dNV" )); |
6029 | d->VertexAttrib3svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib3svNV" )); |
6030 | d->VertexAttrib3sNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexAttrib3sNV" )); |
6031 | d->VertexAttrib3fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib3fvNV" )); |
6032 | d->VertexAttrib3fNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib3fNV" )); |
6033 | d->VertexAttrib3dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib3dvNV" )); |
6034 | d->VertexAttrib3dNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib3dNV" )); |
6035 | d->VertexAttrib2svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib2svNV" )); |
6036 | d->VertexAttrib2sNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort , GLshort )>(context->getProcAddress(procName: "glVertexAttrib2sNV" )); |
6037 | d->VertexAttrib2fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib2fvNV" )); |
6038 | d->VertexAttrib2fNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib2fNV" )); |
6039 | d->VertexAttrib2dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib2dvNV" )); |
6040 | d->VertexAttrib2dNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib2dNV" )); |
6041 | d->VertexAttrib1svNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttrib1svNV" )); |
6042 | d->VertexAttrib1sNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLshort )>(context->getProcAddress(procName: "glVertexAttrib1sNV" )); |
6043 | d->VertexAttrib1fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLfloat *)>(context->getProcAddress(procName: "glVertexAttrib1fvNV" )); |
6044 | d->VertexAttrib1fNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat )>(context->getProcAddress(procName: "glVertexAttrib1fNV" )); |
6045 | d->VertexAttrib1dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLdouble *)>(context->getProcAddress(procName: "glVertexAttrib1dvNV" )); |
6046 | d->VertexAttrib1dNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLdouble )>(context->getProcAddress(procName: "glVertexAttrib1dNV" )); |
6047 | d->VertexAttribPointerNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexAttribPointerNV" )); |
6048 | d->TrackMatrixNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLenum )>(context->getProcAddress(procName: "glTrackMatrixNV" )); |
6049 | d->RequestResidentProgramsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glRequestResidentProgramsNV" )); |
6050 | d->ProgramParameters4fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glProgramParameters4fvNV" )); |
6051 | d->ProgramParameters4dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLdouble *)>(context->getProcAddress(procName: "glProgramParameters4dvNV" )); |
6052 | d->ProgramParameter4fvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLfloat *)>(context->getProcAddress(procName: "glProgramParameter4fvNV" )); |
6053 | d->ProgramParameter4fNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glProgramParameter4fNV" )); |
6054 | d->ProgramParameter4dvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLdouble *)>(context->getProcAddress(procName: "glProgramParameter4dvNV" )); |
6055 | d->ProgramParameter4dNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLdouble , GLdouble , GLdouble , GLdouble )>(context->getProcAddress(procName: "glProgramParameter4dNV" )); |
6056 | d->LoadProgramNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLsizei , const GLubyte *)>(context->getProcAddress(procName: "glLoadProgramNV" )); |
6057 | d->IsProgramNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsProgramNV" )); |
6058 | d->GetVertexAttribPointervNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLvoid* *)>(context->getProcAddress(procName: "glGetVertexAttribPointervNV" )); |
6059 | d->GetVertexAttribivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVertexAttribivNV" )); |
6060 | d->GetVertexAttribfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetVertexAttribfvNV" )); |
6061 | d->GetVertexAttribdvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetVertexAttribdvNV" )); |
6062 | d->GetTrackMatrixivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetTrackMatrixivNV" )); |
6063 | d->GetProgramStringNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLubyte *)>(context->getProcAddress(procName: "glGetProgramStringNV" )); |
6064 | d->GetProgramivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetProgramivNV" )); |
6065 | d->GetProgramParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetProgramParameterfvNV" )); |
6066 | d->GetProgramParameterdvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetProgramParameterdvNV" )); |
6067 | d->GenProgramsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLuint *)>(context->getProcAddress(procName: "glGenProgramsNV" )); |
6068 | d->ExecuteProgramNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint , const GLfloat *)>(context->getProcAddress(procName: "glExecuteProgramNV" )); |
6069 | d->DeleteProgramsNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *)>(context->getProcAddress(procName: "glDeleteProgramsNV" )); |
6070 | d->BindProgramNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLuint )>(context->getProcAddress(procName: "glBindProgramNV" )); |
6071 | d->AreProgramsResidentNV = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLsizei , const GLuint *, GLboolean *)>(context->getProcAddress(procName: "glAreProgramsResidentNV" )); |
6072 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6073 | return true; |
6074 | } |
6075 | |
6076 | QOpenGLExtension_NV_vertex_program4::QOpenGLExtension_NV_vertex_program4() |
6077 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_vertex_program4Private)) |
6078 | { |
6079 | } |
6080 | |
6081 | bool QOpenGLExtension_NV_vertex_program4::initializeOpenGLFunctions() |
6082 | { |
6083 | if (isInitialized()) |
6084 | return true; |
6085 | |
6086 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6087 | if (!context) { |
6088 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6089 | return false; |
6090 | } |
6091 | |
6092 | // Resolve the functions |
6093 | Q_D(QOpenGLExtension_NV_vertex_program4); |
6094 | |
6095 | d->GetVertexAttribIuivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLuint *)>(context->getProcAddress(procName: "glGetVertexAttribIuivEXT" )); |
6096 | d->GetVertexAttribIivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVertexAttribIivEXT" )); |
6097 | d->VertexAttribIPointerEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLenum , GLsizei , const GLvoid *)>(context->getProcAddress(procName: "glVertexAttribIPointerEXT" )); |
6098 | d->VertexAttribI4usvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLushort *)>(context->getProcAddress(procName: "glVertexAttribI4usvEXT" )); |
6099 | d->VertexAttribI4ubvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLubyte *)>(context->getProcAddress(procName: "glVertexAttribI4ubvEXT" )); |
6100 | d->VertexAttribI4svEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLshort *)>(context->getProcAddress(procName: "glVertexAttribI4svEXT" )); |
6101 | d->VertexAttribI4bvEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLbyte *)>(context->getProcAddress(procName: "glVertexAttribI4bvEXT" )); |
6102 | d->VertexAttribI4uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribI4uivEXT" )); |
6103 | d->VertexAttribI3uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribI3uivEXT" )); |
6104 | d->VertexAttribI2uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribI2uivEXT" )); |
6105 | d->VertexAttribI1uivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLuint *)>(context->getProcAddress(procName: "glVertexAttribI1uivEXT" )); |
6106 | d->VertexAttribI4ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVertexAttribI4ivEXT" )); |
6107 | d->VertexAttribI3ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVertexAttribI3ivEXT" )); |
6108 | d->VertexAttribI2ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVertexAttribI2ivEXT" )); |
6109 | d->VertexAttribI1ivEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , const GLint *)>(context->getProcAddress(procName: "glVertexAttribI1ivEXT" )); |
6110 | d->VertexAttribI4uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribI4uiEXT" )); |
6111 | d->VertexAttribI3uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribI3uiEXT" )); |
6112 | d->VertexAttribI2uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribI2uiEXT" )); |
6113 | d->VertexAttribI1uiEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint )>(context->getProcAddress(procName: "glVertexAttribI1uiEXT" )); |
6114 | d->VertexAttribI4iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glVertexAttribI4iEXT" )); |
6115 | d->VertexAttribI3iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint , GLint )>(context->getProcAddress(procName: "glVertexAttribI3iEXT" )); |
6116 | d->VertexAttribI2iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint , GLint )>(context->getProcAddress(procName: "glVertexAttribI2iEXT" )); |
6117 | d->VertexAttribI1iEXT = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLint )>(context->getProcAddress(procName: "glVertexAttribI1iEXT" )); |
6118 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6119 | return true; |
6120 | } |
6121 | |
6122 | QOpenGLExtension_NV_video_capture::QOpenGLExtension_NV_video_capture() |
6123 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_video_capturePrivate)) |
6124 | { |
6125 | } |
6126 | |
6127 | bool QOpenGLExtension_NV_video_capture::initializeOpenGLFunctions() |
6128 | { |
6129 | if (isInitialized()) |
6130 | return true; |
6131 | |
6132 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6133 | if (!context) { |
6134 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6135 | return false; |
6136 | } |
6137 | |
6138 | // Resolve the functions |
6139 | Q_D(QOpenGLExtension_NV_video_capture); |
6140 | |
6141 | d->VideoCaptureStreamParameterdvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , const GLdouble *)>(context->getProcAddress(procName: "glVideoCaptureStreamParameterdvNV" )); |
6142 | d->VideoCaptureStreamParameterfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glVideoCaptureStreamParameterfvNV" )); |
6143 | d->VideoCaptureStreamParameterivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , const GLint *)>(context->getProcAddress(procName: "glVideoCaptureStreamParameterivNV" )); |
6144 | d->VideoCaptureNV = reinterpret_cast<GLenum (QOPENGLF_APIENTRYP)(GLuint , GLuint *, GLuint64EXT *)>(context->getProcAddress(procName: "glVideoCaptureNV" )); |
6145 | d->GetVideoCaptureStreamdvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLdouble *)>(context->getProcAddress(procName: "glGetVideoCaptureStreamdvNV" )); |
6146 | d->GetVideoCaptureStreamfvNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetVideoCaptureStreamfvNV" )); |
6147 | d->GetVideoCaptureStreamivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVideoCaptureStreamivNV" )); |
6148 | d->GetVideoCaptureivNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetVideoCaptureivNV" )); |
6149 | d->EndVideoCaptureNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glEndVideoCaptureNV" )); |
6150 | d->BindVideoCaptureStreamTextureNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLenum , GLuint )>(context->getProcAddress(procName: "glBindVideoCaptureStreamTextureNV" )); |
6151 | d->BindVideoCaptureStreamBufferNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLuint , GLenum , GLintptrARB )>(context->getProcAddress(procName: "glBindVideoCaptureStreamBufferNV" )); |
6152 | d->BeginVideoCaptureNV = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glBeginVideoCaptureNV" )); |
6153 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6154 | return true; |
6155 | } |
6156 | |
6157 | QOpenGLExtension_PGI_misc_hints::QOpenGLExtension_PGI_misc_hints() |
6158 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_PGI_misc_hintsPrivate)) |
6159 | { |
6160 | } |
6161 | |
6162 | bool QOpenGLExtension_PGI_misc_hints::initializeOpenGLFunctions() |
6163 | { |
6164 | if (isInitialized()) |
6165 | return true; |
6166 | |
6167 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6168 | if (!context) { |
6169 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6170 | return false; |
6171 | } |
6172 | |
6173 | // Resolve the functions |
6174 | Q_D(QOpenGLExtension_PGI_misc_hints); |
6175 | |
6176 | d->HintPGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glHintPGI" )); |
6177 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6178 | return true; |
6179 | } |
6180 | |
6181 | QOpenGLExtension_SGIS_detail_texture::QOpenGLExtension_SGIS_detail_texture() |
6182 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_detail_texturePrivate)) |
6183 | { |
6184 | } |
6185 | |
6186 | bool QOpenGLExtension_SGIS_detail_texture::initializeOpenGLFunctions() |
6187 | { |
6188 | if (isInitialized()) |
6189 | return true; |
6190 | |
6191 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6192 | if (!context) { |
6193 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6194 | return false; |
6195 | } |
6196 | |
6197 | // Resolve the functions |
6198 | Q_D(QOpenGLExtension_SGIS_detail_texture); |
6199 | |
6200 | d->GetDetailTexFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetDetailTexFuncSGIS" )); |
6201 | d->DetailTexFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glDetailTexFuncSGIS" )); |
6202 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6203 | return true; |
6204 | } |
6205 | |
6206 | QOpenGLExtension_SGIS_fog_function::QOpenGLExtension_SGIS_fog_function() |
6207 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_fog_functionPrivate)) |
6208 | { |
6209 | } |
6210 | |
6211 | bool QOpenGLExtension_SGIS_fog_function::initializeOpenGLFunctions() |
6212 | { |
6213 | if (isInitialized()) |
6214 | return true; |
6215 | |
6216 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6217 | if (!context) { |
6218 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6219 | return false; |
6220 | } |
6221 | |
6222 | // Resolve the functions |
6223 | Q_D(QOpenGLExtension_SGIS_fog_function); |
6224 | |
6225 | d->GetFogFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat *)>(context->getProcAddress(procName: "glGetFogFuncSGIS" )); |
6226 | d->FogFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glFogFuncSGIS" )); |
6227 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6228 | return true; |
6229 | } |
6230 | |
6231 | QOpenGLExtension_SGIS_multisample::QOpenGLExtension_SGIS_multisample() |
6232 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_multisamplePrivate)) |
6233 | { |
6234 | } |
6235 | |
6236 | bool QOpenGLExtension_SGIS_multisample::initializeOpenGLFunctions() |
6237 | { |
6238 | if (isInitialized()) |
6239 | return true; |
6240 | |
6241 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6242 | if (!context) { |
6243 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6244 | return false; |
6245 | } |
6246 | |
6247 | // Resolve the functions |
6248 | Q_D(QOpenGLExtension_SGIS_multisample); |
6249 | |
6250 | d->SamplePatternSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glSamplePatternSGIS" )); |
6251 | d->SampleMaskSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLclampf , GLboolean )>(context->getProcAddress(procName: "glSampleMaskSGIS" )); |
6252 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6253 | return true; |
6254 | } |
6255 | |
6256 | QOpenGLExtension_SGIS_pixel_texture::QOpenGLExtension_SGIS_pixel_texture() |
6257 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_pixel_texturePrivate)) |
6258 | { |
6259 | } |
6260 | |
6261 | bool QOpenGLExtension_SGIS_pixel_texture::initializeOpenGLFunctions() |
6262 | { |
6263 | if (isInitialized()) |
6264 | return true; |
6265 | |
6266 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6267 | if (!context) { |
6268 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6269 | return false; |
6270 | } |
6271 | |
6272 | // Resolve the functions |
6273 | Q_D(QOpenGLExtension_SGIS_pixel_texture); |
6274 | |
6275 | d->GetPixelTexGenParameterfvSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetPixelTexGenParameterfvSGIS" )); |
6276 | d->GetPixelTexGenParameterivSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint *)>(context->getProcAddress(procName: "glGetPixelTexGenParameterivSGIS" )); |
6277 | d->PixelTexGenParameterfvSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPixelTexGenParameterfvSGIS" )); |
6278 | d->PixelTexGenParameterfSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glPixelTexGenParameterfSGIS" )); |
6279 | d->PixelTexGenParameterivSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glPixelTexGenParameterivSGIS" )); |
6280 | d->PixelTexGenParameteriSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glPixelTexGenParameteriSGIS" )); |
6281 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6282 | return true; |
6283 | } |
6284 | |
6285 | QOpenGLExtension_SGIS_point_parameters::QOpenGLExtension_SGIS_point_parameters() |
6286 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_point_parametersPrivate)) |
6287 | { |
6288 | } |
6289 | |
6290 | bool QOpenGLExtension_SGIS_point_parameters::initializeOpenGLFunctions() |
6291 | { |
6292 | if (isInitialized()) |
6293 | return true; |
6294 | |
6295 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6296 | if (!context) { |
6297 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6298 | return false; |
6299 | } |
6300 | |
6301 | // Resolve the functions |
6302 | Q_D(QOpenGLExtension_SGIS_point_parameters); |
6303 | |
6304 | d->PointParameterfvSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glPointParameterfvSGIS" )); |
6305 | d->PointParameterfSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glPointParameterfSGIS" )); |
6306 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6307 | return true; |
6308 | } |
6309 | |
6310 | QOpenGLExtension_SGIS_sharpen_texture::QOpenGLExtension_SGIS_sharpen_texture() |
6311 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_sharpen_texturePrivate)) |
6312 | { |
6313 | } |
6314 | |
6315 | bool QOpenGLExtension_SGIS_sharpen_texture::initializeOpenGLFunctions() |
6316 | { |
6317 | if (isInitialized()) |
6318 | return true; |
6319 | |
6320 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6321 | if (!context) { |
6322 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6323 | return false; |
6324 | } |
6325 | |
6326 | // Resolve the functions |
6327 | Q_D(QOpenGLExtension_SGIS_sharpen_texture); |
6328 | |
6329 | d->GetSharpenTexFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetSharpenTexFuncSGIS" )); |
6330 | d->SharpenTexFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glSharpenTexFuncSGIS" )); |
6331 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6332 | return true; |
6333 | } |
6334 | |
6335 | QOpenGLExtension_SGIS_texture4D::QOpenGLExtension_SGIS_texture4D() |
6336 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_texture4DPrivate)) |
6337 | { |
6338 | } |
6339 | |
6340 | bool QOpenGLExtension_SGIS_texture4D::initializeOpenGLFunctions() |
6341 | { |
6342 | if (isInitialized()) |
6343 | return true; |
6344 | |
6345 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6346 | if (!context) { |
6347 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6348 | return false; |
6349 | } |
6350 | |
6351 | // Resolve the functions |
6352 | Q_D(QOpenGLExtension_SGIS_texture4D); |
6353 | |
6354 | d->TexSubImage4DSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLint , GLint , GLint , GLint , GLsizei , GLsizei , GLsizei , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTexSubImage4DSGIS" )); |
6355 | d->TexImage4DSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLenum , GLsizei , GLsizei , GLsizei , GLsizei , GLint , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glTexImage4DSGIS" )); |
6356 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6357 | return true; |
6358 | } |
6359 | |
6360 | QOpenGLExtension_SGIS_texture_color_mask::QOpenGLExtension_SGIS_texture_color_mask() |
6361 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_texture_color_maskPrivate)) |
6362 | { |
6363 | } |
6364 | |
6365 | bool QOpenGLExtension_SGIS_texture_color_mask::initializeOpenGLFunctions() |
6366 | { |
6367 | if (isInitialized()) |
6368 | return true; |
6369 | |
6370 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6371 | if (!context) { |
6372 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6373 | return false; |
6374 | } |
6375 | |
6376 | // Resolve the functions |
6377 | Q_D(QOpenGLExtension_SGIS_texture_color_mask); |
6378 | |
6379 | d->TextureColorMaskSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLboolean , GLboolean , GLboolean , GLboolean )>(context->getProcAddress(procName: "glTextureColorMaskSGIS" )); |
6380 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6381 | return true; |
6382 | } |
6383 | |
6384 | QOpenGLExtension_SGIS_texture_filter4::QOpenGLExtension_SGIS_texture_filter4() |
6385 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIS_texture_filter4Private)) |
6386 | { |
6387 | } |
6388 | |
6389 | bool QOpenGLExtension_SGIS_texture_filter4::initializeOpenGLFunctions() |
6390 | { |
6391 | if (isInitialized()) |
6392 | return true; |
6393 | |
6394 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6395 | if (!context) { |
6396 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6397 | return false; |
6398 | } |
6399 | |
6400 | // Resolve the functions |
6401 | Q_D(QOpenGLExtension_SGIS_texture_filter4); |
6402 | |
6403 | d->TexFilterFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , const GLfloat *)>(context->getProcAddress(procName: "glTexFilterFuncSGIS" )); |
6404 | d->GetTexFilterFuncSGIS = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetTexFilterFuncSGIS" )); |
6405 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6406 | return true; |
6407 | } |
6408 | |
6409 | QOpenGLExtension_SGIX_async::QOpenGLExtension_SGIX_async() |
6410 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_asyncPrivate)) |
6411 | { |
6412 | } |
6413 | |
6414 | bool QOpenGLExtension_SGIX_async::initializeOpenGLFunctions() |
6415 | { |
6416 | if (isInitialized()) |
6417 | return true; |
6418 | |
6419 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6420 | if (!context) { |
6421 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6422 | return false; |
6423 | } |
6424 | |
6425 | // Resolve the functions |
6426 | Q_D(QOpenGLExtension_SGIX_async); |
6427 | |
6428 | d->IsAsyncMarkerSGIX = reinterpret_cast<GLboolean (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glIsAsyncMarkerSGIX" )); |
6429 | d->DeleteAsyncMarkersSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLsizei )>(context->getProcAddress(procName: "glDeleteAsyncMarkersSGIX" )); |
6430 | d->GenAsyncMarkersSGIX = reinterpret_cast<GLuint (QOPENGLF_APIENTRYP)(GLsizei )>(context->getProcAddress(procName: "glGenAsyncMarkersSGIX" )); |
6431 | d->PollAsyncSGIX = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint *)>(context->getProcAddress(procName: "glPollAsyncSGIX" )); |
6432 | d->FinishAsyncSGIX = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLuint *)>(context->getProcAddress(procName: "glFinishAsyncSGIX" )); |
6433 | d->AsyncMarkerSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glAsyncMarkerSGIX" )); |
6434 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6435 | return true; |
6436 | } |
6437 | |
6438 | QOpenGLExtension_SGIX_flush_raster::QOpenGLExtension_SGIX_flush_raster() |
6439 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_flush_rasterPrivate)) |
6440 | { |
6441 | } |
6442 | |
6443 | bool QOpenGLExtension_SGIX_flush_raster::initializeOpenGLFunctions() |
6444 | { |
6445 | if (isInitialized()) |
6446 | return true; |
6447 | |
6448 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6449 | if (!context) { |
6450 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6451 | return false; |
6452 | } |
6453 | |
6454 | // Resolve the functions |
6455 | Q_D(QOpenGLExtension_SGIX_flush_raster); |
6456 | |
6457 | d->FlushRasterSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glFlushRasterSGIX" )); |
6458 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6459 | return true; |
6460 | } |
6461 | |
6462 | QOpenGLExtension_SGIX_fragment_lighting::QOpenGLExtension_SGIX_fragment_lighting() |
6463 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_fragment_lightingPrivate)) |
6464 | { |
6465 | } |
6466 | |
6467 | bool QOpenGLExtension_SGIX_fragment_lighting::initializeOpenGLFunctions() |
6468 | { |
6469 | if (isInitialized()) |
6470 | return true; |
6471 | |
6472 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6473 | if (!context) { |
6474 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6475 | return false; |
6476 | } |
6477 | |
6478 | // Resolve the functions |
6479 | Q_D(QOpenGLExtension_SGIX_fragment_lighting); |
6480 | |
6481 | d->LightEnviSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glLightEnviSGIX" )); |
6482 | d->GetFragmentMaterialivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFragmentMaterialivSGIX" )); |
6483 | d->GetFragmentMaterialfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetFragmentMaterialfvSGIX" )); |
6484 | d->GetFragmentLightivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetFragmentLightivSGIX" )); |
6485 | d->GetFragmentLightfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetFragmentLightfvSGIX" )); |
6486 | d->FragmentMaterialivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glFragmentMaterialivSGIX" )); |
6487 | d->FragmentMaterialiSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glFragmentMaterialiSGIX" )); |
6488 | d->FragmentMaterialfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glFragmentMaterialfvSGIX" )); |
6489 | d->FragmentMaterialfSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glFragmentMaterialfSGIX" )); |
6490 | d->FragmentLightModelivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glFragmentLightModelivSGIX" )); |
6491 | d->FragmentLightModeliSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glFragmentLightModeliSGIX" )); |
6492 | d->FragmentLightModelfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glFragmentLightModelfvSGIX" )); |
6493 | d->FragmentLightModelfSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glFragmentLightModelfSGIX" )); |
6494 | d->FragmentLightivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glFragmentLightivSGIX" )); |
6495 | d->FragmentLightiSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint )>(context->getProcAddress(procName: "glFragmentLightiSGIX" )); |
6496 | d->FragmentLightfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glFragmentLightfvSGIX" )); |
6497 | d->FragmentLightfSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat )>(context->getProcAddress(procName: "glFragmentLightfSGIX" )); |
6498 | d->FragmentColorMaterialSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum )>(context->getProcAddress(procName: "glFragmentColorMaterialSGIX" )); |
6499 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6500 | return true; |
6501 | } |
6502 | |
6503 | QOpenGLExtension_SGIX_framezoom::QOpenGLExtension_SGIX_framezoom() |
6504 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_framezoomPrivate)) |
6505 | { |
6506 | } |
6507 | |
6508 | bool QOpenGLExtension_SGIX_framezoom::initializeOpenGLFunctions() |
6509 | { |
6510 | if (isInitialized()) |
6511 | return true; |
6512 | |
6513 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6514 | if (!context) { |
6515 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6516 | return false; |
6517 | } |
6518 | |
6519 | // Resolve the functions |
6520 | Q_D(QOpenGLExtension_SGIX_framezoom); |
6521 | |
6522 | d->FrameZoomSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glFrameZoomSGIX" )); |
6523 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6524 | return true; |
6525 | } |
6526 | |
6527 | QOpenGLExtension_SGIX_igloo_interface::QOpenGLExtension_SGIX_igloo_interface() |
6528 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_igloo_interfacePrivate)) |
6529 | { |
6530 | } |
6531 | |
6532 | bool QOpenGLExtension_SGIX_igloo_interface::initializeOpenGLFunctions() |
6533 | { |
6534 | if (isInitialized()) |
6535 | return true; |
6536 | |
6537 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6538 | if (!context) { |
6539 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6540 | return false; |
6541 | } |
6542 | |
6543 | // Resolve the functions |
6544 | Q_D(QOpenGLExtension_SGIX_igloo_interface); |
6545 | |
6546 | d->IglooInterfaceSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLvoid *)>(context->getProcAddress(procName: "glIglooInterfaceSGIX" )); |
6547 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6548 | return true; |
6549 | } |
6550 | |
6551 | QOpenGLExtension_SGIX_instruments::QOpenGLExtension_SGIX_instruments() |
6552 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_instrumentsPrivate)) |
6553 | { |
6554 | } |
6555 | |
6556 | bool QOpenGLExtension_SGIX_instruments::initializeOpenGLFunctions() |
6557 | { |
6558 | if (isInitialized()) |
6559 | return true; |
6560 | |
6561 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6562 | if (!context) { |
6563 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6564 | return false; |
6565 | } |
6566 | |
6567 | // Resolve the functions |
6568 | Q_D(QOpenGLExtension_SGIX_instruments); |
6569 | |
6570 | d->StopInstrumentsSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glStopInstrumentsSGIX" )); |
6571 | d->StartInstrumentsSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glStartInstrumentsSGIX" )); |
6572 | d->ReadInstrumentsSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glReadInstrumentsSGIX" )); |
6573 | d->PollInstrumentsSGIX = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)(GLint *)>(context->getProcAddress(procName: "glPollInstrumentsSGIX" )); |
6574 | d->InstrumentsBufferSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLsizei , GLint *)>(context->getProcAddress(procName: "glInstrumentsBufferSGIX" )); |
6575 | d->GetInstrumentsSGIX = reinterpret_cast<GLint (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glGetInstrumentsSGIX" )); |
6576 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6577 | return true; |
6578 | } |
6579 | |
6580 | QOpenGLExtension_SGIX_list_priority::QOpenGLExtension_SGIX_list_priority() |
6581 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_list_priorityPrivate)) |
6582 | { |
6583 | } |
6584 | |
6585 | bool QOpenGLExtension_SGIX_list_priority::initializeOpenGLFunctions() |
6586 | { |
6587 | if (isInitialized()) |
6588 | return true; |
6589 | |
6590 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6591 | if (!context) { |
6592 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6593 | return false; |
6594 | } |
6595 | |
6596 | // Resolve the functions |
6597 | Q_D(QOpenGLExtension_SGIX_list_priority); |
6598 | |
6599 | d->ListParameterivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLint *)>(context->getProcAddress(procName: "glListParameterivSGIX" )); |
6600 | d->ListParameteriSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint )>(context->getProcAddress(procName: "glListParameteriSGIX" )); |
6601 | d->ListParameterfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glListParameterfvSGIX" )); |
6602 | d->ListParameterfSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat )>(context->getProcAddress(procName: "glListParameterfSGIX" )); |
6603 | d->GetListParameterivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLint *)>(context->getProcAddress(procName: "glGetListParameterivSGIX" )); |
6604 | d->GetListParameterfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetListParameterfvSGIX" )); |
6605 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6606 | return true; |
6607 | } |
6608 | |
6609 | QOpenGLExtension_SGIX_pixel_texture::QOpenGLExtension_SGIX_pixel_texture() |
6610 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_pixel_texturePrivate)) |
6611 | { |
6612 | } |
6613 | |
6614 | bool QOpenGLExtension_SGIX_pixel_texture::initializeOpenGLFunctions() |
6615 | { |
6616 | if (isInitialized()) |
6617 | return true; |
6618 | |
6619 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6620 | if (!context) { |
6621 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6622 | return false; |
6623 | } |
6624 | |
6625 | // Resolve the functions |
6626 | Q_D(QOpenGLExtension_SGIX_pixel_texture); |
6627 | |
6628 | d->PixelTexGenSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum )>(context->getProcAddress(procName: "glPixelTexGenSGIX" )); |
6629 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6630 | return true; |
6631 | } |
6632 | |
6633 | QOpenGLExtension_SGIX_polynomial_ffd::QOpenGLExtension_SGIX_polynomial_ffd() |
6634 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_polynomial_ffdPrivate)) |
6635 | { |
6636 | } |
6637 | |
6638 | bool QOpenGLExtension_SGIX_polynomial_ffd::initializeOpenGLFunctions() |
6639 | { |
6640 | if (isInitialized()) |
6641 | return true; |
6642 | |
6643 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6644 | if (!context) { |
6645 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6646 | return false; |
6647 | } |
6648 | |
6649 | // Resolve the functions |
6650 | Q_D(QOpenGLExtension_SGIX_polynomial_ffd); |
6651 | |
6652 | d->LoadIdentityDeformationMapSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield )>(context->getProcAddress(procName: "glLoadIdentityDeformationMapSGIX" )); |
6653 | d->DeformSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbitfield )>(context->getProcAddress(procName: "glDeformSGIX" )); |
6654 | d->DeformationMap3fSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat , GLfloat , GLint , GLint , GLfloat , GLfloat , GLint , GLint , GLfloat , GLfloat , GLint , GLint , const GLfloat *)>(context->getProcAddress(procName: "glDeformationMap3fSGIX" )); |
6655 | d->DeformationMap3dSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLdouble , GLdouble , GLint , GLint , GLdouble , GLdouble , GLint , GLint , GLdouble , GLdouble , GLint , GLint , const GLdouble *)>(context->getProcAddress(procName: "glDeformationMap3dSGIX" )); |
6656 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6657 | return true; |
6658 | } |
6659 | |
6660 | QOpenGLExtension_SGIX_reference_plane::QOpenGLExtension_SGIX_reference_plane() |
6661 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_reference_planePrivate)) |
6662 | { |
6663 | } |
6664 | |
6665 | bool QOpenGLExtension_SGIX_reference_plane::initializeOpenGLFunctions() |
6666 | { |
6667 | if (isInitialized()) |
6668 | return true; |
6669 | |
6670 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6671 | if (!context) { |
6672 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6673 | return false; |
6674 | } |
6675 | |
6676 | // Resolve the functions |
6677 | Q_D(QOpenGLExtension_SGIX_reference_plane); |
6678 | |
6679 | d->ReferencePlaneSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLdouble *)>(context->getProcAddress(procName: "glReferencePlaneSGIX" )); |
6680 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6681 | return true; |
6682 | } |
6683 | |
6684 | QOpenGLExtension_SGIX_sprite::QOpenGLExtension_SGIX_sprite() |
6685 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_spritePrivate)) |
6686 | { |
6687 | } |
6688 | |
6689 | bool QOpenGLExtension_SGIX_sprite::initializeOpenGLFunctions() |
6690 | { |
6691 | if (isInitialized()) |
6692 | return true; |
6693 | |
6694 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6695 | if (!context) { |
6696 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6697 | return false; |
6698 | } |
6699 | |
6700 | // Resolve the functions |
6701 | Q_D(QOpenGLExtension_SGIX_sprite); |
6702 | |
6703 | d->SpriteParameterivSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLint *)>(context->getProcAddress(procName: "glSpriteParameterivSGIX" )); |
6704 | d->SpriteParameteriSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint )>(context->getProcAddress(procName: "glSpriteParameteriSGIX" )); |
6705 | d->SpriteParameterfvSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , const GLfloat *)>(context->getProcAddress(procName: "glSpriteParameterfvSGIX" )); |
6706 | d->SpriteParameterfSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLfloat )>(context->getProcAddress(procName: "glSpriteParameterfSGIX" )); |
6707 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6708 | return true; |
6709 | } |
6710 | |
6711 | QOpenGLExtension_SGIX_tag_sample_buffer::QOpenGLExtension_SGIX_tag_sample_buffer() |
6712 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGIX_tag_sample_bufferPrivate)) |
6713 | { |
6714 | } |
6715 | |
6716 | bool QOpenGLExtension_SGIX_tag_sample_buffer::initializeOpenGLFunctions() |
6717 | { |
6718 | if (isInitialized()) |
6719 | return true; |
6720 | |
6721 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6722 | if (!context) { |
6723 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6724 | return false; |
6725 | } |
6726 | |
6727 | // Resolve the functions |
6728 | Q_D(QOpenGLExtension_SGIX_tag_sample_buffer); |
6729 | |
6730 | d->TagSampleBufferSGIX = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glTagSampleBufferSGIX" )); |
6731 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6732 | return true; |
6733 | } |
6734 | |
6735 | QOpenGLExtension_SGI_color_table::QOpenGLExtension_SGI_color_table() |
6736 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SGI_color_tablePrivate)) |
6737 | { |
6738 | } |
6739 | |
6740 | bool QOpenGLExtension_SGI_color_table::initializeOpenGLFunctions() |
6741 | { |
6742 | if (isInitialized()) |
6743 | return true; |
6744 | |
6745 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6746 | if (!context) { |
6747 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6748 | return false; |
6749 | } |
6750 | |
6751 | // Resolve the functions |
6752 | Q_D(QOpenGLExtension_SGI_color_table); |
6753 | |
6754 | d->GetColorTableParameterivSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint *)>(context->getProcAddress(procName: "glGetColorTableParameterivSGI" )); |
6755 | d->GetColorTableParameterfvSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLfloat *)>(context->getProcAddress(procName: "glGetColorTableParameterfvSGI" )); |
6756 | d->GetColorTableSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLenum , GLvoid *)>(context->getProcAddress(procName: "glGetColorTableSGI" )); |
6757 | d->CopyColorTableSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLint , GLint , GLsizei )>(context->getProcAddress(procName: "glCopyColorTableSGI" )); |
6758 | d->ColorTableParameterivSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLint *)>(context->getProcAddress(procName: "glColorTableParameterivSGI" )); |
6759 | d->ColorTableParameterfvSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , const GLfloat *)>(context->getProcAddress(procName: "glColorTableParameterfvSGI" )); |
6760 | d->ColorTableSGI = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLenum , GLsizei , GLenum , GLenum , const GLvoid *)>(context->getProcAddress(procName: "glColorTableSGI" )); |
6761 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6762 | return true; |
6763 | } |
6764 | |
6765 | QOpenGLExtension_SUNX_constant_data::QOpenGLExtension_SUNX_constant_data() |
6766 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SUNX_constant_dataPrivate)) |
6767 | { |
6768 | } |
6769 | |
6770 | bool QOpenGLExtension_SUNX_constant_data::initializeOpenGLFunctions() |
6771 | { |
6772 | if (isInitialized()) |
6773 | return true; |
6774 | |
6775 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6776 | if (!context) { |
6777 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6778 | return false; |
6779 | } |
6780 | |
6781 | // Resolve the functions |
6782 | Q_D(QOpenGLExtension_SUNX_constant_data); |
6783 | |
6784 | d->FinishTextureSUNX = reinterpret_cast<void (QOPENGLF_APIENTRYP)()>(context->getProcAddress(procName: "glFinishTextureSUNX" )); |
6785 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6786 | return true; |
6787 | } |
6788 | |
6789 | QOpenGLExtension_SUN_global_alpha::QOpenGLExtension_SUN_global_alpha() |
6790 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SUN_global_alphaPrivate)) |
6791 | { |
6792 | } |
6793 | |
6794 | bool QOpenGLExtension_SUN_global_alpha::initializeOpenGLFunctions() |
6795 | { |
6796 | if (isInitialized()) |
6797 | return true; |
6798 | |
6799 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6800 | if (!context) { |
6801 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6802 | return false; |
6803 | } |
6804 | |
6805 | // Resolve the functions |
6806 | Q_D(QOpenGLExtension_SUN_global_alpha); |
6807 | |
6808 | d->GlobalAlphaFactoruiSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glGlobalAlphaFactoruiSUN" )); |
6809 | d->GlobalAlphaFactorusSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLushort )>(context->getProcAddress(procName: "glGlobalAlphaFactorusSUN" )); |
6810 | d->GlobalAlphaFactorubSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLubyte )>(context->getProcAddress(procName: "glGlobalAlphaFactorubSUN" )); |
6811 | d->GlobalAlphaFactordSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLdouble )>(context->getProcAddress(procName: "glGlobalAlphaFactordSUN" )); |
6812 | d->GlobalAlphaFactorfSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat )>(context->getProcAddress(procName: "glGlobalAlphaFactorfSUN" )); |
6813 | d->GlobalAlphaFactoriSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLint )>(context->getProcAddress(procName: "glGlobalAlphaFactoriSUN" )); |
6814 | d->GlobalAlphaFactorsSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLshort )>(context->getProcAddress(procName: "glGlobalAlphaFactorsSUN" )); |
6815 | d->GlobalAlphaFactorbSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLbyte )>(context->getProcAddress(procName: "glGlobalAlphaFactorbSUN" )); |
6816 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6817 | return true; |
6818 | } |
6819 | |
6820 | QOpenGLExtension_SUN_mesh_array::QOpenGLExtension_SUN_mesh_array() |
6821 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SUN_mesh_arrayPrivate)) |
6822 | { |
6823 | } |
6824 | |
6825 | bool QOpenGLExtension_SUN_mesh_array::initializeOpenGLFunctions() |
6826 | { |
6827 | if (isInitialized()) |
6828 | return true; |
6829 | |
6830 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6831 | if (!context) { |
6832 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6833 | return false; |
6834 | } |
6835 | |
6836 | // Resolve the functions |
6837 | Q_D(QOpenGLExtension_SUN_mesh_array); |
6838 | |
6839 | d->DrawMeshArraysSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLint , GLsizei , GLsizei )>(context->getProcAddress(procName: "glDrawMeshArraysSUN" )); |
6840 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6841 | return true; |
6842 | } |
6843 | |
6844 | QOpenGLExtension_SUN_triangle_list::QOpenGLExtension_SUN_triangle_list() |
6845 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SUN_triangle_listPrivate)) |
6846 | { |
6847 | } |
6848 | |
6849 | bool QOpenGLExtension_SUN_triangle_list::initializeOpenGLFunctions() |
6850 | { |
6851 | if (isInitialized()) |
6852 | return true; |
6853 | |
6854 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6855 | if (!context) { |
6856 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6857 | return false; |
6858 | } |
6859 | |
6860 | // Resolve the functions |
6861 | Q_D(QOpenGLExtension_SUN_triangle_list); |
6862 | |
6863 | d->ReplacementCodePointerSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLenum , GLsizei , const GLvoid* *)>(context->getProcAddress(procName: "glReplacementCodePointerSUN" )); |
6864 | d->ReplacementCodeubvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLubyte *)>(context->getProcAddress(procName: "glReplacementCodeubvSUN" )); |
6865 | d->ReplacementCodeusvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLushort *)>(context->getProcAddress(procName: "glReplacementCodeusvSUN" )); |
6866 | d->ReplacementCodeuivSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *)>(context->getProcAddress(procName: "glReplacementCodeuivSUN" )); |
6867 | d->ReplacementCodeubSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLubyte )>(context->getProcAddress(procName: "glReplacementCodeubSUN" )); |
6868 | d->ReplacementCodeusSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLushort )>(context->getProcAddress(procName: "glReplacementCodeusSUN" )); |
6869 | d->ReplacementCodeuiSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint )>(context->getProcAddress(procName: "glReplacementCodeuiSUN" )); |
6870 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6871 | return true; |
6872 | } |
6873 | |
6874 | QOpenGLExtension_SUN_vertex::QOpenGLExtension_SUN_vertex() |
6875 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_SUN_vertexPrivate)) |
6876 | { |
6877 | } |
6878 | |
6879 | bool QOpenGLExtension_SUN_vertex::initializeOpenGLFunctions() |
6880 | { |
6881 | if (isInitialized()) |
6882 | return true; |
6883 | |
6884 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6885 | if (!context) { |
6886 | qWarning(msg: "A current OpenGL context is required to resolve OpenGL extension functions" ); |
6887 | return false; |
6888 | } |
6889 | |
6890 | // Resolve the functions |
6891 | Q_D(QOpenGLExtension_SUN_vertex); |
6892 | |
6893 | d->ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN" )); |
6894 | d->ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN" )); |
6895 | d->ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN" )); |
6896 | d->ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN" )); |
6897 | d->ReplacementCodeuiTexCoord2fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiTexCoord2fVertex3fvSUN" )); |
6898 | d->ReplacementCodeuiTexCoord2fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiTexCoord2fVertex3fSUN" )); |
6899 | d->ReplacementCodeuiColor4fNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiColor4fNormal3fVertex3fvSUN" )); |
6900 | d->ReplacementCodeuiColor4fNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiColor4fNormal3fVertex3fSUN" )); |
6901 | d->ReplacementCodeuiNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiNormal3fVertex3fvSUN" )); |
6902 | d->ReplacementCodeuiNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiNormal3fVertex3fSUN" )); |
6903 | d->ReplacementCodeuiColor3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiColor3fVertex3fvSUN" )); |
6904 | d->ReplacementCodeuiColor3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiColor3fVertex3fSUN" )); |
6905 | d->ReplacementCodeuiColor4ubVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLubyte *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiColor4ubVertex3fvSUN" )); |
6906 | d->ReplacementCodeuiColor4ubVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLubyte , GLubyte , GLubyte , GLubyte , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiColor4ubVertex3fSUN" )); |
6907 | d->ReplacementCodeuiVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLuint *, const GLfloat *)>(context->getProcAddress(procName: "glReplacementCodeuiVertex3fvSUN" )); |
6908 | d->ReplacementCodeuiVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLuint , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glReplacementCodeuiVertex3fSUN" )); |
6909 | d->TexCoord4fColor4fNormal3fVertex4fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord4fColor4fNormal3fVertex4fvSUN" )); |
6910 | d->TexCoord4fColor4fNormal3fVertex4fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord4fColor4fNormal3fVertex4fSUN" )); |
6911 | d->TexCoord2fColor4fNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord2fColor4fNormal3fVertex3fvSUN" )); |
6912 | d->TexCoord2fColor4fNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord2fColor4fNormal3fVertex3fSUN" )); |
6913 | d->TexCoord2fNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord2fNormal3fVertex3fvSUN" )); |
6914 | d->TexCoord2fNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord2fNormal3fVertex3fSUN" )); |
6915 | d->TexCoord2fColor3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord2fColor3fVertex3fvSUN" )); |
6916 | d->TexCoord2fColor3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord2fColor3fVertex3fSUN" )); |
6917 | d->TexCoord2fColor4ubVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLubyte *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord2fColor4ubVertex3fvSUN" )); |
6918 | d->TexCoord2fColor4ubVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLubyte , GLubyte , GLubyte , GLubyte , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord2fColor4ubVertex3fSUN" )); |
6919 | d->TexCoord4fVertex4fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord4fVertex4fvSUN" )); |
6920 | d->TexCoord4fVertex4fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord4fVertex4fSUN" )); |
6921 | d->TexCoord2fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glTexCoord2fVertex3fvSUN" )); |
6922 | d->TexCoord2fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glTexCoord2fVertex3fSUN" )); |
6923 | d->Color4fNormal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glColor4fNormal3fVertex3fvSUN" )); |
6924 | d->Color4fNormal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glColor4fNormal3fVertex3fSUN" )); |
6925 | d->Normal3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glNormal3fVertex3fvSUN" )); |
6926 | d->Normal3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glNormal3fVertex3fSUN" )); |
6927 | d->Color3fVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLfloat *, const GLfloat *)>(context->getProcAddress(procName: "glColor3fVertex3fvSUN" )); |
6928 | d->Color3fVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLfloat , GLfloat , GLfloat , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glColor3fVertex3fSUN" )); |
6929 | d->Color4ubVertex3fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLubyte *, const GLfloat *)>(context->getProcAddress(procName: "glColor4ubVertex3fvSUN" )); |
6930 | d->Color4ubVertex3fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLubyte , GLubyte , GLubyte , GLubyte , GLfloat , GLfloat , GLfloat )>(context->getProcAddress(procName: "glColor4ubVertex3fSUN" )); |
6931 | d->Color4ubVertex2fvSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(const GLubyte *, const GLfloat *)>(context->getProcAddress(procName: "glColor4ubVertex2fvSUN" )); |
6932 | d->Color4ubVertex2fSUN = reinterpret_cast<void (QOPENGLF_APIENTRYP)(GLubyte , GLubyte , GLubyte , GLubyte , GLfloat , GLfloat )>(context->getProcAddress(procName: "glColor4ubVertex2fSUN" )); |
6933 | QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6934 | return true; |
6935 | } |
6936 | |
6937 | |
6938 | #else |
6939 | |
6940 | QOpenGLExtension_OES_EGL_image::QOpenGLExtension_OES_EGL_image() |
6941 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_OES_EGL_imagePrivate)) |
6942 | { |
6943 | } |
6944 | |
6945 | bool QOpenGLExtension_OES_EGL_image::initializeOpenGLFunctions() |
6946 | { |
6947 | if (isInitialized()) |
6948 | return true; |
6949 | |
6950 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6951 | if (!context) { |
6952 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
6953 | return false; |
6954 | } |
6955 | |
6956 | // Resolve the functions |
6957 | Q_D(QOpenGLExtension_OES_EGL_image); |
6958 | |
6959 | d->EGLImageTargetTexture2DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLeglImageOES image))context->getProcAddress("glEGLImageTargetTexture2DOES" ); |
6960 | d->EGLImageTargetRenderbufferStorageOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLeglImageOES image))context->getProcAddress("glEGLImageTargetRenderbufferStorageOES" ); |
6961 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6962 | } |
6963 | |
6964 | QOpenGLExtension_OES_get_program_binary::QOpenGLExtension_OES_get_program_binary() |
6965 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_OES_get_program_binaryPrivate)) |
6966 | { |
6967 | } |
6968 | |
6969 | bool QOpenGLExtension_OES_get_program_binary::initializeOpenGLFunctions() |
6970 | { |
6971 | if (isInitialized()) |
6972 | return true; |
6973 | |
6974 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6975 | if (!context) { |
6976 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
6977 | return false; |
6978 | } |
6979 | |
6980 | // Resolve the functions |
6981 | Q_D(QOpenGLExtension_OES_get_program_binary); |
6982 | |
6983 | d->GetProgramBinaryOES = (void (QOPENGLF_APIENTRYP)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary))context->getProcAddress("glGetProgramBinaryOES" ); |
6984 | d->ProgramBinaryOES = (void (QOPENGLF_APIENTRYP)(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length))context->getProcAddress("glProgramBinaryOES" ); |
6985 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
6986 | } |
6987 | |
6988 | QOpenGLExtension_OES_mapbuffer::QOpenGLExtension_OES_mapbuffer() |
6989 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_OES_mapbufferPrivate)) |
6990 | { |
6991 | } |
6992 | |
6993 | bool QOpenGLExtension_OES_mapbuffer::initializeOpenGLFunctions() |
6994 | { |
6995 | if (isInitialized()) |
6996 | return true; |
6997 | |
6998 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
6999 | if (!context) { |
7000 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7001 | return false; |
7002 | } |
7003 | |
7004 | // Resolve the functions |
7005 | Q_D(QOpenGLExtension_OES_mapbuffer); |
7006 | |
7007 | d->MapBufferOES = (void* (QOPENGLF_APIENTRYP)(GLenum target, GLenum access))context->getProcAddress("glMapBufferOES" ); |
7008 | d->UnmapBufferOES = (GLboolean (QOPENGLF_APIENTRYP)(GLenum target))context->getProcAddress("glUnmapBufferOES" ); |
7009 | d->GetBufferPointervOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLenum pname, GLvoid** params))context->getProcAddress("glGetBufferPointervOES" ); |
7010 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7011 | } |
7012 | |
7013 | QOpenGLExtension_OES_texture_3D::QOpenGLExtension_OES_texture_3D() |
7014 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_OES_texture_3DPrivate)) |
7015 | { |
7016 | } |
7017 | |
7018 | bool QOpenGLExtension_OES_texture_3D::initializeOpenGLFunctions() |
7019 | { |
7020 | if (isInitialized()) |
7021 | return true; |
7022 | |
7023 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7024 | if (!context) { |
7025 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7026 | return false; |
7027 | } |
7028 | |
7029 | // Resolve the functions |
7030 | Q_D(QOpenGLExtension_OES_texture_3D); |
7031 | |
7032 | d->TexImage3DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels))context->getProcAddress("glTexImage3DOES" ); |
7033 | d->TexSubImage3DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels))context->getProcAddress("glTexSubImage3DOES" ); |
7034 | d->CopyTexSubImage3DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height))context->getProcAddress("glCopyTexSubImage3DOES" ); |
7035 | d->CompressedTexImage3DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data))context->getProcAddress("glCompressedTexImage3DOES" ); |
7036 | d->CompressedTexSubImage3DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data))context->getProcAddress("glCompressedTexSubImage3DOES" ); |
7037 | d->FramebufferTexture3DOES = (void (QOPENGLF_APIENTRYP)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset))context->getProcAddress("glFramebufferTexture3DOES" ); |
7038 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7039 | } |
7040 | |
7041 | QOpenGLExtension_OES_vertex_array_object::QOpenGLExtension_OES_vertex_array_object() |
7042 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_OES_vertex_array_objectPrivate)) |
7043 | { |
7044 | } |
7045 | |
7046 | bool QOpenGLExtension_OES_vertex_array_object::initializeOpenGLFunctions() |
7047 | { |
7048 | if (isInitialized()) |
7049 | return true; |
7050 | |
7051 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7052 | if (!context) { |
7053 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7054 | return false; |
7055 | } |
7056 | |
7057 | // Resolve the functions |
7058 | Q_D(QOpenGLExtension_OES_vertex_array_object); |
7059 | |
7060 | d->BindVertexArrayOES = (void (QOPENGLF_APIENTRYP)(GLuint array))context->getProcAddress("glBindVertexArrayOES" ); |
7061 | d->DeleteVertexArraysOES = (void (QOPENGLF_APIENTRYP)(GLsizei n, const GLuint *arrays))context->getProcAddress("glDeleteVertexArraysOES" ); |
7062 | d->GenVertexArraysOES = (void (QOPENGLF_APIENTRYP)(GLsizei n, GLuint *arrays))context->getProcAddress("glGenVertexArraysOES" ); |
7063 | d->IsVertexArrayOES = (GLboolean (QOPENGLF_APIENTRYP)(GLuint array))context->getProcAddress("glIsVertexArrayOES" ); |
7064 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7065 | } |
7066 | |
7067 | QOpenGLExtension_AMD_performance_monitor::QOpenGLExtension_AMD_performance_monitor() |
7068 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_AMD_performance_monitorPrivate)) |
7069 | { |
7070 | } |
7071 | |
7072 | bool QOpenGLExtension_AMD_performance_monitor::initializeOpenGLFunctions() |
7073 | { |
7074 | if (isInitialized()) |
7075 | return true; |
7076 | |
7077 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7078 | if (!context) { |
7079 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7080 | return false; |
7081 | } |
7082 | |
7083 | // Resolve the functions |
7084 | Q_D(QOpenGLExtension_AMD_performance_monitor); |
7085 | |
7086 | d->GetPerfMonitorGroupsAMD = (void (QOPENGLF_APIENTRYP)(GLint *numGroups, GLsizei groupsSize, GLuint *groups))context->getProcAddress("glGetPerfMonitorGroupsAMD" ); |
7087 | d->GetPerfMonitorCountersAMD = (void (QOPENGLF_APIENTRYP)(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters))context->getProcAddress("glGetPerfMonitorCountersAMD" ); |
7088 | d->GetPerfMonitorGroupStringAMD = (void (QOPENGLF_APIENTRYP)(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString))context->getProcAddress("glGetPerfMonitorGroupStringAMD" ); |
7089 | d->GetPerfMonitorCounterStringAMD = (void (QOPENGLF_APIENTRYP)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString))context->getProcAddress("glGetPerfMonitorCounterStringAMD" ); |
7090 | d->GetPerfMonitorCounterInfoAMD = (void (QOPENGLF_APIENTRYP)(GLuint group, GLuint counter, GLenum pname, GLvoid *data))context->getProcAddress("glGetPerfMonitorCounterInfoAMD" ); |
7091 | d->GenPerfMonitorsAMD = (void (QOPENGLF_APIENTRYP)(GLsizei n, GLuint *monitors))context->getProcAddress("glGenPerfMonitorsAMD" ); |
7092 | d->DeletePerfMonitorsAMD = (void (QOPENGLF_APIENTRYP)(GLsizei n, GLuint *monitors))context->getProcAddress("glDeletePerfMonitorsAMD" ); |
7093 | d->SelectPerfMonitorCountersAMD = (void (QOPENGLF_APIENTRYP)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList))context->getProcAddress("glSelectPerfMonitorCountersAMD" ); |
7094 | d->BeginPerfMonitorAMD = (void (QOPENGLF_APIENTRYP)(GLuint monitor))context->getProcAddress("glBeginPerfMonitorAMD" ); |
7095 | d->EndPerfMonitorAMD = (void (QOPENGLF_APIENTRYP )(GLuint monitor))context->getProcAddress("glEndPerfMonitorAMD" ); |
7096 | d->GetPerfMonitorCounterDataAMD = (void (QOPENGLF_APIENTRYP)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten))context->getProcAddress("glGetPerfMonitorCounterDataAMD" ); |
7097 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7098 | } |
7099 | |
7100 | QOpenGLExtension_ANGLE_framebuffer_blit::QOpenGLExtension_ANGLE_framebuffer_blit() |
7101 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ANGLE_framebuffer_blitPrivate)) |
7102 | { |
7103 | } |
7104 | |
7105 | bool QOpenGLExtension_ANGLE_framebuffer_blit::initializeOpenGLFunctions() |
7106 | { |
7107 | if (isInitialized()) |
7108 | return true; |
7109 | |
7110 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7111 | if (!context) { |
7112 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7113 | return false; |
7114 | } |
7115 | |
7116 | // Resolve the functions |
7117 | Q_D(QOpenGLExtension_ANGLE_framebuffer_blit); |
7118 | |
7119 | d->BlitFramebufferANGLE = (void (QOPENGLF_APIENTRYP)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter))context->getProcAddress("glBlitFramebufferANGLE" ); |
7120 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7121 | } |
7122 | |
7123 | QOpenGLExtension_ANGLE_framebuffer_multisample::QOpenGLExtension_ANGLE_framebuffer_multisample() |
7124 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ANGLE_framebuffer_multisamplePrivate)) |
7125 | { |
7126 | } |
7127 | |
7128 | bool QOpenGLExtension_ANGLE_framebuffer_multisample::initializeOpenGLFunctions() |
7129 | { |
7130 | if (isInitialized()) |
7131 | return true; |
7132 | |
7133 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7134 | if (!context) { |
7135 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7136 | return false; |
7137 | } |
7138 | |
7139 | // Resolve the functions |
7140 | Q_D(QOpenGLExtension_ANGLE_framebuffer_multisample); |
7141 | |
7142 | d->RenderbufferStorageMultisampleANGLE = (void (QOPENGLF_APIENTRYP)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height))context->getProcAddress("glRenderbufferStorageMultisampleANGLE" ); |
7143 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7144 | } |
7145 | |
7146 | QOpenGLExtension_ANGLE_instanced_arrays::QOpenGLExtension_ANGLE_instanced_arrays() |
7147 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ANGLE_instanced_arraysPrivate)) |
7148 | { |
7149 | } |
7150 | |
7151 | bool QOpenGLExtension_ANGLE_instanced_arrays::initializeOpenGLFunctions() |
7152 | { |
7153 | if (isInitialized()) |
7154 | return true; |
7155 | |
7156 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7157 | if (!context) { |
7158 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7159 | return false; |
7160 | } |
7161 | |
7162 | // Resolve the functions |
7163 | Q_D(QOpenGLExtension_ANGLE_instanced_arrays); |
7164 | |
7165 | d->DrawArraysInstancedANGLE = (void (QOPENGLF_APIENTRYP)(GLenum mode, GLint first, GLsizei count, GLsizei primcount))context->getProcAddress("glDrawArraysInstancedANGLE" ); |
7166 | d->DrawElementsInstancedANGLE = (void (QOPENGLF_APIENTRYP)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount))context->getProcAddress("glDrawElementsInstancedANGLE" ); |
7167 | d->VertexAttribDivisorANGLE = (void (QOPENGLF_APIENTRYP)(GLuint index, GLuint divisor))context->getProcAddress("glVertexAttribDivisorANGLE" ); |
7168 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7169 | } |
7170 | |
7171 | QOpenGLExtension_ANGLE_translated_shader_source::QOpenGLExtension_ANGLE_translated_shader_source() |
7172 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_ANGLE_translated_shader_sourcePrivate)) |
7173 | { |
7174 | } |
7175 | |
7176 | bool QOpenGLExtension_ANGLE_translated_shader_source::initializeOpenGLFunctions() |
7177 | { |
7178 | if (isInitialized()) |
7179 | return true; |
7180 | |
7181 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7182 | if (!context) { |
7183 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7184 | return false; |
7185 | } |
7186 | |
7187 | // Resolve the functions |
7188 | Q_D(QOpenGLExtension_ANGLE_translated_shader_source); |
7189 | |
7190 | d->GetTranslatedShaderSourceANGLE = (void (QOPENGLF_APIENTRYP)(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source))context->getProcAddress("glGetTranslatedShaderSourceANGLE" ); |
7191 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7192 | } |
7193 | |
7194 | QOpenGLExtension_APPLE_framebuffer_multisample::QOpenGLExtension_APPLE_framebuffer_multisample() |
7195 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_APPLE_framebuffer_multisamplePrivate)) |
7196 | { |
7197 | } |
7198 | |
7199 | bool QOpenGLExtension_APPLE_framebuffer_multisample::initializeOpenGLFunctions() |
7200 | { |
7201 | if (isInitialized()) |
7202 | return true; |
7203 | |
7204 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7205 | if (!context) { |
7206 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7207 | return false; |
7208 | } |
7209 | |
7210 | // Resolve the functions |
7211 | Q_D(QOpenGLExtension_APPLE_framebuffer_multisample); |
7212 | |
7213 | d->RenderbufferStorageMultisampleAPPLE = (void (QOPENGLF_APIENTRYP)(GLenum, GLsizei, GLenum, GLsizei, GLsizei))context->getProcAddress("glRenderbufferStorageMultisampleAPPLE" ); |
7214 | d->ResolveMultisampleFramebufferAPPLE = (void (QOPENGLF_APIENTRYP)(void))context->getProcAddress("glResolveMultisampleFramebufferAPPLE" ); |
7215 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7216 | } |
7217 | |
7218 | QOpenGLExtension_EXT_debug_label::QOpenGLExtension_EXT_debug_label() |
7219 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_debug_labelPrivate)) |
7220 | { |
7221 | } |
7222 | |
7223 | bool QOpenGLExtension_EXT_debug_label::initializeOpenGLFunctions() |
7224 | { |
7225 | if (isInitialized()) |
7226 | return true; |
7227 | |
7228 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7229 | if (!context) { |
7230 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7231 | return false; |
7232 | } |
7233 | |
7234 | // Resolve the functions |
7235 | Q_D(QOpenGLExtension_EXT_debug_label); |
7236 | |
7237 | d->LabelObjectEXT = (void (QOPENGLF_APIENTRYP)(GLenum type, GLuint object, GLsizei length, const GLchar *label))context->getProcAddress("glLabelObjectEXT" ); |
7238 | d->GetObjectLabelEXT = (void (QOPENGLF_APIENTRYP)(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label))context->getProcAddress("glGetObjectLabelEXT" ); |
7239 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7240 | } |
7241 | |
7242 | QOpenGLExtension_EXT_debug_marker::QOpenGLExtension_EXT_debug_marker() |
7243 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_debug_markerPrivate)) |
7244 | { |
7245 | } |
7246 | |
7247 | bool QOpenGLExtension_EXT_debug_marker::initializeOpenGLFunctions() |
7248 | { |
7249 | if (isInitialized()) |
7250 | return true; |
7251 | |
7252 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7253 | if (!context) { |
7254 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7255 | return false; |
7256 | } |
7257 | |
7258 | // Resolve the functions |
7259 | Q_D(QOpenGLExtension_EXT_debug_marker); |
7260 | |
7261 | d->InsertEventMarkerEXT = (void (QOPENGLF_APIENTRYP)(GLsizei length, const GLchar *marker))context->getProcAddress("glInsertEventMarkerEXT" ); |
7262 | d->PushGroupMarkerEXT = (void (QOPENGLF_APIENTRYP)(GLsizei length, const GLchar *marker))context->getProcAddress("glPushGroupMarkerEXT" ); |
7263 | d->PopGroupMarkerEXT = (void (QOPENGLF_APIENTRYP)(void))context->getProcAddress("glPopGroupMarkerEXT" ); |
7264 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7265 | } |
7266 | |
7267 | QOpenGLExtension_EXT_discard_framebuffer::QOpenGLExtension_EXT_discard_framebuffer() |
7268 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_discard_framebufferPrivate)) |
7269 | { |
7270 | } |
7271 | |
7272 | bool QOpenGLExtension_EXT_discard_framebuffer::initializeOpenGLFunctions() |
7273 | { |
7274 | if (isInitialized()) |
7275 | return true; |
7276 | |
7277 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7278 | if (!context) { |
7279 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7280 | return false; |
7281 | } |
7282 | |
7283 | // Resolve the functions |
7284 | Q_D(QOpenGLExtension_EXT_discard_framebuffer); |
7285 | |
7286 | d->DiscardFramebufferEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLsizei numAttachments, const GLenum *attachments))context->getProcAddress("glDiscardFramebufferEXT" ); |
7287 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7288 | } |
7289 | |
7290 | QOpenGLExtension_EXT_multisampled_render_to_texture::QOpenGLExtension_EXT_multisampled_render_to_texture() |
7291 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_multisampled_render_to_texturePrivate)) |
7292 | { |
7293 | } |
7294 | |
7295 | bool QOpenGLExtension_EXT_multisampled_render_to_texture::initializeOpenGLFunctions() |
7296 | { |
7297 | if (isInitialized()) |
7298 | return true; |
7299 | |
7300 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7301 | if (!context) { |
7302 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7303 | return false; |
7304 | } |
7305 | |
7306 | // Resolve the functions |
7307 | Q_D(QOpenGLExtension_EXT_multisampled_render_to_texture); |
7308 | |
7309 | d->RenderbufferStorageMultisampleEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height))context->getProcAddress("glRenderbufferStorageMultisampleEXT" ); |
7310 | d->FramebufferTexture2DMultisampleEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples))context->getProcAddress("glFramebufferTexture2DMultisampleEXT" ); |
7311 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7312 | } |
7313 | |
7314 | QOpenGLExtension_EXT_multi_draw_arrays::QOpenGLExtension_EXT_multi_draw_arrays() |
7315 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_multi_draw_arraysPrivate)) |
7316 | { |
7317 | } |
7318 | |
7319 | bool QOpenGLExtension_EXT_multi_draw_arrays::initializeOpenGLFunctions() |
7320 | { |
7321 | if (isInitialized()) |
7322 | return true; |
7323 | |
7324 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7325 | if (!context) { |
7326 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7327 | return false; |
7328 | } |
7329 | |
7330 | // Resolve the functions |
7331 | Q_D(QOpenGLExtension_EXT_multi_draw_arrays); |
7332 | |
7333 | d->MultiDrawArraysEXT = (void (QOPENGLF_APIENTRYP)(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount))context->getProcAddress("glMultiDrawArraysEXT" ); |
7334 | d->MultiDrawElementsEXT = (void (QOPENGLF_APIENTRYP)(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount))context->getProcAddress("glMultiDrawElementsEXT" ); |
7335 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7336 | } |
7337 | |
7338 | QOpenGLExtension_EXT_occlusion_query_boolean::QOpenGLExtension_EXT_occlusion_query_boolean() |
7339 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_occlusion_query_booleanPrivate)) |
7340 | { |
7341 | } |
7342 | |
7343 | bool QOpenGLExtension_EXT_occlusion_query_boolean::initializeOpenGLFunctions() |
7344 | { |
7345 | if (isInitialized()) |
7346 | return true; |
7347 | |
7348 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7349 | if (!context) { |
7350 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7351 | return false; |
7352 | } |
7353 | |
7354 | // Resolve the functions |
7355 | Q_D(QOpenGLExtension_EXT_occlusion_query_boolean); |
7356 | |
7357 | d->GenQueriesEXT = (void (QOPENGLF_APIENTRYP)(GLsizei n, GLuint *ids))context->getProcAddress("glGenQueriesEXT" ); |
7358 | d->DeleteQueriesEXT = (void (QOPENGLF_APIENTRYP)(GLsizei n, const GLuint *ids))context->getProcAddress("glDeleteQueriesEXT" ); |
7359 | d->IsQueryEXT = (GLboolean (QOPENGLF_APIENTRYP)(GLuint id))context->getProcAddress("glIsQueryEXT" ); |
7360 | d->BeginQueryEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLuint id))context->getProcAddress("glBeginQueryEXT" ); |
7361 | d->EndQueryEXT = (void (QOPENGLF_APIENTRYP)(GLenum target))context->getProcAddress("glEndQueryEXT" ); |
7362 | d->GetQueryivEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLenum pname, GLint *params))context->getProcAddress("glGetQueryivEXT" ); |
7363 | d->GetQueryObjectuivEXT = (void (QOPENGLF_APIENTRYP)(GLuint id, GLenum pname, GLuint *params))context->getProcAddress("glGetQueryObjectuivEXT" ); |
7364 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7365 | } |
7366 | |
7367 | QOpenGLExtension_EXT_robustness::QOpenGLExtension_EXT_robustness() |
7368 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_robustnessPrivate)) |
7369 | { |
7370 | } |
7371 | |
7372 | bool QOpenGLExtension_EXT_robustness::initializeOpenGLFunctions() |
7373 | { |
7374 | if (isInitialized()) |
7375 | return true; |
7376 | |
7377 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7378 | if (!context) { |
7379 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7380 | return false; |
7381 | } |
7382 | |
7383 | // Resolve the functions |
7384 | Q_D(QOpenGLExtension_EXT_robustness); |
7385 | |
7386 | d->GetGraphicsResetStatusEXT = (GLenum (QOPENGLF_APIENTRYP)(void))context->getProcAddress("glGetGraphicsResetStatusEXT" ); |
7387 | d->ReadnPixelsEXT = (void (QOPENGLF_APIENTRYP)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data))context->getProcAddress("glReadnPixelsEXT" ); |
7388 | d->GetnUniformfvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei bufSize, float *params))context->getProcAddress("glGetnUniformfvEXT" ); |
7389 | d->GetnUniformivEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei bufSize, GLint *params))context->getProcAddress("glGetnUniformivEXT" ); |
7390 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7391 | } |
7392 | |
7393 | QOpenGLExtension_EXT_separate_shader_objects::QOpenGLExtension_EXT_separate_shader_objects() |
7394 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_separate_shader_objectsPrivate)) |
7395 | { |
7396 | } |
7397 | |
7398 | bool QOpenGLExtension_EXT_separate_shader_objects::initializeOpenGLFunctions() |
7399 | { |
7400 | if (isInitialized()) |
7401 | return true; |
7402 | |
7403 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7404 | if (!context) { |
7405 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7406 | return false; |
7407 | } |
7408 | |
7409 | // Resolve the functions |
7410 | Q_D(QOpenGLExtension_EXT_separate_shader_objects); |
7411 | |
7412 | d->UseProgramStagesEXT = (void (QOPENGLF_APIENTRYP)(GLuint pipeline, GLbitfield stages, GLuint program))context->getProcAddress("glUseProgramStagesEXT" ); |
7413 | d->ActiveShaderProgramEXT = (void (QOPENGLF_APIENTRYP)(GLuint pipeline, GLuint program))context->getProcAddress("glActiveShaderProgramEXT" ); |
7414 | d->CreateShaderProgramvEXT = (GLuint (QOPENGLF_APIENTRYP)(GLenum type, GLsizei count, const GLchar **strings))context->getProcAddress("glCreateShaderProgramvEXT" ); |
7415 | d->BindProgramPipelineEXT = (void (QOPENGLF_APIENTRYP)(GLuint pipeline))context->getProcAddress("glBindProgramPipelineEXT" ); |
7416 | d->DeleteProgramPipelinesEXT = (void (QOPENGLF_APIENTRYP)(GLsizei n, const GLuint *pipelines))context->getProcAddress("glDeleteProgramPipelinesEXT" ); |
7417 | d->GenProgramPipelinesEXT = (void (QOPENGLF_APIENTRYP)(GLsizei n, GLuint *pipelines))context->getProcAddress("glGenProgramPipelinesEXT" ); |
7418 | d->IsProgramPipelineEXT = (GLboolean (QOPENGLF_APIENTRYP)(GLuint pipeline))context->getProcAddress("glIsProgramPipelineEXT" ); |
7419 | d->ProgramParameteriEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLenum pname, GLint value))context->getProcAddress("glProgramParameteriEXT" ); |
7420 | d->GetProgramPipelineivEXT = (void (QOPENGLF_APIENTRYP)(GLuint pipeline, GLenum pname, GLint *params))context->getProcAddress("glGetProgramPipelineivEXT" ); |
7421 | d->ProgramUniform1iEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLint x))context->getProcAddress("glProgramUniform1iEXT" ); |
7422 | d->ProgramUniform2iEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLint x, GLint y))context->getProcAddress("glProgramUniform2iEXT" ); |
7423 | d->ProgramUniform3iEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLint x, GLint y, GLint z))context->getProcAddress("glProgramUniform3iEXT" ); |
7424 | d->ProgramUniform4iEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w))context->getProcAddress("glProgramUniform4iEXT" ); |
7425 | d->ProgramUniform1fEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLfloat x))context->getProcAddress("glProgramUniform1fEXT" ); |
7426 | d->ProgramUniform2fEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLfloat x, GLfloat y))context->getProcAddress("glProgramUniform2fEXT" ); |
7427 | d->ProgramUniform3fEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z))context->getProcAddress("glProgramUniform3fEXT" ); |
7428 | d->ProgramUniform4fEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w))context->getProcAddress("glProgramUniform4fEXT" ); |
7429 | d->ProgramUniform1ivEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLint *value))context->getProcAddress("glProgramUniform1ivEXT" ); |
7430 | d->ProgramUniform2ivEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLint *value))context->getProcAddress("glProgramUniform2ivEXT" ); |
7431 | d->ProgramUniform3ivEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLint *value))context->getProcAddress("glProgramUniform3ivEXT" ); |
7432 | d->ProgramUniform4ivEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLint *value))context->getProcAddress("glProgramUniform4ivEXT" ); |
7433 | d->ProgramUniform1fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLfloat *value))context->getProcAddress("glProgramUniform1fvEXT" ); |
7434 | d->ProgramUniform2fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLfloat *value))context->getProcAddress("glProgramUniform2fvEXT" ); |
7435 | d->ProgramUniform3fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLfloat *value))context->getProcAddress("glProgramUniform3fvEXT" ); |
7436 | d->ProgramUniform4fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, const GLfloat *value))context->getProcAddress("glProgramUniform4fvEXT" ); |
7437 | d->ProgramUniformMatrix2fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value))context->getProcAddress("glProgramUniformMatrix2fvEXT" ); |
7438 | d->ProgramUniformMatrix3fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value))context->getProcAddress("glProgramUniformMatrix3fvEXT" ); |
7439 | d->ProgramUniformMatrix4fvEXT = (void (QOPENGLF_APIENTRYP)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value))context->getProcAddress("glProgramUniformMatrix4fvEXT" ); |
7440 | d->ValidateProgramPipelineEXT = (void (QOPENGLF_APIENTRYP)(GLuint pipeline))context->getProcAddress("glValidateProgramPipelineEXT" ); |
7441 | d->GetProgramPipelineInfoLogEXT = (void (QOPENGLF_APIENTRYP)(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog))context->getProcAddress("glGetProgramPipelineInfoLogEXT" ); |
7442 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7443 | } |
7444 | |
7445 | QOpenGLExtension_EXT_texture_storage::QOpenGLExtension_EXT_texture_storage() |
7446 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_EXT_texture_storagePrivate)) |
7447 | { |
7448 | } |
7449 | |
7450 | bool QOpenGLExtension_EXT_texture_storage::initializeOpenGLFunctions() |
7451 | { |
7452 | if (isInitialized()) |
7453 | return true; |
7454 | |
7455 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7456 | if (!context) { |
7457 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7458 | return false; |
7459 | } |
7460 | |
7461 | // Resolve the functions |
7462 | Q_D(QOpenGLExtension_EXT_texture_storage); |
7463 | |
7464 | d->TexStorage1DEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width))context->getProcAddress("glTexStorage1DEXT" ); |
7465 | d->TexStorage2DEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height))context->getProcAddress("glTexStorage2DEXT" ); |
7466 | d->TexStorage3DEXT = (void (QOPENGLF_APIENTRYP)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth))context->getProcAddress("glTexStorage3DEXT" ); |
7467 | d->TextureStorage1DEXT = (void (QOPENGLF_APIENTRYP)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width))context->getProcAddress("glTextureStorage1DEXT" ); |
7468 | d->TextureStorage2DEXT = (void (QOPENGLF_APIENTRYP)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height))context->getProcAddress("glTextureStorage2DEXT" ); |
7469 | d->TextureStorage3DEXT = (void (QOPENGLF_APIENTRYP)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth))context->getProcAddress("glTextureStorage3DEXT" ); |
7470 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7471 | } |
7472 | |
7473 | QOpenGLExtension_IMG_multisampled_render_to_texture::QOpenGLExtension_IMG_multisampled_render_to_texture() |
7474 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_IMG_multisampled_render_to_texturePrivate)) |
7475 | { |
7476 | } |
7477 | |
7478 | bool QOpenGLExtension_IMG_multisampled_render_to_texture::initializeOpenGLFunctions() |
7479 | { |
7480 | if (isInitialized()) |
7481 | return true; |
7482 | |
7483 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7484 | if (!context) { |
7485 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7486 | return false; |
7487 | } |
7488 | |
7489 | // Resolve the functions |
7490 | Q_D(QOpenGLExtension_IMG_multisampled_render_to_texture); |
7491 | |
7492 | d->RenderbufferStorageMultisampleIMG = (void (QOPENGLF_APIENTRYP)(GLenum, GLsizei, GLenum, GLsizei, GLsizei))context->getProcAddress("glRenderbufferStorageMultisampleIMG" ); |
7493 | d->FramebufferTexture2DMultisampleIMG = (void (QOPENGLF_APIENTRYP)(GLenum, GLenum, GLenum, GLuint, GLint, GLsizei))context->getProcAddress("glFramebufferTexture2DMultisampleIMG" ); |
7494 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7495 | } |
7496 | |
7497 | QOpenGLExtension_NV_coverage_sample::QOpenGLExtension_NV_coverage_sample() |
7498 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_coverage_samplePrivate)) |
7499 | { |
7500 | } |
7501 | |
7502 | bool QOpenGLExtension_NV_coverage_sample::initializeOpenGLFunctions() |
7503 | { |
7504 | if (isInitialized()) |
7505 | return true; |
7506 | |
7507 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7508 | if (!context) { |
7509 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7510 | return false; |
7511 | } |
7512 | |
7513 | // Resolve the functions |
7514 | Q_D(QOpenGLExtension_NV_coverage_sample); |
7515 | |
7516 | d->CoverageMaskNV = (void (QOPENGLF_APIENTRYP)(GLboolean mask))context->getProcAddress("glCoverageMaskNV" ); |
7517 | d->CoverageOperationNV = (void (QOPENGLF_APIENTRYP)(GLenum operation))context->getProcAddress("glCoverageOperationNV" ); |
7518 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7519 | } |
7520 | |
7521 | QOpenGLExtension_NV_draw_buffers::QOpenGLExtension_NV_draw_buffers() |
7522 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_draw_buffersPrivate)) |
7523 | { |
7524 | } |
7525 | |
7526 | bool QOpenGLExtension_NV_draw_buffers::initializeOpenGLFunctions() |
7527 | { |
7528 | if (isInitialized()) |
7529 | return true; |
7530 | |
7531 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7532 | if (!context) { |
7533 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7534 | return false; |
7535 | } |
7536 | |
7537 | // Resolve the functions |
7538 | Q_D(QOpenGLExtension_NV_draw_buffers); |
7539 | |
7540 | d->DrawBuffersNV = (void (QOPENGLF_APIENTRYP)(GLsizei n, const GLenum *bufs))context->getProcAddress("glDrawBuffersNV" ); |
7541 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7542 | } |
7543 | |
7544 | QOpenGLExtension_NV_fence::QOpenGLExtension_NV_fence() |
7545 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_fencePrivate)) |
7546 | { |
7547 | } |
7548 | |
7549 | bool QOpenGLExtension_NV_fence::initializeOpenGLFunctions() |
7550 | { |
7551 | if (isInitialized()) |
7552 | return true; |
7553 | |
7554 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7555 | if (!context) { |
7556 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7557 | return false; |
7558 | } |
7559 | |
7560 | // Resolve the functions |
7561 | Q_D(QOpenGLExtension_NV_fence); |
7562 | |
7563 | d->DeleteFencesNV = (void (QOPENGLF_APIENTRYP)(GLsizei n, const GLuint *fences))context->getProcAddress("glDeleteFencesNV" ); |
7564 | d->GenFencesNV = (void (QOPENGLF_APIENTRYP)(GLsizei n, GLuint *fences))context->getProcAddress("glGenFencesNV" ); |
7565 | d->IsFenceNV = (GLboolean (QOPENGLF_APIENTRYP)(GLuint fence))context->getProcAddress("glIsFenceNV" ); |
7566 | d->TestFenceNV = (GLboolean (QOPENGLF_APIENTRYP)(GLuint fence))context->getProcAddress("glTestFenceNV" ); |
7567 | d->GetFenceivNV = (void (QOPENGLF_APIENTRYP)(GLuint fence, GLenum pname, GLint *params))context->getProcAddress("glGetFenceivNV" ); |
7568 | d->FinishFenceNV = (void (QOPENGLF_APIENTRYP)(GLuint fence))context->getProcAddress("glFinishFenceNV" ); |
7569 | d->SetFenceNV = (void (QOPENGLF_APIENTRYP)(GLuint fence, GLenum condition))context->getProcAddress("glSetFenceNV" ); |
7570 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7571 | } |
7572 | |
7573 | QOpenGLExtension_NV_read_buffer::QOpenGLExtension_NV_read_buffer() |
7574 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_NV_read_bufferPrivate)) |
7575 | { |
7576 | } |
7577 | |
7578 | bool QOpenGLExtension_NV_read_buffer::initializeOpenGLFunctions() |
7579 | { |
7580 | if (isInitialized()) |
7581 | return true; |
7582 | |
7583 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7584 | if (!context) { |
7585 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7586 | return false; |
7587 | } |
7588 | |
7589 | // Resolve the functions |
7590 | Q_D(QOpenGLExtension_NV_read_buffer); |
7591 | |
7592 | d->ReadBufferNV = (void (QOPENGLF_APIENTRYP)(GLenum mode))context->getProcAddress("glReadBufferNV" ); |
7593 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7594 | } |
7595 | |
7596 | QOpenGLExtension_QCOM_alpha_test::QOpenGLExtension_QCOM_alpha_test() |
7597 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_QCOM_alpha_testPrivate)) |
7598 | { |
7599 | } |
7600 | |
7601 | bool QOpenGLExtension_QCOM_alpha_test::initializeOpenGLFunctions() |
7602 | { |
7603 | if (isInitialized()) |
7604 | return true; |
7605 | |
7606 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7607 | if (!context) { |
7608 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7609 | return false; |
7610 | } |
7611 | |
7612 | // Resolve the functions |
7613 | Q_D(QOpenGLExtension_QCOM_alpha_test); |
7614 | |
7615 | d->AlphaFuncQCOM = (void (QOPENGLF_APIENTRYP )(GLenum func, GLclampf ref))context->getProcAddress("glAlphaFuncQCOM" ); |
7616 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7617 | } |
7618 | |
7619 | QOpenGLExtension_QCOM_driver_control::QOpenGLExtension_QCOM_driver_control() |
7620 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_QCOM_driver_controlPrivate)) |
7621 | { |
7622 | } |
7623 | |
7624 | bool QOpenGLExtension_QCOM_driver_control::initializeOpenGLFunctions() |
7625 | { |
7626 | if (isInitialized()) |
7627 | return true; |
7628 | |
7629 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7630 | if (!context) { |
7631 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7632 | return false; |
7633 | } |
7634 | |
7635 | // Resolve the functions |
7636 | Q_D(QOpenGLExtension_QCOM_driver_control); |
7637 | |
7638 | d->GetDriverControlsQCOM = (void (QOPENGLF_APIENTRYP)(GLint *num, GLsizei size, GLuint *driverControls))context->getProcAddress("glGetDriverControlsQCOM" ); |
7639 | d->GetDriverControlStringQCOM = (void (QOPENGLF_APIENTRYP)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString))context->getProcAddress("glGetDriverControlStringQCOM" ); |
7640 | d->EnableDriverControlQCOM = (void (QOPENGLF_APIENTRYP)(GLuint driverControl))context->getProcAddress("glEnableDriverControlQCOM" ); |
7641 | d->DisableDriverControlQCOM = (void (QOPENGLF_APIENTRYP)(GLuint driverControl))context->getProcAddress("glDisableDriverControlQCOM" ); |
7642 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7643 | } |
7644 | |
7645 | QOpenGLExtension_QCOM_extended_get::QOpenGLExtension_QCOM_extended_get() |
7646 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_QCOM_extended_getPrivate)) |
7647 | { |
7648 | } |
7649 | |
7650 | bool QOpenGLExtension_QCOM_extended_get::initializeOpenGLFunctions() |
7651 | { |
7652 | if (isInitialized()) |
7653 | return true; |
7654 | |
7655 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7656 | if (!context) { |
7657 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7658 | return false; |
7659 | } |
7660 | |
7661 | // Resolve the functions |
7662 | Q_D(QOpenGLExtension_QCOM_extended_get); |
7663 | |
7664 | d->ExtGetTexturesQCOM = (void (QOPENGLF_APIENTRYP)(GLuint *textures, GLint maxTextures, GLint *numTextures))context->getProcAddress("glExtGetTexturesQCOM" ); |
7665 | d->ExtGetBuffersQCOM = (void (QOPENGLF_APIENTRYP)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers))context->getProcAddress("glExtGetBuffersQCOM" ); |
7666 | d->ExtGetRenderbuffersQCOM = (void (QOPENGLF_APIENTRYP)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers))context->getProcAddress("glExtGetRenderbuffersQCOM" ); |
7667 | d->ExtGetFramebuffersQCOM = (void (QOPENGLF_APIENTRYP)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers))context->getProcAddress("glExtGetFramebuffersQCOM" ); |
7668 | d->ExtGetTexLevelParameterivQCOM = (void (QOPENGLF_APIENTRYP)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params))context->getProcAddress("glExtGetTexLevelParameterivQCOM" ); |
7669 | d->ExtTexObjectStateOverrideiQCOM = (void (QOPENGLF_APIENTRYP)(GLenum target, GLenum pname, GLint param))context->getProcAddress("glExtTexObjectStateOverrideiQCOM" ); |
7670 | d->ExtGetTexSubImageQCOM = (void (QOPENGLF_APIENTRYP)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels))context->getProcAddress("glExtGetTexSubImageQCOM" ); |
7671 | d->ExtGetBufferPointervQCOM = (void (QOPENGLF_APIENTRYP)(GLenum target, GLvoid **params))context->getProcAddress("glExtGetBufferPointervQCOM" ); |
7672 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7673 | } |
7674 | |
7675 | QOpenGLExtension_QCOM_extended_get2::QOpenGLExtension_QCOM_extended_get2() |
7676 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_QCOM_extended_get2Private)) |
7677 | { |
7678 | } |
7679 | |
7680 | bool QOpenGLExtension_QCOM_extended_get2::initializeOpenGLFunctions() |
7681 | { |
7682 | if (isInitialized()) |
7683 | return true; |
7684 | |
7685 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7686 | if (!context) { |
7687 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7688 | return false; |
7689 | } |
7690 | |
7691 | // Resolve the functions |
7692 | Q_D(QOpenGLExtension_QCOM_extended_get2); |
7693 | |
7694 | d->ExtGetShadersQCOM = (void (QOPENGLF_APIENTRYP)(GLuint *shaders, GLint maxShaders, GLint *numShaders))context->getProcAddress("glExtGetShadersQCOM" ); |
7695 | d->ExtGetProgramsQCOM = (void (QOPENGLF_APIENTRYP)(GLuint *programs, GLint maxPrograms, GLint *numPrograms))context->getProcAddress("glExtGetProgramsQCOM" ); |
7696 | d->ExtIsProgramBinaryQCOM = (GLboolean (QOPENGLF_APIENTRYP)(GLuint program))context->getProcAddress("glExtIsProgramBinaryQCOM" ); |
7697 | d->ExtGetProgramBinarySourceQCOM = (void (QOPENGLF_APIENTRYP)(GLuint program, GLenum shadertype, GLchar *source, GLint *length))context->getProcAddress("glExtGetProgramBinarySourceQCOM" ); |
7698 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7699 | } |
7700 | |
7701 | QOpenGLExtension_QCOM_tiled_rendering::QOpenGLExtension_QCOM_tiled_rendering() |
7702 | : QAbstractOpenGLExtension(*(new QOpenGLExtension_QCOM_tiled_renderingPrivate)) |
7703 | { |
7704 | } |
7705 | |
7706 | bool QOpenGLExtension_QCOM_tiled_rendering::initializeOpenGLFunctions() |
7707 | { |
7708 | if (isInitialized()) |
7709 | return true; |
7710 | |
7711 | QOpenGLContext *context = QOpenGLContext::currentContext(); |
7712 | if (!context) { |
7713 | qWarning("A current OpenGL context is required to resolve OpenGL extension functions" ); |
7714 | return false; |
7715 | } |
7716 | |
7717 | // Resolve the functions |
7718 | Q_D(QOpenGLExtension_QCOM_tiled_rendering); |
7719 | |
7720 | d->StartTilingQCOM = (void (QOPENGLF_APIENTRYP)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask))context->getProcAddress("glStartTilingQCOM" ); |
7721 | d->EndTilingQCOM = (void (QOPENGLF_APIENTRYP)(GLbitfield preserveMask))context->getProcAddress("glEndTilingQCOM" ); |
7722 | return QAbstractOpenGLExtension::initializeOpenGLFunctions(); |
7723 | } |
7724 | |
7725 | #endif |
7726 | |
7727 | QT_END_NAMESPACE |
7728 | |
7729 | #ifdef Q_OS_WIN |
7730 | #pragma pop_macro("MemoryBarrier") |
7731 | #endif |
7732 | |