Line | Source Code | Coverage |
---|
1 | /**************************************************************************** | - |
2 | ** | - |
3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | - |
4 | ** Contact: http://www.qt-project.org/legal | - |
5 | ** | - |
6 | ** This file is part of the QtOpenGL module of the Qt Toolkit. | - |
7 | ** | - |
8 | ** $QT_BEGIN_LICENSE:LGPL$ | - |
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 Digia. For licensing terms and | - |
14 | ** conditions see http://qt.digia.com/licensing. For further information | - |
15 | ** use the contact form at http://qt.digia.com/contact-us. | - |
16 | ** | - |
17 | ** GNU Lesser General Public License Usage | - |
18 | ** Alternatively, this file may be used under the terms of the GNU Lesser | - |
19 | ** General Public License version 2.1 as published by the Free Software | - |
20 | ** Foundation and appearing in the file LICENSE.LGPL included in the | - |
21 | ** packaging of this file. Please review the following information to | - |
22 | ** ensure the GNU Lesser General Public License version 2.1 requirements | - |
23 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. | - |
24 | ** | - |
25 | ** In addition, as a special exception, Digia gives you certain additional | - |
26 | ** rights. These rights are described in the Digia Qt LGPL Exception | - |
27 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. | - |
28 | ** | - |
29 | ** GNU General Public License Usage | - |
30 | ** Alternatively, this file may be used under the terms of the GNU | - |
31 | ** General Public License version 3.0 as published by the Free Software | - |
32 | ** Foundation and appearing in the file LICENSE.GPL included in the | - |
33 | ** packaging of this file. Please review the following information to | - |
34 | ** ensure the GNU General Public License version 3.0 requirements will be | - |
35 | ** met: http://www.gnu.org/copyleft/gpl.html. | - |
36 | ** | - |
37 | ** | - |
38 | ** $QT_END_LICENSE$ | - |
39 | ** | - |
40 | ****************************************************************************/ | - |
41 | | - |
42 | #include "qglfunctions.h" | - |
43 | #include "qgl_p.h" | - |
44 | #include "QtGui/private/qopenglcontext_p.h" | - |
45 | | - |
46 | QT_BEGIN_NAMESPACE | - |
47 | | - |
48 | /*! | - |
49 | \class QGLFunctions | - |
50 | \inmodule QtOpenGL | - |
51 | \brief The QGLFunctions class provides cross-platform access to the OpenGL/ES 2.0 API. | - |
52 | \since 4.8 | - |
53 | \obsolete | - |
54 | \ingroup painting-3D | - |
55 | | - |
56 | OpenGL/ES 2.0 defines a subset of the OpenGL specification that is | - |
57 | common across many desktop and embedded OpenGL implementations. | - |
58 | However, it can be difficult to use the functions from that subset | - |
59 | because they need to be resolved manually on desktop systems. | - |
60 | | - |
61 | QGLFunctions provides a guaranteed API that is available on all | - |
62 | OpenGL systems and takes care of function resolution on systems | - |
63 | that need it. The recommended way to use QGLFunctions is by | - |
64 | direct inheritance: | - |
65 | | - |
66 | \code | - |
67 | class MyGLWidget : public QGLWidget, protected QGLFunctions | - |
68 | { | - |
69 | Q_OBJECT | - |
70 | public: | - |
71 | MyGLWidget(QWidget *parent = 0) : QGLWidget(parent) {} | - |
72 | | - |
73 | protected: | - |
74 | void initializeGL(); | - |
75 | void paintGL(); | - |
76 | }; | - |
77 | | - |
78 | void MyGLWidget::initializeGL() | - |
79 | { | - |
80 | initializeGLFunctions(); | - |
81 | } | - |
82 | \endcode | - |
83 | | - |
84 | The \c{paintGL()} function can then use any of the OpenGL/ES 2.0 | - |
85 | functions without explicit resolution, such as glActiveTexture() | - |
86 | in the following example: | - |
87 | | - |
88 | \code | - |
89 | void MyGLWidget::paintGL() | - |
90 | { | - |
91 | glActiveTexture(GL_TEXTURE1); | - |
92 | glBindTexture(GL_TEXTURE_2D, textureId); | - |
93 | ... | - |
94 | } | - |
95 | \endcode | - |
96 | | - |
97 | QGLFunctions can also be used directly for ad-hoc invocation | - |
98 | of OpenGL/ES 2.0 functions on all platforms: | - |
99 | | - |
100 | \code | - |
101 | QGLFunctions glFuncs(QGLContext::currentContext()); | - |
102 | glFuncs.glActiveTexture(GL_TEXTURE1); | - |
103 | \endcode | - |
104 | | - |
105 | QGLFunctions provides wrappers for all OpenGL/ES 2.0 functions, | - |
106 | except those like \c{glDrawArrays()}, \c{glViewport()}, and | - |
107 | \c{glBindTexture()} that don't have portability issues. | - |
108 | | - |
109 | Including the header for QGLFunctions will also define all of | - |
110 | the OpenGL/ES 2.0 macro constants that are not already defined by | - |
111 | the system's OpenGL headers, such as \c{GL_TEXTURE1} above. | - |
112 | | - |
113 | The hasOpenGLFeature() and openGLFeatures() functions can be used | - |
114 | to determine if the OpenGL implementation has a major OpenGL/ES 2.0 | - |
115 | feature. For example, the following checks if non power of two | - |
116 | textures are available: | - |
117 | | - |
118 | \code | - |
119 | QGLFunctions funcs(QGLContext::currentContext()); | - |
120 | bool npot = funcs.hasOpenGLFeature(QGLFunctions::NPOTTextures); | - |
121 | \endcode | - |
122 | | - |
123 | \note This class has been deprecated in favor of QOpenGLFunctions. | - |
124 | */ | - |
125 | | - |
126 | /*! | - |
127 | \enum QGLFunctions::OpenGLFeature | - |
128 | This enum defines OpenGL/ES 2.0 features that may be optional | - |
129 | on other platforms. | - |
130 | | - |
131 | \value Multitexture glActiveTexture() function is available. | - |
132 | \value Shaders Shader functions are available. | - |
133 | \value Buffers Vertex and index buffer functions are available. | - |
134 | \value Framebuffers Framebuffer object functions are available. | - |
135 | \value BlendColor glBlendColor() is available. | - |
136 | \value BlendEquation glBlendEquation() is available. | - |
137 | \value BlendEquationSeparate glBlendEquationSeparate() is available. | - |
138 | \value BlendFuncSeparate glBlendFuncSeparate() is available. | - |
139 | \value BlendSubtract Blend subtract mode is available. | - |
140 | \value CompressedTextures Compressed texture functions are available. | - |
141 | \value Multisample glSampleCoverage() function is available. | - |
142 | \value StencilSeparate Separate stencil functions are available. | - |
143 | \value NPOTTextures Non power of two textures are available. | - |
144 | */ | - |
145 | | - |
146 | // Hidden private fields for additional extension data. | - |
147 | struct QGLFunctionsPrivateEx : public QGLFunctionsPrivate, public QOpenGLSharedResource | - |
148 | { | - |
149 | QGLFunctionsPrivateEx(QOpenGLContext *context) | - |
150 | : QGLFunctionsPrivate(QGLContext::fromOpenGLContext(context)) | - |
151 | , QOpenGLSharedResource(context->shareGroup()) | - |
152 | , m_features(-1) {} | 0 |
153 | | - |
154 | void invalidateResource() | - |
155 | { | - |
156 | m_features = -1; never executed (the execution status of this line is deduced): m_features = -1; | - |
157 | } | 0 |
158 | | - |
159 | void freeResource(QOpenGLContext *) | - |
160 | { | - |
161 | // no gl resources to free | - |
162 | } | - |
163 | | - |
164 | int m_features; | - |
165 | }; | - |
166 | | - |
167 | Q_GLOBAL_STATIC(QOpenGLMultiGroupSharedResource, qt_gl_functions_resource) never executed: delete x; never executed: return thisGlobalStatic.pointer.load(); never evaluated: !thisGlobalStatic.pointer.testAndSetOrdered(0, x) never evaluated: !thisGlobalStatic.pointer.load() never evaluated: !thisGlobalStatic.destroyed | 0 |
168 | | - |
169 | static QGLFunctionsPrivateEx *qt_gl_functions(const QGLContext *context = 0) | - |
170 | { | - |
171 | if (!context) never evaluated: !context | 0 |
172 | context = QGLContext::currentContext(); never executed: context = QGLContext::currentContext(); | 0 |
173 | Q_ASSERT(context); never executed (the execution status of this line is deduced): qt_noop(); | - |
174 | QGLFunctionsPrivateEx *funcs = never executed (the execution status of this line is deduced): QGLFunctionsPrivateEx *funcs = | - |
175 | reinterpret_cast<QGLFunctionsPrivateEx *> never executed (the execution status of this line is deduced): reinterpret_cast<QGLFunctionsPrivateEx *> | - |
176 | (qt_gl_functions_resource()->value<QGLFunctionsPrivateEx>(context->contextHandle())); never executed (the execution status of this line is deduced): (qt_gl_functions_resource()->value<QGLFunctionsPrivateEx>(context->contextHandle())); | - |
177 | return funcs; never executed: return funcs; | 0 |
178 | } | - |
179 | | - |
180 | /*! | - |
181 | Constructs a default function resolver. The resolver cannot | - |
182 | be used until initializeGLFunctions() is called to specify | - |
183 | the context. | - |
184 | | - |
185 | \sa initializeGLFunctions() | - |
186 | */ | - |
187 | QGLFunctions::QGLFunctions() | - |
188 | : d_ptr(0) | - |
189 | { | - |
190 | } | 0 |
191 | | - |
192 | /*! | - |
193 | Constructs a function resolver for \a context. If \a context | - |
194 | is null, then the resolver will be created for the current QGLContext. | - |
195 | | - |
196 | An object constructed in this way can only be used with \a context | - |
197 | and other contexts that share with it. Use initializeGLFunctions() | - |
198 | to change the object's context association. | - |
199 | | - |
200 | \sa initializeGLFunctions() | - |
201 | */ | - |
202 | QGLFunctions::QGLFunctions(const QGLContext *context) | - |
203 | : d_ptr(qt_gl_functions(context)) | - |
204 | { | - |
205 | } | 0 |
206 | | - |
207 | /*! | - |
208 | \fn QGLFunctions::~QGLFunctions() | - |
209 | | - |
210 | Destroys this function resolver. | - |
211 | */ | - |
212 | | - |
213 | static int qt_gl_resolve_features() | - |
214 | { | - |
215 | #if defined(QT_OPENGL_ES_2) | - |
216 | int features = QGLFunctions::Multitexture | | - |
217 | QGLFunctions::Shaders | | - |
218 | QGLFunctions::Buffers | | - |
219 | QGLFunctions::Framebuffers | | - |
220 | QGLFunctions::BlendColor | | - |
221 | QGLFunctions::BlendEquation | | - |
222 | QGLFunctions::BlendEquationSeparate | | - |
223 | QGLFunctions::BlendFuncSeparate | | - |
224 | QGLFunctions::BlendSubtract | | - |
225 | QGLFunctions::CompressedTextures | | - |
226 | QGLFunctions::Multisample | | - |
227 | QGLFunctions::StencilSeparate; | - |
228 | QGLExtensionMatcher extensions; | - |
229 | if (extensions.match("GL_OES_texture_npot")) | - |
230 | features |= QGLFunctions::NPOTTextures; | - |
231 | if (extensions.match("GL_IMG_texture_npot")) | - |
232 | features |= QGLFunctions::NPOTTextures; | - |
233 | return features; | - |
234 | #elif defined(QT_OPENGL_ES) | - |
235 | int features = QGLFunctions::Multitexture | | - |
236 | QGLFunctions::Buffers | | - |
237 | QGLFunctions::CompressedTextures | | - |
238 | QGLFunctions::Multisample; | - |
239 | QGLExtensionMatcher extensions; | - |
240 | if (extensions.match("GL_OES_framebuffer_object")) | - |
241 | features |= QGLFunctions::Framebuffers; | - |
242 | if (extensions.match("GL_OES_blend_equation_separate")) | - |
243 | features |= QGLFunctions::BlendEquationSeparate; | - |
244 | if (extensions.match("GL_OES_blend_func_separate")) | - |
245 | features |= QGLFunctions::BlendFuncSeparate; | - |
246 | if (extensions.match("GL_OES_blend_subtract")) | - |
247 | features |= QGLFunctions::BlendSubtract; | - |
248 | if (extensions.match("GL_OES_texture_npot")) | - |
249 | features |= QGLFunctions::NPOTTextures; | - |
250 | if (extensions.match("GL_IMG_texture_npot")) | - |
251 | features |= QGLFunctions::NPOTTextures; | - |
252 | return features; | - |
253 | #else | - |
254 | int features = 0; never executed (the execution status of this line is deduced): int features = 0; | - |
255 | QGLFormat::OpenGLVersionFlags versions = QGLFormat::openGLVersionFlags(); never executed (the execution status of this line is deduced): QGLFormat::OpenGLVersionFlags versions = QGLFormat::openGLVersionFlags(); | - |
256 | QGLExtensionMatcher extensions; never executed (the execution status of this line is deduced): QGLExtensionMatcher extensions; | - |
257 | | - |
258 | // Recognize features by extension name. | - |
259 | if (extensions.match("GL_ARB_multitexture")) never evaluated: extensions.match("GL_ARB_multitexture") | 0 |
260 | features |= QGLFunctions::Multitexture; never executed: features |= QGLFunctions::Multitexture; | 0 |
261 | if (extensions.match("GL_ARB_shader_objects")) never evaluated: extensions.match("GL_ARB_shader_objects") | 0 |
262 | features |= QGLFunctions::Shaders; never executed: features |= QGLFunctions::Shaders; | 0 |
263 | if (extensions.match("GL_EXT_framebuffer_object") || never evaluated: extensions.match("GL_EXT_framebuffer_object") | 0 |
264 | extensions.match("GL_ARB_framebuffer_object")) never evaluated: extensions.match("GL_ARB_framebuffer_object") | 0 |
265 | features |= QGLFunctions::Framebuffers; never executed: features |= QGLFunctions::Framebuffers; | 0 |
266 | if (extensions.match("GL_EXT_blend_color")) never evaluated: extensions.match("GL_EXT_blend_color") | 0 |
267 | features |= QGLFunctions::BlendColor; never executed: features |= QGLFunctions::BlendColor; | 0 |
268 | if (extensions.match("GL_EXT_blend_equation_separate")) never evaluated: extensions.match("GL_EXT_blend_equation_separate") | 0 |
269 | features |= QGLFunctions::BlendEquationSeparate; never executed: features |= QGLFunctions::BlendEquationSeparate; | 0 |
270 | if (extensions.match("GL_EXT_blend_func_separate")) never evaluated: extensions.match("GL_EXT_blend_func_separate") | 0 |
271 | features |= QGLFunctions::BlendFuncSeparate; never executed: features |= QGLFunctions::BlendFuncSeparate; | 0 |
272 | if (extensions.match("GL_EXT_blend_subtract")) never evaluated: extensions.match("GL_EXT_blend_subtract") | 0 |
273 | features |= QGLFunctions::BlendSubtract; never executed: features |= QGLFunctions::BlendSubtract; | 0 |
274 | if (extensions.match("GL_ARB_texture_compression")) never evaluated: extensions.match("GL_ARB_texture_compression") | 0 |
275 | features |= QGLFunctions::CompressedTextures; never executed: features |= QGLFunctions::CompressedTextures; | 0 |
276 | if (extensions.match("GL_ARB_multisample")) never evaluated: extensions.match("GL_ARB_multisample") | 0 |
277 | features |= QGLFunctions::Multisample; never executed: features |= QGLFunctions::Multisample; | 0 |
278 | if (extensions.match("GL_ARB_texture_non_power_of_two")) never evaluated: extensions.match("GL_ARB_texture_non_power_of_two") | 0 |
279 | features |= QGLFunctions::NPOTTextures; never executed: features |= QGLFunctions::NPOTTextures; | 0 |
280 | | - |
281 | // Recognize features by minimum OpenGL version. | - |
282 | if (versions & QGLFormat::OpenGL_Version_1_2) { never evaluated: versions & QGLFormat::OpenGL_Version_1_2 | 0 |
283 | features |= QGLFunctions::BlendColor | never executed (the execution status of this line is deduced): features |= QGLFunctions::BlendColor | | - |
284 | QGLFunctions::BlendEquation; never executed (the execution status of this line is deduced): QGLFunctions::BlendEquation; | - |
285 | } | 0 |
286 | if (versions & QGLFormat::OpenGL_Version_1_3) { never evaluated: versions & QGLFormat::OpenGL_Version_1_3 | 0 |
287 | features |= QGLFunctions::Multitexture | never executed (the execution status of this line is deduced): features |= QGLFunctions::Multitexture | | - |
288 | QGLFunctions::CompressedTextures | never executed (the execution status of this line is deduced): QGLFunctions::CompressedTextures | | - |
289 | QGLFunctions::Multisample; never executed (the execution status of this line is deduced): QGLFunctions::Multisample; | - |
290 | } | 0 |
291 | if (versions & QGLFormat::OpenGL_Version_1_4) never evaluated: versions & QGLFormat::OpenGL_Version_1_4 | 0 |
292 | features |= QGLFunctions::BlendFuncSeparate; never executed: features |= QGLFunctions::BlendFuncSeparate; | 0 |
293 | if (versions & QGLFormat::OpenGL_Version_1_5) never evaluated: versions & QGLFormat::OpenGL_Version_1_5 | 0 |
294 | features |= QGLFunctions::Buffers; never executed: features |= QGLFunctions::Buffers; | 0 |
295 | if (versions & QGLFormat::OpenGL_Version_2_0) { never evaluated: versions & QGLFormat::OpenGL_Version_2_0 | 0 |
296 | features |= QGLFunctions::Shaders | never executed (the execution status of this line is deduced): features |= QGLFunctions::Shaders | | - |
297 | QGLFunctions::StencilSeparate | never executed (the execution status of this line is deduced): QGLFunctions::StencilSeparate | | - |
298 | QGLFunctions::BlendEquationSeparate | never executed (the execution status of this line is deduced): QGLFunctions::BlendEquationSeparate | | - |
299 | QGLFunctions::NPOTTextures; never executed (the execution status of this line is deduced): QGLFunctions::NPOTTextures; | - |
300 | } | 0 |
301 | return features; never executed: return features; | 0 |
302 | #endif | - |
303 | } | - |
304 | | - |
305 | /*! | - |
306 | Returns the set of features that are present on this system's | - |
307 | OpenGL implementation. | - |
308 | | - |
309 | It is assumed that the QGLContext associated with this function | - |
310 | resolver is current. | - |
311 | | - |
312 | \sa hasOpenGLFeature() | - |
313 | */ | - |
314 | QGLFunctions::OpenGLFeatures QGLFunctions::openGLFeatures() const | - |
315 | { | - |
316 | QGLFunctionsPrivateEx *d = static_cast<QGLFunctionsPrivateEx *>(d_ptr); never executed (the execution status of this line is deduced): QGLFunctionsPrivateEx *d = static_cast<QGLFunctionsPrivateEx *>(d_ptr); | - |
317 | if (!d) | 0 |
318 | return 0; never executed: return 0; | 0 |
319 | if (d->m_features == -1) never evaluated: d->m_features == -1 | 0 |
320 | d->m_features = qt_gl_resolve_features(); never executed: d->m_features = qt_gl_resolve_features(); | 0 |
321 | return QGLFunctions::OpenGLFeatures(d->m_features); never executed: return QGLFunctions::OpenGLFeatures(d->m_features); | 0 |
322 | } | - |
323 | | - |
324 | /*! | - |
325 | Returns true if \a feature is present on this system's OpenGL | - |
326 | implementation; false otherwise. | - |
327 | | - |
328 | It is assumed that the QGLContext associated with this function | - |
329 | resolver is current. | - |
330 | | - |
331 | \sa openGLFeatures() | - |
332 | */ | - |
333 | bool QGLFunctions::hasOpenGLFeature(QGLFunctions::OpenGLFeature feature) const | - |
334 | { | - |
335 | QGLFunctionsPrivateEx *d = static_cast<QGLFunctionsPrivateEx *>(d_ptr); never executed (the execution status of this line is deduced): QGLFunctionsPrivateEx *d = static_cast<QGLFunctionsPrivateEx *>(d_ptr); | - |
336 | if (!d) | 0 |
337 | return false; never executed: return false; | 0 |
338 | if (d->m_features == -1) never evaluated: d->m_features == -1 | 0 |
339 | d->m_features = qt_gl_resolve_features(); never executed: d->m_features = qt_gl_resolve_features(); | 0 |
340 | return (d->m_features & int(feature)) != 0; never executed: return (d->m_features & int(feature)) != 0; | 0 |
341 | } | - |
342 | | - |
343 | /*! | - |
344 | Initializes GL function resolution for \a context. If \a context | - |
345 | is null, then the current QGLContext will be used. | - |
346 | | - |
347 | After calling this function, the QGLFunctions object can only be | - |
348 | used with \a context and other contexts that share with it. | - |
349 | Call initializeGLFunctions() again to change the object's context | - |
350 | association. | - |
351 | */ | - |
352 | void QGLFunctions::initializeGLFunctions(const QGLContext *context) | - |
353 | { | - |
354 | d_ptr = qt_gl_functions(context); never executed (the execution status of this line is deduced): d_ptr = qt_gl_functions(context); | - |
355 | } | 0 |
356 | | - |
357 | /*! | - |
358 | \fn void QGLFunctions::glActiveTexture(GLenum texture) | - |
359 | | - |
360 | Convenience function that calls glActiveTexture(\a texture). | - |
361 | | - |
362 | For more information, see the OpenGL/ES 2.0 documentation for | - |
363 | \l{http://www.khronos.org/opengles/sdk/docs/man/glActiveTexture.xml}{glActiveTexture()}. | - |
364 | */ | - |
365 | | - |
366 | /*! | - |
367 | \fn void QGLFunctions::glAttachShader(GLuint program, GLuint shader) | - |
368 | | - |
369 | Convenience function that calls glAttachShader(\a program, \a shader). | - |
370 | | - |
371 | For more information, see the OpenGL/ES 2.0 documentation for | - |
372 | \l{http://www.khronos.org/opengles/sdk/docs/man/glAttachShader.xml}{glAttachShader()}. | - |
373 | | - |
374 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
375 | */ | - |
376 | | - |
377 | /*! | - |
378 | \fn void QGLFunctions::glBindAttribLocation(GLuint program, GLuint index, const char* name) | - |
379 | | - |
380 | Convenience function that calls glBindAttribLocation(\a program, \a index, \a name). | - |
381 | | - |
382 | For more information, see the OpenGL/ES 2.0 documentation for | - |
383 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBindAttribLocation.xml}{glBindAttribLocation()}. | - |
384 | | - |
385 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
386 | */ | - |
387 | | - |
388 | /*! | - |
389 | \fn void QGLFunctions::glBindBuffer(GLenum target, GLuint buffer) | - |
390 | | - |
391 | Convenience function that calls glBindBuffer(\a target, \a buffer). | - |
392 | | - |
393 | For more information, see the OpenGL/ES 2.0 documentation for | - |
394 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBindBuffer.xml}{glBindBuffer()}. | - |
395 | */ | - |
396 | | - |
397 | /*! | - |
398 | \fn void QGLFunctions::glBindFramebuffer(GLenum target, GLuint framebuffer) | - |
399 | | - |
400 | Convenience function that calls glBindFramebuffer(\a target, \a framebuffer). | - |
401 | | - |
402 | Note that Qt will translate a \a framebuffer argument of 0 to the currently | - |
403 | bound QOpenGLContext's defaultFramebufferObject(). | - |
404 | | - |
405 | For more information, see the OpenGL/ES 2.0 documentation for | - |
406 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBindFramebuffer.xml}{glBindFramebuffer()}. | - |
407 | */ | - |
408 | | - |
409 | /*! | - |
410 | \fn void QGLFunctions::glBindRenderbuffer(GLenum target, GLuint renderbuffer) | - |
411 | | - |
412 | Convenience function that calls glBindRenderbuffer(\a target, \a renderbuffer). | - |
413 | | - |
414 | For more information, see the OpenGL/ES 2.0 documentation for | - |
415 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBindRenderbuffer.xml}{glBindRenderbuffer()}. | - |
416 | */ | - |
417 | | - |
418 | /*! | - |
419 | \fn void QGLFunctions::glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) | - |
420 | | - |
421 | Convenience function that calls glBlendColor(\a red, \a green, \a blue, \a alpha). | - |
422 | | - |
423 | For more information, see the OpenGL/ES 2.0 documentation for | - |
424 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBlendColor.xml}{glBlendColor()}. | - |
425 | */ | - |
426 | | - |
427 | /*! | - |
428 | \fn void QGLFunctions::glBlendEquation(GLenum mode) | - |
429 | | - |
430 | Convenience function that calls glBlendEquation(\a mode). | - |
431 | | - |
432 | For more information, see the OpenGL/ES 2.0 documentation for | - |
433 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBlendEquation.xml}{glBlendEquation()}. | - |
434 | */ | - |
435 | | - |
436 | /*! | - |
437 | \fn void QGLFunctions::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) | - |
438 | | - |
439 | Convenience function that calls glBlendEquationSeparate(\a modeRGB, \a modeAlpha). | - |
440 | | - |
441 | For more information, see the OpenGL/ES 2.0 documentation for | - |
442 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBlendEquationSeparate.xml}{glBlendEquationSeparate()}. | - |
443 | */ | - |
444 | | - |
445 | /*! | - |
446 | \fn void QGLFunctions::glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) | - |
447 | | - |
448 | Convenience function that calls glBlendFuncSeparate(\a srcRGB, \a dstRGB, \a srcAlpha, \a dstAlpha). | - |
449 | | - |
450 | For more information, see the OpenGL/ES 2.0 documentation for | - |
451 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBlendFuncSeparate.xml}{glBlendFuncSeparate()}. | - |
452 | */ | - |
453 | | - |
454 | /*! | - |
455 | \fn void QGLFunctions::glBufferData(GLenum target, qgl_GLsizeiptr size, const void* data, GLenum usage) | - |
456 | | - |
457 | Convenience function that calls glBufferData(\a target, \a size, \a data, \a usage). | - |
458 | | - |
459 | For more information, see the OpenGL/ES 2.0 documentation for | - |
460 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBufferData.xml}{glBufferData()}. | - |
461 | */ | - |
462 | | - |
463 | /*! | - |
464 | \fn void QGLFunctions::glBufferSubData(GLenum target, qgl_GLintptr offset, qgl_GLsizeiptr size, const void* data) | - |
465 | | - |
466 | Convenience function that calls glBufferSubData(\a target, \a offset, \a size, \a data). | - |
467 | | - |
468 | For more information, see the OpenGL/ES 2.0 documentation for | - |
469 | \l{http://www.khronos.org/opengles/sdk/docs/man/glBufferSubData.xml}{glBufferSubData()}. | - |
470 | */ | - |
471 | | - |
472 | /*! | - |
473 | \fn GLenum QGLFunctions::glCheckFramebufferStatus(GLenum target) | - |
474 | | - |
475 | Convenience function that calls glCheckFramebufferStatus(\a target). | - |
476 | | - |
477 | For more information, see the OpenGL/ES 2.0 documentation for | - |
478 | \l{http://www.khronos.org/opengles/sdk/docs/man/glCheckFramebufferStatus.xml}{glCheckFramebufferStatus()}. | - |
479 | */ | - |
480 | | - |
481 | /*! | - |
482 | \fn void QGLFunctions::glClearDepthf(GLclampf depth) | - |
483 | | - |
484 | Convenience function that calls glClearDepth(\a depth) on | - |
485 | desktop OpenGL systems and glClearDepthf(\a depth) on | - |
486 | embedded OpenGL/ES systems. | - |
487 | | - |
488 | For more information, see the OpenGL/ES 2.0 documentation for | - |
489 | \l{http://www.khronos.org/opengles/sdk/docs/man/glClearDepthf.xml}{glClearDepthf()}. | - |
490 | */ | - |
491 | | - |
492 | /*! | - |
493 | \fn void QGLFunctions::glCompileShader(GLuint shader) | - |
494 | | - |
495 | Convenience function that calls glCompileShader(\a shader). | - |
496 | | - |
497 | For more information, see the OpenGL/ES 2.0 documentation for | - |
498 | \l{http://www.khronos.org/opengles/sdk/docs/man/glCompileShader.xml}{glCompileShader()}. | - |
499 | | - |
500 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
501 | */ | - |
502 | | - |
503 | /*! | - |
504 | \fn void QGLFunctions::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) | - |
505 | | - |
506 | Convenience function that calls glCompressedTexImage2D(\a target, \a level, \a internalformat, \a width, \a height, \a border, \a imageSize, \a data). | - |
507 | | - |
508 | For more information, see the OpenGL/ES 2.0 documentation for | - |
509 | \l{http://www.khronos.org/opengles/sdk/docs/man/glCompressedTexImage2D.xml}{glCompressedTexImage2D()}. | - |
510 | */ | - |
511 | | - |
512 | /*! | - |
513 | \fn void QGLFunctions::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) | - |
514 | | - |
515 | Convenience function that calls glCompressedTexSubImage2D(\a target, \a level, \a xoffset, \a yoffset, \a width, \a height, \a format, \a imageSize, \a data). | - |
516 | | - |
517 | For more information, see the OpenGL/ES 2.0 documentation for | - |
518 | \l{http://www.khronos.org/opengles/sdk/docs/man/glCompressedTexSubImage2D.xml}{glCompressedTexSubImage2D()}. | - |
519 | */ | - |
520 | | - |
521 | /*! | - |
522 | \fn GLuint QGLFunctions::glCreateProgram() | - |
523 | | - |
524 | Convenience function that calls glCreateProgram(). | - |
525 | | - |
526 | For more information, see the OpenGL/ES 2.0 documentation for | - |
527 | \l{http://www.khronos.org/opengles/sdk/docs/man/glCreateProgram.xml}{glCreateProgram()}. | - |
528 | | - |
529 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
530 | */ | - |
531 | | - |
532 | /*! | - |
533 | \fn GLuint QGLFunctions::glCreateShader(GLenum type) | - |
534 | | - |
535 | Convenience function that calls glCreateShader(\a type). | - |
536 | | - |
537 | For more information, see the OpenGL/ES 2.0 documentation for | - |
538 | \l{http://www.khronos.org/opengles/sdk/docs/man/glCreateShader.xml}{glCreateShader()}. | - |
539 | | - |
540 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
541 | */ | - |
542 | | - |
543 | /*! | - |
544 | \fn void QGLFunctions::glDeleteBuffers(GLsizei n, const GLuint* buffers) | - |
545 | | - |
546 | Convenience function that calls glDeleteBuffers(\a n, \a buffers). | - |
547 | | - |
548 | For more information, see the OpenGL/ES 2.0 documentation for | - |
549 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDeleteBuffers.xml}{glDeleteBuffers()}. | - |
550 | */ | - |
551 | | - |
552 | /*! | - |
553 | \fn void QGLFunctions::glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers) | - |
554 | | - |
555 | Convenience function that calls glDeleteFramebuffers(\a n, \a framebuffers). | - |
556 | | - |
557 | For more information, see the OpenGL/ES 2.0 documentation for | - |
558 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDeleteFramebuffers.xml}{glDeleteFramebuffers()}. | - |
559 | */ | - |
560 | | - |
561 | /*! | - |
562 | \fn void QGLFunctions::glDeleteProgram(GLuint program) | - |
563 | | - |
564 | Convenience function that calls glDeleteProgram(\a program). | - |
565 | | - |
566 | For more information, see the OpenGL/ES 2.0 documentation for | - |
567 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDeleteProgram.xml}{glDeleteProgram()}. | - |
568 | | - |
569 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
570 | */ | - |
571 | | - |
572 | /*! | - |
573 | \fn void QGLFunctions::glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) | - |
574 | | - |
575 | Convenience function that calls glDeleteRenderbuffers(\a n, \a renderbuffers). | - |
576 | | - |
577 | For more information, see the OpenGL/ES 2.0 documentation for | - |
578 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDeleteRenderbuffers.xml}{glDeleteRenderbuffers()}. | - |
579 | */ | - |
580 | | - |
581 | /*! | - |
582 | \fn void QGLFunctions::glDeleteShader(GLuint shader) | - |
583 | | - |
584 | Convenience function that calls glDeleteShader(\a shader). | - |
585 | | - |
586 | For more information, see the OpenGL/ES 2.0 documentation for | - |
587 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDeleteShader.xml}{glDeleteShader()}. | - |
588 | | - |
589 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
590 | */ | - |
591 | | - |
592 | /*! | - |
593 | \fn void QGLFunctions::glDepthRangef(GLclampf zNear, GLclampf zFar) | - |
594 | | - |
595 | Convenience function that calls glDepthRange(\a zNear, \a zFar) on | - |
596 | desktop OpenGL systems and glDepthRangef(\a zNear, \a zFar) on | - |
597 | embedded OpenGL/ES systems. | - |
598 | | - |
599 | For more information, see the OpenGL/ES 2.0 documentation for | - |
600 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDepthRangef.xml}{glDepthRangef()}. | - |
601 | */ | - |
602 | | - |
603 | /*! | - |
604 | \fn void QGLFunctions::glDetachShader(GLuint program, GLuint shader) | - |
605 | | - |
606 | Convenience function that calls glDetachShader(\a program, \a shader). | - |
607 | | - |
608 | For more information, see the OpenGL/ES 2.0 documentation for | - |
609 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDetachShader.xml}{glDetachShader()}. | - |
610 | | - |
611 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
612 | */ | - |
613 | | - |
614 | /*! | - |
615 | \fn void QGLFunctions::glDisableVertexAttribArray(GLuint index) | - |
616 | | - |
617 | Convenience function that calls glDisableVertexAttribArray(\a index). | - |
618 | | - |
619 | For more information, see the OpenGL/ES 2.0 documentation for | - |
620 | \l{http://www.khronos.org/opengles/sdk/docs/man/glDisableVertexAttribArray.xml}{glDisableVertexAttribArray()}. | - |
621 | | - |
622 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
623 | */ | - |
624 | | - |
625 | /*! | - |
626 | \fn void QGLFunctions::glEnableVertexAttribArray(GLuint index) | - |
627 | | - |
628 | Convenience function that calls glEnableVertexAttribArray(\a index). | - |
629 | | - |
630 | For more information, see the OpenGL/ES 2.0 documentation for | - |
631 | \l{http://www.khronos.org/opengles/sdk/docs/man/glEnableVertexAttribArray.xml}{glEnableVertexAttribArray()}. | - |
632 | | - |
633 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
634 | */ | - |
635 | | - |
636 | /*! | - |
637 | \fn void QGLFunctions::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) | - |
638 | | - |
639 | Convenience function that calls glFramebufferRenderbuffer(\a target, \a attachment, \a renderbuffertarget, \a renderbuffer). | - |
640 | | - |
641 | For more information, see the OpenGL/ES 2.0 documentation for | - |
642 | \l{http://www.khronos.org/opengles/sdk/docs/man/glFramebufferRenderbuffer.xml}{glFramebufferRenderbuffer()}. | - |
643 | */ | - |
644 | | - |
645 | /*! | - |
646 | \fn void QGLFunctions::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | - |
647 | | - |
648 | Convenience function that calls glFramebufferTexture2D(\a target, \a attachment, \a textarget, \a texture, \a level). | - |
649 | | - |
650 | For more information, see the OpenGL/ES 2.0 documentation for | - |
651 | \l{http://www.khronos.org/opengles/sdk/docs/man/glFramebufferTexture2D.xml}{glFramebufferTexture2D()}. | - |
652 | */ | - |
653 | | - |
654 | /*! | - |
655 | \fn void QGLFunctions::glGenBuffers(GLsizei n, GLuint* buffers) | - |
656 | | - |
657 | Convenience function that calls glGenBuffers(\a n, \a buffers). | - |
658 | | - |
659 | For more information, see the OpenGL/ES 2.0 documentation for | - |
660 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGenBuffers.xml}{glGenBuffers()}. | - |
661 | */ | - |
662 | | - |
663 | /*! | - |
664 | \fn void QGLFunctions::glGenerateMipmap(GLenum target) | - |
665 | | - |
666 | Convenience function that calls glGenerateMipmap(\a target). | - |
667 | | - |
668 | For more information, see the OpenGL/ES 2.0 documentation for | - |
669 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGenerateMipmap.xml}{glGenerateMipmap()}. | - |
670 | */ | - |
671 | | - |
672 | /*! | - |
673 | \fn void QGLFunctions::glGenFramebuffers(GLsizei n, GLuint* framebuffers) | - |
674 | | - |
675 | Convenience function that calls glGenFramebuffers(\a n, \a framebuffers). | - |
676 | | - |
677 | For more information, see the OpenGL/ES 2.0 documentation for | - |
678 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGenFramebuffers.xml}{glGenFramebuffers()}. | - |
679 | */ | - |
680 | | - |
681 | /*! | - |
682 | \fn void QGLFunctions::glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) | - |
683 | | - |
684 | Convenience function that calls glGenRenderbuffers(\a n, \a renderbuffers). | - |
685 | | - |
686 | For more information, see the OpenGL/ES 2.0 documentation for | - |
687 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGenRenderbuffers.xml}{glGenRenderbuffers()}. | - |
688 | */ | - |
689 | | - |
690 | /*! | - |
691 | \fn void QGLFunctions::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) | - |
692 | | - |
693 | Convenience function that calls glGetActiveAttrib(\a program, \a index, \a bufsize, \a length, \a size, \a type, \a name). | - |
694 | | - |
695 | For more information, see the OpenGL/ES 2.0 documentation for | - |
696 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetActiveAttrib.xml}{glGetActiveAttrib()}. | - |
697 | | - |
698 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
699 | */ | - |
700 | | - |
701 | /*! | - |
702 | \fn void QGLFunctions::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) | - |
703 | | - |
704 | Convenience function that calls glGetActiveUniform(\a program, \a index, \a bufsize, \a length, \a size, \a type, \a name). | - |
705 | | - |
706 | For more information, see the OpenGL/ES 2.0 documentation for | - |
707 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetActiveUniform.xml}{glGetActiveUniform()}. | - |
708 | | - |
709 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
710 | */ | - |
711 | | - |
712 | /*! | - |
713 | \fn void QGLFunctions::glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) | - |
714 | | - |
715 | Convenience function that calls glGetAttachedShaders(\a program, \a maxcount, \a count, \a shaders). | - |
716 | | - |
717 | For more information, see the OpenGL/ES 2.0 documentation for | - |
718 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetAttachedShaders.xml}{glGetAttachedShaders()}. | - |
719 | | - |
720 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
721 | */ | - |
722 | | - |
723 | /*! | - |
724 | \fn int QGLFunctions::glGetAttribLocation(GLuint program, const char* name) | - |
725 | | - |
726 | Convenience function that calls glGetAttribLocation(\a program, \a name). | - |
727 | | - |
728 | For more information, see the OpenGL/ES 2.0 documentation for | - |
729 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetAttribLocation.xml}{glGetAttribLocation()}. | - |
730 | | - |
731 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
732 | */ | - |
733 | | - |
734 | /*! | - |
735 | \fn void QGLFunctions::glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params) | - |
736 | | - |
737 | Convenience function that calls glGetBufferParameteriv(\a target, \a pname, \a params). | - |
738 | | - |
739 | For more information, see the OpenGL/ES 2.0 documentation for | - |
740 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetBufferParameteriv.xml}{glGetBufferParameteriv()}. | - |
741 | */ | - |
742 | | - |
743 | /*! | - |
744 | \fn void QGLFunctions::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params) | - |
745 | | - |
746 | Convenience function that calls glGetFramebufferAttachmentParameteriv(\a target, \a attachment, \a pname, \a params). | - |
747 | | - |
748 | For more information, see the OpenGL/ES 2.0 documentation for | - |
749 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetFramebufferAttachmentParameteriv.xml}{glGetFramebufferAttachmentParameteriv()}. | - |
750 | */ | - |
751 | | - |
752 | /*! | - |
753 | \fn void QGLFunctions::glGetProgramiv(GLuint program, GLenum pname, GLint* params) | - |
754 | | - |
755 | Convenience function that calls glGetProgramiv(\a program, \a pname, \a params). | - |
756 | | - |
757 | For more information, see the OpenGL/ES 2.0 documentation for | - |
758 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetProgramiv.xml}{glGetProgramiv()}. | - |
759 | | - |
760 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
761 | */ | - |
762 | | - |
763 | /*! | - |
764 | \fn void QGLFunctions::glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog) | - |
765 | | - |
766 | Convenience function that calls glGetProgramInfoLog(\a program, \a bufsize, \a length, \a infolog). | - |
767 | | - |
768 | For more information, see the OpenGL/ES 2.0 documentation for | - |
769 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetProgramInfoLog.xml}{glGetProgramInfoLog()}. | - |
770 | | - |
771 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
772 | */ | - |
773 | | - |
774 | /*! | - |
775 | \fn void QGLFunctions::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params) | - |
776 | | - |
777 | Convenience function that calls glGetRenderbufferParameteriv(\a target, \a pname, \a params). | - |
778 | | - |
779 | For more information, see the OpenGL/ES 2.0 documentation for | - |
780 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetRenderbufferParameteriv.xml}{glGetRenderbufferParameteriv()}. | - |
781 | */ | - |
782 | | - |
783 | /*! | - |
784 | \fn void QGLFunctions::glGetShaderiv(GLuint shader, GLenum pname, GLint* params) | - |
785 | | - |
786 | Convenience function that calls glGetShaderiv(\a shader, \a pname, \a params). | - |
787 | | - |
788 | For more information, see the OpenGL/ES 2.0 documentation for | - |
789 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetShaderiv.xml}{glGetShaderiv()}. | - |
790 | | - |
791 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
792 | */ | - |
793 | | - |
794 | /*! | - |
795 | \fn void QGLFunctions::glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog) | - |
796 | | - |
797 | Convenience function that calls glGetShaderInfoLog(\a shader, \a bufsize, \a length, \a infolog). | - |
798 | | - |
799 | For more information, see the OpenGL/ES 2.0 documentation for | - |
800 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetShaderInfoLog.xml}{glGetShaderInfoLog()}. | - |
801 | | - |
802 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
803 | */ | - |
804 | | - |
805 | /*! | - |
806 | \fn void QGLFunctions::glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) | - |
807 | | - |
808 | Convenience function that calls glGetShaderPrecisionFormat(\a shadertype, \a precisiontype, \a range, \a precision). | - |
809 | | - |
810 | For more information, see the OpenGL/ES 2.0 documentation for | - |
811 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetShaderPrecisionFormat.xml}{glGetShaderPrecisionFormat()}. | - |
812 | | - |
813 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
814 | */ | - |
815 | | - |
816 | /*! | - |
817 | \fn void QGLFunctions::glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char* source) | - |
818 | | - |
819 | Convenience function that calls glGetShaderSource(\a shader, \a bufsize, \a length, \a source). | - |
820 | | - |
821 | For more information, see the OpenGL/ES 2.0 documentation for | - |
822 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetShaderSource.xml}{glGetShaderSource()}. | - |
823 | | - |
824 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
825 | */ | - |
826 | | - |
827 | /*! | - |
828 | \fn void QGLFunctions::glGetUniformfv(GLuint program, GLint location, GLfloat* params) | - |
829 | | - |
830 | Convenience function that calls glGetUniformfv(\a program, \a location, \a params). | - |
831 | | - |
832 | For more information, see the OpenGL/ES 2.0 documentation for | - |
833 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetUniformfv.xml}{glGetUniformfv()}. | - |
834 | | - |
835 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
836 | */ | - |
837 | | - |
838 | /*! | - |
839 | \fn void QGLFunctions::glGetUniformiv(GLuint program, GLint location, GLint* params) | - |
840 | | - |
841 | Convenience function that calls glGetUniformiv(\a program, \a location, \a params). | - |
842 | | - |
843 | For more information, see the OpenGL/ES 2.0 documentation for | - |
844 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetUniformiv.xml}{glGetUniformiv()}. | - |
845 | | - |
846 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
847 | */ | - |
848 | | - |
849 | /*! | - |
850 | \fn int QGLFunctions::glGetUniformLocation(GLuint program, const char* name) | - |
851 | | - |
852 | Convenience function that calls glGetUniformLocation(\a program, \a name). | - |
853 | | - |
854 | For more information, see the OpenGL/ES 2.0 documentation for | - |
855 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetUniformLocation.xml}{glGetUniformLocation()}. | - |
856 | | - |
857 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
858 | */ | - |
859 | | - |
860 | /*! | - |
861 | \fn void QGLFunctions::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) | - |
862 | | - |
863 | Convenience function that calls glGetVertexAttribfv(\a index, \a pname, \a params). | - |
864 | | - |
865 | For more information, see the OpenGL/ES 2.0 documentation for | - |
866 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetVertexAttribfv.xml}{glGetVertexAttribfv()}. | - |
867 | | - |
868 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
869 | */ | - |
870 | | - |
871 | /*! | - |
872 | \fn void QGLFunctions::glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params) | - |
873 | | - |
874 | Convenience function that calls glGetVertexAttribiv(\a index, \a pname, \a params). | - |
875 | | - |
876 | For more information, see the OpenGL/ES 2.0 documentation for | - |
877 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetVertexAttribiv.xml}{glGetVertexAttribiv()}. | - |
878 | | - |
879 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
880 | */ | - |
881 | | - |
882 | /*! | - |
883 | \fn void QGLFunctions::glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) | - |
884 | | - |
885 | Convenience function that calls glGetVertexAttribPointerv(\a index, \a pname, \a pointer). | - |
886 | | - |
887 | For more information, see the OpenGL/ES 2.0 documentation for | - |
888 | \l{http://www.khronos.org/opengles/sdk/docs/man/glGetVertexAttribPointerv.xml}{glGetVertexAttribPointerv()}. | - |
889 | | - |
890 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
891 | */ | - |
892 | | - |
893 | /*! | - |
894 | \fn GLboolean QGLFunctions::glIsBuffer(GLuint buffer) | - |
895 | | - |
896 | Convenience function that calls glIsBuffer(\a buffer). | - |
897 | | - |
898 | For more information, see the OpenGL/ES 2.0 documentation for | - |
899 | \l{http://www.khronos.org/opengles/sdk/docs/man/glIsBuffer.xml}{glIsBuffer()}. | - |
900 | */ | - |
901 | | - |
902 | /*! | - |
903 | \fn GLboolean QGLFunctions::glIsFramebuffer(GLuint framebuffer) | - |
904 | | - |
905 | Convenience function that calls glIsFramebuffer(\a framebuffer). | - |
906 | | - |
907 | For more information, see the OpenGL/ES 2.0 documentation for | - |
908 | \l{http://www.khronos.org/opengles/sdk/docs/man/glIsFramebuffer.xml}{glIsFramebuffer()}. | - |
909 | */ | - |
910 | | - |
911 | /*! | - |
912 | \fn GLboolean QGLFunctions::glIsProgram(GLuint program) | - |
913 | | - |
914 | Convenience function that calls glIsProgram(\a program). | - |
915 | | - |
916 | For more information, see the OpenGL/ES 2.0 documentation for | - |
917 | \l{http://www.khronos.org/opengles/sdk/docs/man/glIsProgram.xml}{glIsProgram()}. | - |
918 | | - |
919 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
920 | */ | - |
921 | | - |
922 | /*! | - |
923 | \fn GLboolean QGLFunctions::glIsRenderbuffer(GLuint renderbuffer) | - |
924 | | - |
925 | Convenience function that calls glIsRenderbuffer(\a renderbuffer). | - |
926 | | - |
927 | For more information, see the OpenGL/ES 2.0 documentation for | - |
928 | \l{http://www.khronos.org/opengles/sdk/docs/man/glIsRenderbuffer.xml}{glIsRenderbuffer()}. | - |
929 | */ | - |
930 | | - |
931 | /*! | - |
932 | \fn GLboolean QGLFunctions::glIsShader(GLuint shader) | - |
933 | | - |
934 | Convenience function that calls glIsShader(\a shader). | - |
935 | | - |
936 | For more information, see the OpenGL/ES 2.0 documentation for | - |
937 | \l{http://www.khronos.org/opengles/sdk/docs/man/glIsShader.xml}{glIsShader()}. | - |
938 | | - |
939 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
940 | */ | - |
941 | | - |
942 | /*! | - |
943 | \fn void QGLFunctions::glLinkProgram(GLuint program) | - |
944 | | - |
945 | Convenience function that calls glLinkProgram(\a program). | - |
946 | | - |
947 | For more information, see the OpenGL/ES 2.0 documentation for | - |
948 | \l{http://www.khronos.org/opengles/sdk/docs/man/glLinkProgram.xml}{glLinkProgram()}. | - |
949 | | - |
950 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
951 | */ | - |
952 | | - |
953 | /*! | - |
954 | \fn void QGLFunctions::glReleaseShaderCompiler() | - |
955 | | - |
956 | Convenience function that calls glReleaseShaderCompiler(). | - |
957 | | - |
958 | For more information, see the OpenGL/ES 2.0 documentation for | - |
959 | \l{http://www.khronos.org/opengles/sdk/docs/man/glReleaseShaderCompiler.xml}{glReleaseShaderCompiler()}. | - |
960 | | - |
961 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
962 | */ | - |
963 | | - |
964 | /*! | - |
965 | \fn void QGLFunctions::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) | - |
966 | | - |
967 | Convenience function that calls glRenderbufferStorage(\a target, \a internalformat, \a width, \a height). | - |
968 | | - |
969 | For more information, see the OpenGL/ES 2.0 documentation for | - |
970 | \l{http://www.khronos.org/opengles/sdk/docs/man/glRenderbufferStorage.xml}{glRenderbufferStorage()}. | - |
971 | */ | - |
972 | | - |
973 | /*! | - |
974 | \fn void QGLFunctions::glSampleCoverage(GLclampf value, GLboolean invert) | - |
975 | | - |
976 | Convenience function that calls glSampleCoverage(\a value, \a invert). | - |
977 | | - |
978 | For more information, see the OpenGL/ES 2.0 documentation for | - |
979 | \l{http://www.khronos.org/opengles/sdk/docs/man/glSampleCoverage.xml}{glSampleCoverage()}. | - |
980 | */ | - |
981 | | - |
982 | /*! | - |
983 | \fn void QGLFunctions::glShaderBinary(GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length) | - |
984 | | - |
985 | Convenience function that calls glShaderBinary(\a n, \a shaders, \a binaryformat, \a binary, \a length). | - |
986 | | - |
987 | For more information, see the OpenGL/ES 2.0 documentation for | - |
988 | \l{http://www.khronos.org/opengles/sdk/docs/man/glShaderBinary.xml}{glShaderBinary()}. | - |
989 | | - |
990 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
991 | */ | - |
992 | | - |
993 | /*! | - |
994 | \fn void QGLFunctions::glShaderSource(GLuint shader, GLsizei count, const char** string, const GLint* length) | - |
995 | | - |
996 | Convenience function that calls glShaderSource(\a shader, \a count, \a string, \a length). | - |
997 | | - |
998 | For more information, see the OpenGL/ES 2.0 documentation for | - |
999 | \l{http://www.khronos.org/opengles/sdk/docs/man/glShaderSource.xml}{glShaderSource()}. | - |
1000 | | - |
1001 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1002 | */ | - |
1003 | | - |
1004 | /*! | - |
1005 | \fn void QGLFunctions::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) | - |
1006 | | - |
1007 | Convenience function that calls glStencilFuncSeparate(\a face, \a func, \a ref, \a mask). | - |
1008 | | - |
1009 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1010 | \l{http://www.khronos.org/opengles/sdk/docs/man/glStencilFuncSeparate.xml}{glStencilFuncSeparate()}. | - |
1011 | */ | - |
1012 | | - |
1013 | /*! | - |
1014 | \fn void QGLFunctions::glStencilMaskSeparate(GLenum face, GLuint mask) | - |
1015 | | - |
1016 | Convenience function that calls glStencilMaskSeparate(\a face, \a mask). | - |
1017 | | - |
1018 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1019 | \l{http://www.khronos.org/opengles/sdk/docs/man/glStencilMaskSeparate.xml}{glStencilMaskSeparate()}. | - |
1020 | */ | - |
1021 | | - |
1022 | /*! | - |
1023 | \fn void QGLFunctions::glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) | - |
1024 | | - |
1025 | Convenience function that calls glStencilOpSeparate(\a face, \a fail, \a zfail, \a zpass). | - |
1026 | | - |
1027 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1028 | \l{http://www.khronos.org/opengles/sdk/docs/man/glStencilOpSeparate.xml}{glStencilOpSeparate()}. | - |
1029 | */ | - |
1030 | | - |
1031 | /*! | - |
1032 | \fn void QGLFunctions::glUniform1f(GLint location, GLfloat x) | - |
1033 | | - |
1034 | Convenience function that calls glUniform1f(\a location, \a x). | - |
1035 | | - |
1036 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1037 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform1f.xml}{glUniform1f()}. | - |
1038 | | - |
1039 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1040 | */ | - |
1041 | | - |
1042 | /*! | - |
1043 | \fn void QGLFunctions::glUniform1fv(GLint location, GLsizei count, const GLfloat* v) | - |
1044 | | - |
1045 | Convenience function that calls glUniform1fv(\a location, \a count, \a v). | - |
1046 | | - |
1047 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1048 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform1fv.xml}{glUniform1fv()}. | - |
1049 | | - |
1050 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1051 | */ | - |
1052 | | - |
1053 | /*! | - |
1054 | \fn void QGLFunctions::glUniform1i(GLint location, GLint x) | - |
1055 | | - |
1056 | Convenience function that calls glUniform1i(\a location, \a x). | - |
1057 | | - |
1058 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1059 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform1i.xml}{glUniform1i()}. | - |
1060 | | - |
1061 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1062 | */ | - |
1063 | | - |
1064 | /*! | - |
1065 | \fn void QGLFunctions::glUniform1iv(GLint location, GLsizei count, const GLint* v) | - |
1066 | | - |
1067 | Convenience function that calls glUniform1iv(\a location, \a count, \a v). | - |
1068 | | - |
1069 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1070 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform1iv.xml}{glUniform1iv()}. | - |
1071 | | - |
1072 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1073 | */ | - |
1074 | | - |
1075 | /*! | - |
1076 | \fn void QGLFunctions::glUniform2f(GLint location, GLfloat x, GLfloat y) | - |
1077 | | - |
1078 | Convenience function that calls glUniform2f(\a location, \a x, \a y). | - |
1079 | | - |
1080 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1081 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform2f.xml}{glUniform2f()}. | - |
1082 | | - |
1083 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1084 | */ | - |
1085 | | - |
1086 | /*! | - |
1087 | \fn void QGLFunctions::glUniform2fv(GLint location, GLsizei count, const GLfloat* v) | - |
1088 | | - |
1089 | Convenience function that calls glUniform2fv(\a location, \a count, \a v). | - |
1090 | | - |
1091 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1092 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform2fv.xml}{glUniform2fv()}. | - |
1093 | | - |
1094 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1095 | */ | - |
1096 | | - |
1097 | /*! | - |
1098 | \fn void QGLFunctions::glUniform2i(GLint location, GLint x, GLint y) | - |
1099 | | - |
1100 | Convenience function that calls glUniform2i(\a location, \a x, \a y). | - |
1101 | | - |
1102 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1103 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform2i.xml}{glUniform2i()}. | - |
1104 | | - |
1105 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1106 | */ | - |
1107 | | - |
1108 | /*! | - |
1109 | \fn void QGLFunctions::glUniform2iv(GLint location, GLsizei count, const GLint* v) | - |
1110 | | - |
1111 | Convenience function that calls glUniform2iv(\a location, \a count, \a v). | - |
1112 | | - |
1113 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1114 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform2iv.xml}{glUniform2iv()}. | - |
1115 | | - |
1116 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1117 | */ | - |
1118 | | - |
1119 | /*! | - |
1120 | \fn void QGLFunctions::glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) | - |
1121 | | - |
1122 | Convenience function that calls glUniform3f(\a location, \a x, \a y, \a z). | - |
1123 | | - |
1124 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1125 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform3f.xml}{glUniform3f()}. | - |
1126 | | - |
1127 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1128 | */ | - |
1129 | | - |
1130 | /*! | - |
1131 | \fn void QGLFunctions::glUniform3fv(GLint location, GLsizei count, const GLfloat* v) | - |
1132 | | - |
1133 | Convenience function that calls glUniform3fv(\a location, \a count, \a v). | - |
1134 | | - |
1135 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1136 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform3fv.xml}{glUniform3fv()}. | - |
1137 | | - |
1138 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1139 | */ | - |
1140 | | - |
1141 | /*! | - |
1142 | \fn void QGLFunctions::glUniform3i(GLint location, GLint x, GLint y, GLint z) | - |
1143 | | - |
1144 | Convenience function that calls glUniform3i(\a location, \a x, \a y, \a z). | - |
1145 | | - |
1146 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1147 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform3i.xml}{glUniform3i()}. | - |
1148 | | - |
1149 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1150 | */ | - |
1151 | | - |
1152 | /*! | - |
1153 | \fn void QGLFunctions::glUniform3iv(GLint location, GLsizei count, const GLint* v) | - |
1154 | | - |
1155 | Convenience function that calls glUniform3iv(\a location, \a count, \a v). | - |
1156 | | - |
1157 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1158 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform3iv.xml}{glUniform3iv()}. | - |
1159 | | - |
1160 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1161 | */ | - |
1162 | | - |
1163 | /*! | - |
1164 | \fn void QGLFunctions::glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) | - |
1165 | | - |
1166 | Convenience function that calls glUniform4f(\a location, \a x, \a y, \a z, \a w). | - |
1167 | | - |
1168 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1169 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform4f.xml}{glUniform4f()}. | - |
1170 | | - |
1171 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1172 | */ | - |
1173 | | - |
1174 | /*! | - |
1175 | \fn void QGLFunctions::glUniform4fv(GLint location, GLsizei count, const GLfloat* v) | - |
1176 | | - |
1177 | Convenience function that calls glUniform4fv(\a location, \a count, \a v). | - |
1178 | | - |
1179 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1180 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform4fv.xml}{glUniform4fv()}. | - |
1181 | | - |
1182 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1183 | */ | - |
1184 | | - |
1185 | /*! | - |
1186 | \fn void QGLFunctions::glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) | - |
1187 | | - |
1188 | Convenience function that calls glUniform4i(\a location, \a x, \a y, \a z, \a w). | - |
1189 | | - |
1190 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1191 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform4i.xml}{glUniform4i()}. | - |
1192 | | - |
1193 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1194 | */ | - |
1195 | | - |
1196 | /*! | - |
1197 | \fn void QGLFunctions::glUniform4iv(GLint location, GLsizei count, const GLint* v) | - |
1198 | | - |
1199 | Convenience function that calls glUniform4iv(\a location, \a count, \a v). | - |
1200 | | - |
1201 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1202 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniform4iv.xml}{glUniform4iv()}. | - |
1203 | | - |
1204 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1205 | */ | - |
1206 | | - |
1207 | /*! | - |
1208 | \fn void QGLFunctions::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) | - |
1209 | | - |
1210 | Convenience function that calls glUniformMatrix2fv(\a location, \a count, \a transpose, \a value). | - |
1211 | | - |
1212 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1213 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniformMatrix2fv.xml}{glUniformMatrix2fv()}. | - |
1214 | | - |
1215 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1216 | */ | - |
1217 | | - |
1218 | /*! | - |
1219 | \fn void QGLFunctions::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) | - |
1220 | | - |
1221 | Convenience function that calls glUniformMatrix3fv(\a location, \a count, \a transpose, \a value). | - |
1222 | | - |
1223 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1224 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniformMatrix3fv.xml}{glUniformMatrix3fv()}. | - |
1225 | | - |
1226 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1227 | */ | - |
1228 | | - |
1229 | /*! | - |
1230 | \fn void QGLFunctions::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) | - |
1231 | | - |
1232 | Convenience function that calls glUniformMatrix4fv(\a location, \a count, \a transpose, \a value). | - |
1233 | | - |
1234 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1235 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUniformMatrix4fv.xml}{glUniformMatrix4fv()}. | - |
1236 | | - |
1237 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1238 | */ | - |
1239 | | - |
1240 | /*! | - |
1241 | \fn void QGLFunctions::glUseProgram(GLuint program) | - |
1242 | | - |
1243 | Convenience function that calls glUseProgram(\a program). | - |
1244 | | - |
1245 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1246 | \l{http://www.khronos.org/opengles/sdk/docs/man/glUseProgram.xml}{glUseProgram()}. | - |
1247 | | - |
1248 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1249 | */ | - |
1250 | | - |
1251 | /*! | - |
1252 | \fn void QGLFunctions::glValidateProgram(GLuint program) | - |
1253 | | - |
1254 | Convenience function that calls glValidateProgram(\a program). | - |
1255 | | - |
1256 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1257 | \l{http://www.khronos.org/opengles/sdk/docs/man/glValidateProgram.xml}{glValidateProgram()}. | - |
1258 | | - |
1259 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1260 | */ | - |
1261 | | - |
1262 | /*! | - |
1263 | \fn void QGLFunctions::glVertexAttrib1f(GLuint indx, GLfloat x) | - |
1264 | | - |
1265 | Convenience function that calls glVertexAttrib1f(\a indx, \a x). | - |
1266 | | - |
1267 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1268 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib1f.xml}{glVertexAttrib1f()}. | - |
1269 | | - |
1270 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1271 | */ | - |
1272 | | - |
1273 | /*! | - |
1274 | \fn void QGLFunctions::glVertexAttrib1fv(GLuint indx, const GLfloat* values) | - |
1275 | | - |
1276 | Convenience function that calls glVertexAttrib1fv(\a indx, \a values). | - |
1277 | | - |
1278 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1279 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib1fv.xml}{glVertexAttrib1fv()}. | - |
1280 | | - |
1281 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1282 | */ | - |
1283 | | - |
1284 | /*! | - |
1285 | \fn void QGLFunctions::glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) | - |
1286 | | - |
1287 | Convenience function that calls glVertexAttrib2f(\a indx, \a x, \a y). | - |
1288 | | - |
1289 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1290 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib2f.xml}{glVertexAttrib2f()}. | - |
1291 | | - |
1292 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1293 | */ | - |
1294 | | - |
1295 | /*! | - |
1296 | \fn void QGLFunctions::glVertexAttrib2fv(GLuint indx, const GLfloat* values) | - |
1297 | | - |
1298 | Convenience function that calls glVertexAttrib2fv(\a indx, \a values). | - |
1299 | | - |
1300 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1301 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib2fv.xml}{glVertexAttrib2fv()}. | - |
1302 | | - |
1303 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1304 | */ | - |
1305 | | - |
1306 | /*! | - |
1307 | \fn void QGLFunctions::glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) | - |
1308 | | - |
1309 | Convenience function that calls glVertexAttrib3f(\a indx, \a x, \a y, \a z). | - |
1310 | | - |
1311 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1312 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib3f.xml}{glVertexAttrib3f()}. | - |
1313 | | - |
1314 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1315 | */ | - |
1316 | | - |
1317 | /*! | - |
1318 | \fn void QGLFunctions::glVertexAttrib3fv(GLuint indx, const GLfloat* values) | - |
1319 | | - |
1320 | Convenience function that calls glVertexAttrib3fv(\a indx, \a values). | - |
1321 | | - |
1322 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1323 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib3fv.xml}{glVertexAttrib3fv()}. | - |
1324 | | - |
1325 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1326 | */ | - |
1327 | | - |
1328 | /*! | - |
1329 | \fn void QGLFunctions::glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) | - |
1330 | | - |
1331 | Convenience function that calls glVertexAttrib4f(\a indx, \a x, \a y, \a z, \a w). | - |
1332 | | - |
1333 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1334 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib4f.xml}{glVertexAttrib4f()}. | - |
1335 | | - |
1336 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1337 | */ | - |
1338 | | - |
1339 | /*! | - |
1340 | \fn void QGLFunctions::glVertexAttrib4fv(GLuint indx, const GLfloat* values) | - |
1341 | | - |
1342 | Convenience function that calls glVertexAttrib4fv(\a indx, \a values). | - |
1343 | | - |
1344 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1345 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttrib4fv.xml}{glVertexAttrib4fv()}. | - |
1346 | | - |
1347 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1348 | */ | - |
1349 | | - |
1350 | /*! | - |
1351 | \fn void QGLFunctions::glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) | - |
1352 | | - |
1353 | Convenience function that calls glVertexAttribPointer(\a indx, \a size, \a type, \a normalized, \a stride, \a ptr). | - |
1354 | | - |
1355 | For more information, see the OpenGL/ES 2.0 documentation for | - |
1356 | \l{http://www.khronos.org/opengles/sdk/docs/man/glVertexAttribPointer.xml}{glVertexAttribPointer()}. | - |
1357 | | - |
1358 | This convenience function will do nothing on OpenGL/ES 1.x systems. | - |
1359 | */ | - |
1360 | | - |
1361 | #ifndef QT_OPENGL_ES_2 | - |
1362 | | - |
1363 | static void QGLF_APIENTRY qglfResolveActiveTexture(GLenum texture) | - |
1364 | { | - |
1365 | typedef void (QGLF_APIENTRYP type_glActiveTexture)(GLenum texture); never executed (the execution status of this line is deduced): typedef void ( * type_glActiveTexture)(GLenum texture); | - |
1366 | | - |
1367 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1368 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1369 | | - |
1370 | funcs->activeTexture = (type_glActiveTexture) never executed (the execution status of this line is deduced): funcs->activeTexture = (type_glActiveTexture) | - |
1371 | context->getProcAddress(QLatin1String("glActiveTexture")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glActiveTexture")); | - |
1372 | if (!funcs->activeTexture) { never evaluated: !funcs->activeTexture | 0 |
1373 | funcs->activeTexture = (type_glActiveTexture) never executed (the execution status of this line is deduced): funcs->activeTexture = (type_glActiveTexture) | - |
1374 | context->getProcAddress(QLatin1String("glActiveTextureARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glActiveTextureARB")); | - |
1375 | } | 0 |
1376 | | - |
1377 | if (funcs->activeTexture) never evaluated: funcs->activeTexture | 0 |
1378 | funcs->activeTexture(texture); never executed: funcs->activeTexture(texture); | 0 |
1379 | else | - |
1380 | funcs->activeTexture = qglfResolveActiveTexture; never executed: funcs->activeTexture = qglfResolveActiveTexture; | 0 |
1381 | } | - |
1382 | | - |
1383 | static void QGLF_APIENTRY qglfResolveAttachShader(GLuint program, GLuint shader) | - |
1384 | { | - |
1385 | typedef void (QGLF_APIENTRYP type_glAttachShader)(GLuint program, GLuint shader); never executed (the execution status of this line is deduced): typedef void ( * type_glAttachShader)(GLuint program, GLuint shader); | - |
1386 | | - |
1387 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1388 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1389 | | - |
1390 | funcs->attachShader = (type_glAttachShader) never executed (the execution status of this line is deduced): funcs->attachShader = (type_glAttachShader) | - |
1391 | context->getProcAddress(QLatin1String("glAttachShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glAttachShader")); | - |
1392 | if (!funcs->attachShader) { never evaluated: !funcs->attachShader | 0 |
1393 | funcs->attachShader = (type_glAttachShader) never executed (the execution status of this line is deduced): funcs->attachShader = (type_glAttachShader) | - |
1394 | context->getProcAddress(QLatin1String("glAttachObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glAttachObjectARB")); | - |
1395 | } | 0 |
1396 | | - |
1397 | if (funcs->attachShader) never evaluated: funcs->attachShader | 0 |
1398 | funcs->attachShader(program, shader); never executed: funcs->attachShader(program, shader); | 0 |
1399 | else | - |
1400 | funcs->attachShader = qglfResolveAttachShader; never executed: funcs->attachShader = qglfResolveAttachShader; | 0 |
1401 | } | - |
1402 | | - |
1403 | static void QGLF_APIENTRY qglfResolveBindAttribLocation(GLuint program, GLuint index, const char* name) | - |
1404 | { | - |
1405 | typedef void (QGLF_APIENTRYP type_glBindAttribLocation)(GLuint program, GLuint index, const char* name); never executed (the execution status of this line is deduced): typedef void ( * type_glBindAttribLocation)(GLuint program, GLuint index, const char* name); | - |
1406 | | - |
1407 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1408 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1409 | | - |
1410 | funcs->bindAttribLocation = (type_glBindAttribLocation) never executed (the execution status of this line is deduced): funcs->bindAttribLocation = (type_glBindAttribLocation) | - |
1411 | context->getProcAddress(QLatin1String("glBindAttribLocation")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindAttribLocation")); | - |
1412 | if (!funcs->bindAttribLocation) { never evaluated: !funcs->bindAttribLocation | 0 |
1413 | funcs->bindAttribLocation = (type_glBindAttribLocation) never executed (the execution status of this line is deduced): funcs->bindAttribLocation = (type_glBindAttribLocation) | - |
1414 | context->getProcAddress(QLatin1String("glBindAttribLocationARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindAttribLocationARB")); | - |
1415 | } | 0 |
1416 | | - |
1417 | if (funcs->bindAttribLocation) never evaluated: funcs->bindAttribLocation | 0 |
1418 | funcs->bindAttribLocation(program, index, name); never executed: funcs->bindAttribLocation(program, index, name); | 0 |
1419 | else | - |
1420 | funcs->bindAttribLocation = qglfResolveBindAttribLocation; never executed: funcs->bindAttribLocation = qglfResolveBindAttribLocation; | 0 |
1421 | } | - |
1422 | | - |
1423 | static void QGLF_APIENTRY qglfResolveBindBuffer(GLenum target, GLuint buffer) | - |
1424 | { | - |
1425 | typedef void (QGLF_APIENTRYP type_glBindBuffer)(GLenum target, GLuint buffer); never executed (the execution status of this line is deduced): typedef void ( * type_glBindBuffer)(GLenum target, GLuint buffer); | - |
1426 | | - |
1427 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1428 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1429 | | - |
1430 | funcs->bindBuffer = (type_glBindBuffer) never executed (the execution status of this line is deduced): funcs->bindBuffer = (type_glBindBuffer) | - |
1431 | context->getProcAddress(QLatin1String("glBindBuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindBuffer")); | - |
1432 | #ifdef QT_OPENGL_ES | - |
1433 | if (!funcs->bindBuffer) { | - |
1434 | funcs->bindBuffer = (type_glBindBuffer) | - |
1435 | context->getProcAddress(QLatin1String("glBindBufferOES")); | - |
1436 | } | - |
1437 | #endif | - |
1438 | if (!funcs->bindBuffer) { never evaluated: !funcs->bindBuffer | 0 |
1439 | funcs->bindBuffer = (type_glBindBuffer) never executed (the execution status of this line is deduced): funcs->bindBuffer = (type_glBindBuffer) | - |
1440 | context->getProcAddress(QLatin1String("glBindBufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindBufferEXT")); | - |
1441 | } | 0 |
1442 | if (!funcs->bindBuffer) { never evaluated: !funcs->bindBuffer | 0 |
1443 | funcs->bindBuffer = (type_glBindBuffer) never executed (the execution status of this line is deduced): funcs->bindBuffer = (type_glBindBuffer) | - |
1444 | context->getProcAddress(QLatin1String("glBindBufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindBufferARB")); | - |
1445 | } | 0 |
1446 | | - |
1447 | if (funcs->bindBuffer) never evaluated: funcs->bindBuffer | 0 |
1448 | funcs->bindBuffer(target, buffer); never executed: funcs->bindBuffer(target, buffer); | 0 |
1449 | else | - |
1450 | funcs->bindBuffer = qglfResolveBindBuffer; never executed: funcs->bindBuffer = qglfResolveBindBuffer; | 0 |
1451 | } | - |
1452 | | - |
1453 | static void QGLF_APIENTRY qglfResolveBindFramebuffer(GLenum target, GLuint framebuffer) | - |
1454 | { | - |
1455 | typedef void (QGLF_APIENTRYP type_glBindFramebuffer)(GLenum target, GLuint framebuffer); never executed (the execution status of this line is deduced): typedef void ( * type_glBindFramebuffer)(GLenum target, GLuint framebuffer); | - |
1456 | | - |
1457 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1458 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1459 | | - |
1460 | funcs->bindFramebuffer = (type_glBindFramebuffer) never executed (the execution status of this line is deduced): funcs->bindFramebuffer = (type_glBindFramebuffer) | - |
1461 | context->getProcAddress(QLatin1String("glBindFramebuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindFramebuffer")); | - |
1462 | #ifdef QT_OPENGL_ES | - |
1463 | if (!funcs->bindFramebuffer) { | - |
1464 | funcs->bindFramebuffer = (type_glBindFramebuffer) | - |
1465 | context->getProcAddress(QLatin1String("glBindFramebufferOES")); | - |
1466 | } | - |
1467 | #endif | - |
1468 | if (!funcs->bindFramebuffer) { never evaluated: !funcs->bindFramebuffer | 0 |
1469 | funcs->bindFramebuffer = (type_glBindFramebuffer) never executed (the execution status of this line is deduced): funcs->bindFramebuffer = (type_glBindFramebuffer) | - |
1470 | context->getProcAddress(QLatin1String("glBindFramebufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindFramebufferEXT")); | - |
1471 | } | 0 |
1472 | if (!funcs->bindFramebuffer) { never evaluated: !funcs->bindFramebuffer | 0 |
1473 | funcs->bindFramebuffer = (type_glBindFramebuffer) never executed (the execution status of this line is deduced): funcs->bindFramebuffer = (type_glBindFramebuffer) | - |
1474 | context->getProcAddress(QLatin1String("glBindFramebufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindFramebufferARB")); | - |
1475 | } | 0 |
1476 | | - |
1477 | if (funcs->bindFramebuffer) never evaluated: funcs->bindFramebuffer | 0 |
1478 | funcs->bindFramebuffer(target, framebuffer); never executed: funcs->bindFramebuffer(target, framebuffer); | 0 |
1479 | else | - |
1480 | funcs->bindFramebuffer = qglfResolveBindFramebuffer; never executed: funcs->bindFramebuffer = qglfResolveBindFramebuffer; | 0 |
1481 | } | - |
1482 | | - |
1483 | static void QGLF_APIENTRY qglfResolveBindRenderbuffer(GLenum target, GLuint renderbuffer) | - |
1484 | { | - |
1485 | typedef void (QGLF_APIENTRYP type_glBindRenderbuffer)(GLenum target, GLuint renderbuffer); never executed (the execution status of this line is deduced): typedef void ( * type_glBindRenderbuffer)(GLenum target, GLuint renderbuffer); | - |
1486 | | - |
1487 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1488 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1489 | | - |
1490 | funcs->bindRenderbuffer = (type_glBindRenderbuffer) never executed (the execution status of this line is deduced): funcs->bindRenderbuffer = (type_glBindRenderbuffer) | - |
1491 | context->getProcAddress(QLatin1String("glBindRenderbuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindRenderbuffer")); | - |
1492 | #ifdef QT_OPENGL_ES | - |
1493 | if (!funcs->bindRenderbuffer) { | - |
1494 | funcs->bindRenderbuffer = (type_glBindRenderbuffer) | - |
1495 | context->getProcAddress(QLatin1String("glBindRenderbufferOES")); | - |
1496 | } | - |
1497 | #endif | - |
1498 | if (!funcs->bindRenderbuffer) { never evaluated: !funcs->bindRenderbuffer | 0 |
1499 | funcs->bindRenderbuffer = (type_glBindRenderbuffer) never executed (the execution status of this line is deduced): funcs->bindRenderbuffer = (type_glBindRenderbuffer) | - |
1500 | context->getProcAddress(QLatin1String("glBindRenderbufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindRenderbufferEXT")); | - |
1501 | } | 0 |
1502 | if (!funcs->bindRenderbuffer) { never evaluated: !funcs->bindRenderbuffer | 0 |
1503 | funcs->bindRenderbuffer = (type_glBindRenderbuffer) never executed (the execution status of this line is deduced): funcs->bindRenderbuffer = (type_glBindRenderbuffer) | - |
1504 | context->getProcAddress(QLatin1String("glBindRenderbufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBindRenderbufferARB")); | - |
1505 | } | 0 |
1506 | | - |
1507 | if (funcs->bindRenderbuffer) never evaluated: funcs->bindRenderbuffer | 0 |
1508 | funcs->bindRenderbuffer(target, renderbuffer); never executed: funcs->bindRenderbuffer(target, renderbuffer); | 0 |
1509 | else | - |
1510 | funcs->bindRenderbuffer = qglfResolveBindRenderbuffer; never executed: funcs->bindRenderbuffer = qglfResolveBindRenderbuffer; | 0 |
1511 | } | - |
1512 | | - |
1513 | static void QGLF_APIENTRY qglfResolveBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) | - |
1514 | { | - |
1515 | typedef void (QGLF_APIENTRYP type_glBlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); never executed (the execution status of this line is deduced): typedef void ( * type_glBlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | - |
1516 | | - |
1517 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1518 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1519 | | - |
1520 | funcs->blendColor = (type_glBlendColor) never executed (the execution status of this line is deduced): funcs->blendColor = (type_glBlendColor) | - |
1521 | context->getProcAddress(QLatin1String("glBlendColor")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendColor")); | - |
1522 | #ifdef QT_OPENGL_ES | - |
1523 | if (!funcs->blendColor) { | - |
1524 | funcs->blendColor = (type_glBlendColor) | - |
1525 | context->getProcAddress(QLatin1String("glBlendColorOES")); | - |
1526 | } | - |
1527 | #endif | - |
1528 | if (!funcs->blendColor) { never evaluated: !funcs->blendColor | 0 |
1529 | funcs->blendColor = (type_glBlendColor) never executed (the execution status of this line is deduced): funcs->blendColor = (type_glBlendColor) | - |
1530 | context->getProcAddress(QLatin1String("glBlendColorEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendColorEXT")); | - |
1531 | } | 0 |
1532 | if (!funcs->blendColor) { never evaluated: !funcs->blendColor | 0 |
1533 | funcs->blendColor = (type_glBlendColor) never executed (the execution status of this line is deduced): funcs->blendColor = (type_glBlendColor) | - |
1534 | context->getProcAddress(QLatin1String("glBlendColorARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendColorARB")); | - |
1535 | } | 0 |
1536 | | - |
1537 | if (funcs->blendColor) never evaluated: funcs->blendColor | 0 |
1538 | funcs->blendColor(red, green, blue, alpha); never executed: funcs->blendColor(red, green, blue, alpha); | 0 |
1539 | else | - |
1540 | funcs->blendColor = qglfResolveBlendColor; never executed: funcs->blendColor = qglfResolveBlendColor; | 0 |
1541 | } | - |
1542 | | - |
1543 | static void QGLF_APIENTRY qglfResolveBlendEquation(GLenum mode) | - |
1544 | { | - |
1545 | typedef void (QGLF_APIENTRYP type_glBlendEquation)(GLenum mode); never executed (the execution status of this line is deduced): typedef void ( * type_glBlendEquation)(GLenum mode); | - |
1546 | | - |
1547 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1548 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1549 | | - |
1550 | funcs->blendEquation = (type_glBlendEquation) never executed (the execution status of this line is deduced): funcs->blendEquation = (type_glBlendEquation) | - |
1551 | context->getProcAddress(QLatin1String("glBlendEquation")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendEquation")); | - |
1552 | #ifdef QT_OPENGL_ES | - |
1553 | if (!funcs->blendEquation) { | - |
1554 | funcs->blendEquation = (type_glBlendEquation) | - |
1555 | context->getProcAddress(QLatin1String("glBlendEquationOES")); | - |
1556 | } | - |
1557 | #endif | - |
1558 | if (!funcs->blendEquation) { never evaluated: !funcs->blendEquation | 0 |
1559 | funcs->blendEquation = (type_glBlendEquation) never executed (the execution status of this line is deduced): funcs->blendEquation = (type_glBlendEquation) | - |
1560 | context->getProcAddress(QLatin1String("glBlendEquationEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendEquationEXT")); | - |
1561 | } | 0 |
1562 | if (!funcs->blendEquation) { never evaluated: !funcs->blendEquation | 0 |
1563 | funcs->blendEquation = (type_glBlendEquation) never executed (the execution status of this line is deduced): funcs->blendEquation = (type_glBlendEquation) | - |
1564 | context->getProcAddress(QLatin1String("glBlendEquationARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendEquationARB")); | - |
1565 | } | 0 |
1566 | | - |
1567 | if (funcs->blendEquation) never evaluated: funcs->blendEquation | 0 |
1568 | funcs->blendEquation(mode); never executed: funcs->blendEquation(mode); | 0 |
1569 | else | - |
1570 | funcs->blendEquation = qglfResolveBlendEquation; never executed: funcs->blendEquation = qglfResolveBlendEquation; | 0 |
1571 | } | - |
1572 | | - |
1573 | static void QGLF_APIENTRY qglfResolveBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) | - |
1574 | { | - |
1575 | typedef void (QGLF_APIENTRYP type_glBlendEquationSeparate)(GLenum modeRGB, GLenum modeAlpha); never executed (the execution status of this line is deduced): typedef void ( * type_glBlendEquationSeparate)(GLenum modeRGB, GLenum modeAlpha); | - |
1576 | | - |
1577 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1578 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1579 | | - |
1580 | funcs->blendEquationSeparate = (type_glBlendEquationSeparate) never executed (the execution status of this line is deduced): funcs->blendEquationSeparate = (type_glBlendEquationSeparate) | - |
1581 | context->getProcAddress(QLatin1String("glBlendEquationSeparate")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendEquationSeparate")); | - |
1582 | #ifdef QT_OPENGL_ES | - |
1583 | if (!funcs->blendEquationSeparate) { | - |
1584 | funcs->blendEquationSeparate = (type_glBlendEquationSeparate) | - |
1585 | context->getProcAddress(QLatin1String("glBlendEquationSeparateOES")); | - |
1586 | } | - |
1587 | #endif | - |
1588 | if (!funcs->blendEquationSeparate) { never evaluated: !funcs->blendEquationSeparate | 0 |
1589 | funcs->blendEquationSeparate = (type_glBlendEquationSeparate) never executed (the execution status of this line is deduced): funcs->blendEquationSeparate = (type_glBlendEquationSeparate) | - |
1590 | context->getProcAddress(QLatin1String("glBlendEquationSeparateEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendEquationSeparateEXT")); | - |
1591 | } | 0 |
1592 | if (!funcs->blendEquationSeparate) { never evaluated: !funcs->blendEquationSeparate | 0 |
1593 | funcs->blendEquationSeparate = (type_glBlendEquationSeparate) never executed (the execution status of this line is deduced): funcs->blendEquationSeparate = (type_glBlendEquationSeparate) | - |
1594 | context->getProcAddress(QLatin1String("glBlendEquationSeparateARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendEquationSeparateARB")); | - |
1595 | } | 0 |
1596 | | - |
1597 | if (funcs->blendEquationSeparate) never evaluated: funcs->blendEquationSeparate | 0 |
1598 | funcs->blendEquationSeparate(modeRGB, modeAlpha); never executed: funcs->blendEquationSeparate(modeRGB, modeAlpha); | 0 |
1599 | else | - |
1600 | funcs->blendEquationSeparate = qglfResolveBlendEquationSeparate; never executed: funcs->blendEquationSeparate = qglfResolveBlendEquationSeparate; | 0 |
1601 | } | - |
1602 | | - |
1603 | static void QGLF_APIENTRY qglfResolveBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) | - |
1604 | { | - |
1605 | typedef void (QGLF_APIENTRYP type_glBlendFuncSeparate)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); never executed (the execution status of this line is deduced): typedef void ( * type_glBlendFuncSeparate)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | - |
1606 | | - |
1607 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1608 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1609 | | - |
1610 | funcs->blendFuncSeparate = (type_glBlendFuncSeparate) never executed (the execution status of this line is deduced): funcs->blendFuncSeparate = (type_glBlendFuncSeparate) | - |
1611 | context->getProcAddress(QLatin1String("glBlendFuncSeparate")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendFuncSeparate")); | - |
1612 | #ifdef QT_OPENGL_ES | - |
1613 | if (!funcs->blendFuncSeparate) { | - |
1614 | funcs->blendFuncSeparate = (type_glBlendFuncSeparate) | - |
1615 | context->getProcAddress(QLatin1String("glBlendFuncSeparateOES")); | - |
1616 | } | - |
1617 | #endif | - |
1618 | if (!funcs->blendFuncSeparate) { never evaluated: !funcs->blendFuncSeparate | 0 |
1619 | funcs->blendFuncSeparate = (type_glBlendFuncSeparate) never executed (the execution status of this line is deduced): funcs->blendFuncSeparate = (type_glBlendFuncSeparate) | - |
1620 | context->getProcAddress(QLatin1String("glBlendFuncSeparateEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendFuncSeparateEXT")); | - |
1621 | } | 0 |
1622 | if (!funcs->blendFuncSeparate) { never evaluated: !funcs->blendFuncSeparate | 0 |
1623 | funcs->blendFuncSeparate = (type_glBlendFuncSeparate) never executed (the execution status of this line is deduced): funcs->blendFuncSeparate = (type_glBlendFuncSeparate) | - |
1624 | context->getProcAddress(QLatin1String("glBlendFuncSeparateARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBlendFuncSeparateARB")); | - |
1625 | } | 0 |
1626 | | - |
1627 | if (funcs->blendFuncSeparate) never evaluated: funcs->blendFuncSeparate | 0 |
1628 | funcs->blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); never executed: funcs->blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); | 0 |
1629 | else | - |
1630 | funcs->blendFuncSeparate = qglfResolveBlendFuncSeparate; never executed: funcs->blendFuncSeparate = qglfResolveBlendFuncSeparate; | 0 |
1631 | } | - |
1632 | | - |
1633 | static void QGLF_APIENTRY qglfResolveBufferData(GLenum target, qgl_GLsizeiptr size, const void* data, GLenum usage) | - |
1634 | { | - |
1635 | typedef void (QGLF_APIENTRYP type_glBufferData)(GLenum target, qgl_GLsizeiptr size, const void* data, GLenum usage); never executed (the execution status of this line is deduced): typedef void ( * type_glBufferData)(GLenum target, qgl_GLsizeiptr size, const void* data, GLenum usage); | - |
1636 | | - |
1637 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1638 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1639 | | - |
1640 | funcs->bufferData = (type_glBufferData) never executed (the execution status of this line is deduced): funcs->bufferData = (type_glBufferData) | - |
1641 | context->getProcAddress(QLatin1String("glBufferData")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBufferData")); | - |
1642 | #ifdef QT_OPENGL_ES | - |
1643 | if (!funcs->bufferData) { | - |
1644 | funcs->bufferData = (type_glBufferData) | - |
1645 | context->getProcAddress(QLatin1String("glBufferDataOES")); | - |
1646 | } | - |
1647 | #endif | - |
1648 | if (!funcs->bufferData) { never evaluated: !funcs->bufferData | 0 |
1649 | funcs->bufferData = (type_glBufferData) never executed (the execution status of this line is deduced): funcs->bufferData = (type_glBufferData) | - |
1650 | context->getProcAddress(QLatin1String("glBufferDataEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBufferDataEXT")); | - |
1651 | } | 0 |
1652 | if (!funcs->bufferData) { never evaluated: !funcs->bufferData | 0 |
1653 | funcs->bufferData = (type_glBufferData) never executed (the execution status of this line is deduced): funcs->bufferData = (type_glBufferData) | - |
1654 | context->getProcAddress(QLatin1String("glBufferDataARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBufferDataARB")); | - |
1655 | } | 0 |
1656 | | - |
1657 | if (funcs->bufferData) never evaluated: funcs->bufferData | 0 |
1658 | funcs->bufferData(target, size, data, usage); never executed: funcs->bufferData(target, size, data, usage); | 0 |
1659 | else | - |
1660 | funcs->bufferData = qglfResolveBufferData; never executed: funcs->bufferData = qglfResolveBufferData; | 0 |
1661 | } | - |
1662 | | - |
1663 | static void QGLF_APIENTRY qglfResolveBufferSubData(GLenum target, qgl_GLintptr offset, qgl_GLsizeiptr size, const void* data) | - |
1664 | { | - |
1665 | typedef void (QGLF_APIENTRYP type_glBufferSubData)(GLenum target, qgl_GLintptr offset, qgl_GLsizeiptr size, const void* data); never executed (the execution status of this line is deduced): typedef void ( * type_glBufferSubData)(GLenum target, qgl_GLintptr offset, qgl_GLsizeiptr size, const void* data); | - |
1666 | | - |
1667 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1668 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1669 | | - |
1670 | funcs->bufferSubData = (type_glBufferSubData) never executed (the execution status of this line is deduced): funcs->bufferSubData = (type_glBufferSubData) | - |
1671 | context->getProcAddress(QLatin1String("glBufferSubData")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBufferSubData")); | - |
1672 | #ifdef QT_OPENGL_ES | - |
1673 | if (!funcs->bufferSubData) { | - |
1674 | funcs->bufferSubData = (type_glBufferSubData) | - |
1675 | context->getProcAddress(QLatin1String("glBufferSubDataOES")); | - |
1676 | } | - |
1677 | #endif | - |
1678 | if (!funcs->bufferSubData) { never evaluated: !funcs->bufferSubData | 0 |
1679 | funcs->bufferSubData = (type_glBufferSubData) never executed (the execution status of this line is deduced): funcs->bufferSubData = (type_glBufferSubData) | - |
1680 | context->getProcAddress(QLatin1String("glBufferSubDataEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBufferSubDataEXT")); | - |
1681 | } | 0 |
1682 | if (!funcs->bufferSubData) { never evaluated: !funcs->bufferSubData | 0 |
1683 | funcs->bufferSubData = (type_glBufferSubData) never executed (the execution status of this line is deduced): funcs->bufferSubData = (type_glBufferSubData) | - |
1684 | context->getProcAddress(QLatin1String("glBufferSubDataARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glBufferSubDataARB")); | - |
1685 | } | 0 |
1686 | | - |
1687 | if (funcs->bufferSubData) never evaluated: funcs->bufferSubData | 0 |
1688 | funcs->bufferSubData(target, offset, size, data); never executed: funcs->bufferSubData(target, offset, size, data); | 0 |
1689 | else | - |
1690 | funcs->bufferSubData = qglfResolveBufferSubData; never executed: funcs->bufferSubData = qglfResolveBufferSubData; | 0 |
1691 | } | - |
1692 | | - |
1693 | static GLenum QGLF_APIENTRY qglfResolveCheckFramebufferStatus(GLenum target) | - |
1694 | { | - |
1695 | typedef GLenum (QGLF_APIENTRYP type_glCheckFramebufferStatus)(GLenum target); never executed (the execution status of this line is deduced): typedef GLenum ( * type_glCheckFramebufferStatus)(GLenum target); | - |
1696 | | - |
1697 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1698 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1699 | | - |
1700 | funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) never executed (the execution status of this line is deduced): funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) | - |
1701 | context->getProcAddress(QLatin1String("glCheckFramebufferStatus")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCheckFramebufferStatus")); | - |
1702 | #ifdef QT_OPENGL_ES | - |
1703 | if (!funcs->checkFramebufferStatus) { | - |
1704 | funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) | - |
1705 | context->getProcAddress(QLatin1String("glCheckFramebufferStatusOES")); | - |
1706 | } | - |
1707 | #endif | - |
1708 | if (!funcs->checkFramebufferStatus) { never evaluated: !funcs->checkFramebufferStatus | 0 |
1709 | funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) never executed (the execution status of this line is deduced): funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) | - |
1710 | context->getProcAddress(QLatin1String("glCheckFramebufferStatusEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCheckFramebufferStatusEXT")); | - |
1711 | } | 0 |
1712 | if (!funcs->checkFramebufferStatus) { never evaluated: !funcs->checkFramebufferStatus | 0 |
1713 | funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) never executed (the execution status of this line is deduced): funcs->checkFramebufferStatus = (type_glCheckFramebufferStatus) | - |
1714 | context->getProcAddress(QLatin1String("glCheckFramebufferStatusARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCheckFramebufferStatusARB")); | - |
1715 | } | 0 |
1716 | | - |
1717 | if (funcs->checkFramebufferStatus) never evaluated: funcs->checkFramebufferStatus | 0 |
1718 | return funcs->checkFramebufferStatus(target); never executed: return funcs->checkFramebufferStatus(target); | 0 |
1719 | funcs->checkFramebufferStatus = qglfResolveCheckFramebufferStatus; never executed (the execution status of this line is deduced): funcs->checkFramebufferStatus = qglfResolveCheckFramebufferStatus; | - |
1720 | return GLenum(0); never executed: return GLenum(0); | 0 |
1721 | } | - |
1722 | | - |
1723 | static void QGLF_APIENTRY qglfResolveCompileShader(GLuint shader) | - |
1724 | { | - |
1725 | typedef void (QGLF_APIENTRYP type_glCompileShader)(GLuint shader); never executed (the execution status of this line is deduced): typedef void ( * type_glCompileShader)(GLuint shader); | - |
1726 | | - |
1727 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1728 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1729 | | - |
1730 | funcs->compileShader = (type_glCompileShader) never executed (the execution status of this line is deduced): funcs->compileShader = (type_glCompileShader) | - |
1731 | context->getProcAddress(QLatin1String("glCompileShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompileShader")); | - |
1732 | if (!funcs->compileShader) { never evaluated: !funcs->compileShader | 0 |
1733 | funcs->compileShader = (type_glCompileShader) never executed (the execution status of this line is deduced): funcs->compileShader = (type_glCompileShader) | - |
1734 | context->getProcAddress(QLatin1String("glCompileShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompileShader")); | - |
1735 | } | 0 |
1736 | | - |
1737 | if (funcs->compileShader) never evaluated: funcs->compileShader | 0 |
1738 | funcs->compileShader(shader); never executed: funcs->compileShader(shader); | 0 |
1739 | else | - |
1740 | funcs->compileShader = qglfResolveCompileShader; never executed: funcs->compileShader = qglfResolveCompileShader; | 0 |
1741 | } | - |
1742 | | - |
1743 | static void QGLF_APIENTRY qglfResolveCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) | - |
1744 | { | - |
1745 | typedef void (QGLF_APIENTRYP type_glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); never executed (the execution status of this line is deduced): typedef void ( * type_glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); | - |
1746 | | - |
1747 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1748 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1749 | | - |
1750 | funcs->compressedTexImage2D = (type_glCompressedTexImage2D) never executed (the execution status of this line is deduced): funcs->compressedTexImage2D = (type_glCompressedTexImage2D) | - |
1751 | context->getProcAddress(QLatin1String("glCompressedTexImage2D")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompressedTexImage2D")); | - |
1752 | #ifdef QT_OPENGL_ES | - |
1753 | if (!funcs->compressedTexImage2D) { | - |
1754 | funcs->compressedTexImage2D = (type_glCompressedTexImage2D) | - |
1755 | context->getProcAddress(QLatin1String("glCompressedTexImage2DOES")); | - |
1756 | } | - |
1757 | #endif | - |
1758 | if (!funcs->compressedTexImage2D) { never evaluated: !funcs->compressedTexImage2D | 0 |
1759 | funcs->compressedTexImage2D = (type_glCompressedTexImage2D) never executed (the execution status of this line is deduced): funcs->compressedTexImage2D = (type_glCompressedTexImage2D) | - |
1760 | context->getProcAddress(QLatin1String("glCompressedTexImage2DEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompressedTexImage2DEXT")); | - |
1761 | } | 0 |
1762 | if (!funcs->compressedTexImage2D) { never evaluated: !funcs->compressedTexImage2D | 0 |
1763 | funcs->compressedTexImage2D = (type_glCompressedTexImage2D) never executed (the execution status of this line is deduced): funcs->compressedTexImage2D = (type_glCompressedTexImage2D) | - |
1764 | context->getProcAddress(QLatin1String("glCompressedTexImage2DARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompressedTexImage2DARB")); | - |
1765 | } | 0 |
1766 | | - |
1767 | if (funcs->compressedTexImage2D) never evaluated: funcs->compressedTexImage2D | 0 |
1768 | funcs->compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); never executed: funcs->compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); | 0 |
1769 | else | - |
1770 | funcs->compressedTexImage2D = qglfResolveCompressedTexImage2D; never executed: funcs->compressedTexImage2D = qglfResolveCompressedTexImage2D; | 0 |
1771 | } | - |
1772 | | - |
1773 | static void QGLF_APIENTRY qglfResolveCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) | - |
1774 | { | - |
1775 | typedef void (QGLF_APIENTRYP type_glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); never executed (the execution status of this line is deduced): typedef void ( * type_glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); | - |
1776 | | - |
1777 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1778 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1779 | | - |
1780 | funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) never executed (the execution status of this line is deduced): funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) | - |
1781 | context->getProcAddress(QLatin1String("glCompressedTexSubImage2D")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompressedTexSubImage2D")); | - |
1782 | #ifdef QT_OPENGL_ES | - |
1783 | if (!funcs->compressedTexSubImage2D) { | - |
1784 | funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) | - |
1785 | context->getProcAddress(QLatin1String("glCompressedTexSubImage2DOES")); | - |
1786 | } | - |
1787 | #endif | - |
1788 | if (!funcs->compressedTexSubImage2D) { never evaluated: !funcs->compressedTexSubImage2D | 0 |
1789 | funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) never executed (the execution status of this line is deduced): funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) | - |
1790 | context->getProcAddress(QLatin1String("glCompressedTexSubImage2DEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompressedTexSubImage2DEXT")); | - |
1791 | } | 0 |
1792 | if (!funcs->compressedTexSubImage2D) { never evaluated: !funcs->compressedTexSubImage2D | 0 |
1793 | funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) never executed (the execution status of this line is deduced): funcs->compressedTexSubImage2D = (type_glCompressedTexSubImage2D) | - |
1794 | context->getProcAddress(QLatin1String("glCompressedTexSubImage2DARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCompressedTexSubImage2DARB")); | - |
1795 | } | 0 |
1796 | | - |
1797 | if (funcs->compressedTexSubImage2D) never evaluated: funcs->compressedTexSubImage2D | 0 |
1798 | funcs->compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); never executed: funcs->compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); | 0 |
1799 | else | - |
1800 | funcs->compressedTexSubImage2D = qglfResolveCompressedTexSubImage2D; never executed: funcs->compressedTexSubImage2D = qglfResolveCompressedTexSubImage2D; | 0 |
1801 | } | - |
1802 | | - |
1803 | static GLuint QGLF_APIENTRY qglfResolveCreateProgram() | - |
1804 | { | - |
1805 | typedef GLuint (QGLF_APIENTRYP type_glCreateProgram)(); never executed (the execution status of this line is deduced): typedef GLuint ( * type_glCreateProgram)(); | - |
1806 | | - |
1807 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1808 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1809 | | - |
1810 | funcs->createProgram = (type_glCreateProgram) never executed (the execution status of this line is deduced): funcs->createProgram = (type_glCreateProgram) | - |
1811 | context->getProcAddress(QLatin1String("glCreateProgram")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCreateProgram")); | - |
1812 | if (!funcs->createProgram) { never evaluated: !funcs->createProgram | 0 |
1813 | funcs->createProgram = (type_glCreateProgram) never executed (the execution status of this line is deduced): funcs->createProgram = (type_glCreateProgram) | - |
1814 | context->getProcAddress(QLatin1String("glCreateProgramObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCreateProgramObjectARB")); | - |
1815 | } | 0 |
1816 | | - |
1817 | if (funcs->createProgram) never evaluated: funcs->createProgram | 0 |
1818 | return funcs->createProgram(); never executed: return funcs->createProgram(); | 0 |
1819 | funcs->createProgram = qglfResolveCreateProgram; never executed (the execution status of this line is deduced): funcs->createProgram = qglfResolveCreateProgram; | - |
1820 | return GLuint(0); never executed: return GLuint(0); | 0 |
1821 | } | - |
1822 | | - |
1823 | static GLuint QGLF_APIENTRY qglfResolveCreateShader(GLenum type) | - |
1824 | { | - |
1825 | typedef GLuint (QGLF_APIENTRYP type_glCreateShader)(GLenum type); never executed (the execution status of this line is deduced): typedef GLuint ( * type_glCreateShader)(GLenum type); | - |
1826 | | - |
1827 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1828 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1829 | | - |
1830 | funcs->createShader = (type_glCreateShader) never executed (the execution status of this line is deduced): funcs->createShader = (type_glCreateShader) | - |
1831 | context->getProcAddress(QLatin1String("glCreateShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCreateShader")); | - |
1832 | if (!funcs->createShader) { never evaluated: !funcs->createShader | 0 |
1833 | funcs->createShader = (type_glCreateShader) never executed (the execution status of this line is deduced): funcs->createShader = (type_glCreateShader) | - |
1834 | context->getProcAddress(QLatin1String("glCreateShaderObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glCreateShaderObjectARB")); | - |
1835 | } | 0 |
1836 | | - |
1837 | if (funcs->createShader) never evaluated: funcs->createShader | 0 |
1838 | return funcs->createShader(type); never executed: return funcs->createShader(type); | 0 |
1839 | funcs->createShader = qglfResolveCreateShader; never executed (the execution status of this line is deduced): funcs->createShader = qglfResolveCreateShader; | - |
1840 | return GLuint(0); never executed: return GLuint(0); | 0 |
1841 | } | - |
1842 | | - |
1843 | static void QGLF_APIENTRY qglfResolveDeleteBuffers(GLsizei n, const GLuint* buffers) | - |
1844 | { | - |
1845 | typedef void (QGLF_APIENTRYP type_glDeleteBuffers)(GLsizei n, const GLuint* buffers); never executed (the execution status of this line is deduced): typedef void ( * type_glDeleteBuffers)(GLsizei n, const GLuint* buffers); | - |
1846 | | - |
1847 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1848 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1849 | | - |
1850 | funcs->deleteBuffers = (type_glDeleteBuffers) never executed (the execution status of this line is deduced): funcs->deleteBuffers = (type_glDeleteBuffers) | - |
1851 | context->getProcAddress(QLatin1String("glDeleteBuffers")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteBuffers")); | - |
1852 | #ifdef QT_OPENGL_ES | - |
1853 | if (!funcs->deleteBuffers) { | - |
1854 | funcs->deleteBuffers = (type_glDeleteBuffers) | - |
1855 | context->getProcAddress(QLatin1String("glDeleteBuffersOES")); | - |
1856 | } | - |
1857 | #endif | - |
1858 | if (!funcs->deleteBuffers) { never evaluated: !funcs->deleteBuffers | 0 |
1859 | funcs->deleteBuffers = (type_glDeleteBuffers) never executed (the execution status of this line is deduced): funcs->deleteBuffers = (type_glDeleteBuffers) | - |
1860 | context->getProcAddress(QLatin1String("glDeleteBuffersEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteBuffersEXT")); | - |
1861 | } | 0 |
1862 | if (!funcs->deleteBuffers) { never evaluated: !funcs->deleteBuffers | 0 |
1863 | funcs->deleteBuffers = (type_glDeleteBuffers) never executed (the execution status of this line is deduced): funcs->deleteBuffers = (type_glDeleteBuffers) | - |
1864 | context->getProcAddress(QLatin1String("glDeleteBuffersARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteBuffersARB")); | - |
1865 | } | 0 |
1866 | | - |
1867 | if (funcs->deleteBuffers) never evaluated: funcs->deleteBuffers | 0 |
1868 | funcs->deleteBuffers(n, buffers); never executed: funcs->deleteBuffers(n, buffers); | 0 |
1869 | else | - |
1870 | funcs->deleteBuffers = qglfResolveDeleteBuffers; never executed: funcs->deleteBuffers = qglfResolveDeleteBuffers; | 0 |
1871 | } | - |
1872 | | - |
1873 | static void QGLF_APIENTRY qglfResolveDeleteFramebuffers(GLsizei n, const GLuint* framebuffers) | - |
1874 | { | - |
1875 | typedef void (QGLF_APIENTRYP type_glDeleteFramebuffers)(GLsizei n, const GLuint* framebuffers); never executed (the execution status of this line is deduced): typedef void ( * type_glDeleteFramebuffers)(GLsizei n, const GLuint* framebuffers); | - |
1876 | | - |
1877 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1878 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1879 | | - |
1880 | funcs->deleteFramebuffers = (type_glDeleteFramebuffers) never executed (the execution status of this line is deduced): funcs->deleteFramebuffers = (type_glDeleteFramebuffers) | - |
1881 | context->getProcAddress(QLatin1String("glDeleteFramebuffers")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteFramebuffers")); | - |
1882 | #ifdef QT_OPENGL_ES | - |
1883 | if (!funcs->deleteFramebuffers) { | - |
1884 | funcs->deleteFramebuffers = (type_glDeleteFramebuffers) | - |
1885 | context->getProcAddress(QLatin1String("glDeleteFramebuffersOES")); | - |
1886 | } | - |
1887 | #endif | - |
1888 | if (!funcs->deleteFramebuffers) { never evaluated: !funcs->deleteFramebuffers | 0 |
1889 | funcs->deleteFramebuffers = (type_glDeleteFramebuffers) never executed (the execution status of this line is deduced): funcs->deleteFramebuffers = (type_glDeleteFramebuffers) | - |
1890 | context->getProcAddress(QLatin1String("glDeleteFramebuffersEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteFramebuffersEXT")); | - |
1891 | } | 0 |
1892 | if (!funcs->deleteFramebuffers) { never evaluated: !funcs->deleteFramebuffers | 0 |
1893 | funcs->deleteFramebuffers = (type_glDeleteFramebuffers) never executed (the execution status of this line is deduced): funcs->deleteFramebuffers = (type_glDeleteFramebuffers) | - |
1894 | context->getProcAddress(QLatin1String("glDeleteFramebuffersARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteFramebuffersARB")); | - |
1895 | } | 0 |
1896 | | - |
1897 | if (funcs->deleteFramebuffers) never evaluated: funcs->deleteFramebuffers | 0 |
1898 | funcs->deleteFramebuffers(n, framebuffers); never executed: funcs->deleteFramebuffers(n, framebuffers); | 0 |
1899 | else | - |
1900 | funcs->deleteFramebuffers = qglfResolveDeleteFramebuffers; never executed: funcs->deleteFramebuffers = qglfResolveDeleteFramebuffers; | 0 |
1901 | } | - |
1902 | | - |
1903 | static void QGLF_APIENTRY qglfResolveDeleteProgram(GLuint program) | - |
1904 | { | - |
1905 | typedef void (QGLF_APIENTRYP type_glDeleteProgram)(GLuint program); never executed (the execution status of this line is deduced): typedef void ( * type_glDeleteProgram)(GLuint program); | - |
1906 | | - |
1907 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1908 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1909 | | - |
1910 | funcs->deleteProgram = (type_glDeleteProgram) never executed (the execution status of this line is deduced): funcs->deleteProgram = (type_glDeleteProgram) | - |
1911 | context->getProcAddress(QLatin1String("glDeleteProgram")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteProgram")); | - |
1912 | if (!funcs->deleteProgram) { never evaluated: !funcs->deleteProgram | 0 |
1913 | funcs->deleteProgram = (type_glDeleteProgram) never executed (the execution status of this line is deduced): funcs->deleteProgram = (type_glDeleteProgram) | - |
1914 | context->getProcAddress(QLatin1String("glDeleteObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteObjectARB")); | - |
1915 | } | 0 |
1916 | | - |
1917 | if (funcs->deleteProgram) never evaluated: funcs->deleteProgram | 0 |
1918 | funcs->deleteProgram(program); never executed: funcs->deleteProgram(program); | 0 |
1919 | else | - |
1920 | funcs->deleteProgram = qglfResolveDeleteProgram; never executed: funcs->deleteProgram = qglfResolveDeleteProgram; | 0 |
1921 | } | - |
1922 | | - |
1923 | static void QGLF_APIENTRY qglfResolveDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) | - |
1924 | { | - |
1925 | typedef void (QGLF_APIENTRYP type_glDeleteRenderbuffers)(GLsizei n, const GLuint* renderbuffers); never executed (the execution status of this line is deduced): typedef void ( * type_glDeleteRenderbuffers)(GLsizei n, const GLuint* renderbuffers); | - |
1926 | | - |
1927 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1928 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1929 | | - |
1930 | funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) never executed (the execution status of this line is deduced): funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) | - |
1931 | context->getProcAddress(QLatin1String("glDeleteRenderbuffers")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteRenderbuffers")); | - |
1932 | #ifdef QT_OPENGL_ES | - |
1933 | if (!funcs->deleteRenderbuffers) { | - |
1934 | funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) | - |
1935 | context->getProcAddress(QLatin1String("glDeleteRenderbuffersOES")); | - |
1936 | } | - |
1937 | #endif | - |
1938 | if (!funcs->deleteRenderbuffers) { never evaluated: !funcs->deleteRenderbuffers | 0 |
1939 | funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) never executed (the execution status of this line is deduced): funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) | - |
1940 | context->getProcAddress(QLatin1String("glDeleteRenderbuffersEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteRenderbuffersEXT")); | - |
1941 | } | 0 |
1942 | if (!funcs->deleteRenderbuffers) { never evaluated: !funcs->deleteRenderbuffers | 0 |
1943 | funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) never executed (the execution status of this line is deduced): funcs->deleteRenderbuffers = (type_glDeleteRenderbuffers) | - |
1944 | context->getProcAddress(QLatin1String("glDeleteRenderbuffersARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteRenderbuffersARB")); | - |
1945 | } | 0 |
1946 | | - |
1947 | if (funcs->deleteRenderbuffers) never evaluated: funcs->deleteRenderbuffers | 0 |
1948 | funcs->deleteRenderbuffers(n, renderbuffers); never executed: funcs->deleteRenderbuffers(n, renderbuffers); | 0 |
1949 | else | - |
1950 | funcs->deleteRenderbuffers = qglfResolveDeleteRenderbuffers; never executed: funcs->deleteRenderbuffers = qglfResolveDeleteRenderbuffers; | 0 |
1951 | } | - |
1952 | | - |
1953 | static void QGLF_APIENTRY qglfResolveDeleteShader(GLuint shader) | - |
1954 | { | - |
1955 | typedef void (QGLF_APIENTRYP type_glDeleteShader)(GLuint shader); never executed (the execution status of this line is deduced): typedef void ( * type_glDeleteShader)(GLuint shader); | - |
1956 | | - |
1957 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1958 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1959 | | - |
1960 | funcs->deleteShader = (type_glDeleteShader) never executed (the execution status of this line is deduced): funcs->deleteShader = (type_glDeleteShader) | - |
1961 | context->getProcAddress(QLatin1String("glDeleteShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteShader")); | - |
1962 | if (!funcs->deleteShader) { never evaluated: !funcs->deleteShader | 0 |
1963 | funcs->deleteShader = (type_glDeleteShader) never executed (the execution status of this line is deduced): funcs->deleteShader = (type_glDeleteShader) | - |
1964 | context->getProcAddress(QLatin1String("glDeleteObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDeleteObjectARB")); | - |
1965 | } | 0 |
1966 | | - |
1967 | if (funcs->deleteShader) never evaluated: funcs->deleteShader | 0 |
1968 | funcs->deleteShader(shader); never executed: funcs->deleteShader(shader); | 0 |
1969 | else | - |
1970 | funcs->deleteShader = qglfResolveDeleteShader; never executed: funcs->deleteShader = qglfResolveDeleteShader; | 0 |
1971 | } | - |
1972 | | - |
1973 | static void QGLF_APIENTRY qglfResolveDetachShader(GLuint program, GLuint shader) | - |
1974 | { | - |
1975 | typedef void (QGLF_APIENTRYP type_glDetachShader)(GLuint program, GLuint shader); never executed (the execution status of this line is deduced): typedef void ( * type_glDetachShader)(GLuint program, GLuint shader); | - |
1976 | | - |
1977 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1978 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1979 | | - |
1980 | funcs->detachShader = (type_glDetachShader) never executed (the execution status of this line is deduced): funcs->detachShader = (type_glDetachShader) | - |
1981 | context->getProcAddress(QLatin1String("glDetachShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDetachShader")); | - |
1982 | if (!funcs->detachShader) { never evaluated: !funcs->detachShader | 0 |
1983 | funcs->detachShader = (type_glDetachShader) never executed (the execution status of this line is deduced): funcs->detachShader = (type_glDetachShader) | - |
1984 | context->getProcAddress(QLatin1String("glDetachObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDetachObjectARB")); | - |
1985 | } | 0 |
1986 | | - |
1987 | if (funcs->detachShader) never evaluated: funcs->detachShader | 0 |
1988 | funcs->detachShader(program, shader); never executed: funcs->detachShader(program, shader); | 0 |
1989 | else | - |
1990 | funcs->detachShader = qglfResolveDetachShader; never executed: funcs->detachShader = qglfResolveDetachShader; | 0 |
1991 | } | - |
1992 | | - |
1993 | static void QGLF_APIENTRY qglfResolveDisableVertexAttribArray(GLuint index) | - |
1994 | { | - |
1995 | typedef void (QGLF_APIENTRYP type_glDisableVertexAttribArray)(GLuint index); never executed (the execution status of this line is deduced): typedef void ( * type_glDisableVertexAttribArray)(GLuint index); | - |
1996 | | - |
1997 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
1998 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
1999 | | - |
2000 | funcs->disableVertexAttribArray = (type_glDisableVertexAttribArray) never executed (the execution status of this line is deduced): funcs->disableVertexAttribArray = (type_glDisableVertexAttribArray) | - |
2001 | context->getProcAddress(QLatin1String("glDisableVertexAttribArray")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDisableVertexAttribArray")); | - |
2002 | if (!funcs->disableVertexAttribArray) { never evaluated: !funcs->disableVertexAttribArray | 0 |
2003 | funcs->disableVertexAttribArray = (type_glDisableVertexAttribArray) never executed (the execution status of this line is deduced): funcs->disableVertexAttribArray = (type_glDisableVertexAttribArray) | - |
2004 | context->getProcAddress(QLatin1String("glDisableVertexAttribArrayARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glDisableVertexAttribArrayARB")); | - |
2005 | } | 0 |
2006 | | - |
2007 | if (funcs->disableVertexAttribArray) never evaluated: funcs->disableVertexAttribArray | 0 |
2008 | funcs->disableVertexAttribArray(index); never executed: funcs->disableVertexAttribArray(index); | 0 |
2009 | else | - |
2010 | funcs->disableVertexAttribArray = qglfResolveDisableVertexAttribArray; never executed: funcs->disableVertexAttribArray = qglfResolveDisableVertexAttribArray; | 0 |
2011 | } | - |
2012 | | - |
2013 | static void QGLF_APIENTRY qglfResolveEnableVertexAttribArray(GLuint index) | - |
2014 | { | - |
2015 | typedef void (QGLF_APIENTRYP type_glEnableVertexAttribArray)(GLuint index); never executed (the execution status of this line is deduced): typedef void ( * type_glEnableVertexAttribArray)(GLuint index); | - |
2016 | | - |
2017 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2018 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2019 | | - |
2020 | funcs->enableVertexAttribArray = (type_glEnableVertexAttribArray) never executed (the execution status of this line is deduced): funcs->enableVertexAttribArray = (type_glEnableVertexAttribArray) | - |
2021 | context->getProcAddress(QLatin1String("glEnableVertexAttribArray")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glEnableVertexAttribArray")); | - |
2022 | if (!funcs->enableVertexAttribArray) { never evaluated: !funcs->enableVertexAttribArray | 0 |
2023 | funcs->enableVertexAttribArray = (type_glEnableVertexAttribArray) never executed (the execution status of this line is deduced): funcs->enableVertexAttribArray = (type_glEnableVertexAttribArray) | - |
2024 | context->getProcAddress(QLatin1String("glEnableVertexAttribArrayARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glEnableVertexAttribArrayARB")); | - |
2025 | } | 0 |
2026 | | - |
2027 | if (funcs->enableVertexAttribArray) never evaluated: funcs->enableVertexAttribArray | 0 |
2028 | funcs->enableVertexAttribArray(index); never executed: funcs->enableVertexAttribArray(index); | 0 |
2029 | else | - |
2030 | funcs->enableVertexAttribArray = qglfResolveEnableVertexAttribArray; never executed: funcs->enableVertexAttribArray = qglfResolveEnableVertexAttribArray; | 0 |
2031 | } | - |
2032 | | - |
2033 | static void QGLF_APIENTRY qglfResolveFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) | - |
2034 | { | - |
2035 | typedef void (QGLF_APIENTRYP type_glFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); never executed (the execution status of this line is deduced): typedef void ( * type_glFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | - |
2036 | | - |
2037 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2038 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2039 | | - |
2040 | funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) never executed (the execution status of this line is deduced): funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) | - |
2041 | context->getProcAddress(QLatin1String("glFramebufferRenderbuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glFramebufferRenderbuffer")); | - |
2042 | #ifdef QT_OPENGL_ES | - |
2043 | if (!funcs->framebufferRenderbuffer) { | - |
2044 | funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) | - |
2045 | context->getProcAddress(QLatin1String("glFramebufferRenderbufferOES")); | - |
2046 | } | - |
2047 | #endif | - |
2048 | if (!funcs->framebufferRenderbuffer) { never evaluated: !funcs->framebufferRenderbuffer | 0 |
2049 | funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) never executed (the execution status of this line is deduced): funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) | - |
2050 | context->getProcAddress(QLatin1String("glFramebufferRenderbufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glFramebufferRenderbufferEXT")); | - |
2051 | } | 0 |
2052 | if (!funcs->framebufferRenderbuffer) { never evaluated: !funcs->framebufferRenderbuffer | 0 |
2053 | funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) never executed (the execution status of this line is deduced): funcs->framebufferRenderbuffer = (type_glFramebufferRenderbuffer) | - |
2054 | context->getProcAddress(QLatin1String("glFramebufferRenderbufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glFramebufferRenderbufferARB")); | - |
2055 | } | 0 |
2056 | | - |
2057 | if (funcs->framebufferRenderbuffer) never evaluated: funcs->framebufferRenderbuffer | 0 |
2058 | funcs->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); never executed: funcs->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); | 0 |
2059 | else | - |
2060 | funcs->framebufferRenderbuffer = qglfResolveFramebufferRenderbuffer; never executed: funcs->framebufferRenderbuffer = qglfResolveFramebufferRenderbuffer; | 0 |
2061 | } | - |
2062 | | - |
2063 | static void QGLF_APIENTRY qglfResolveFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | - |
2064 | { | - |
2065 | typedef void (QGLF_APIENTRYP type_glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); never executed (the execution status of this line is deduced): typedef void ( * type_glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | - |
2066 | | - |
2067 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2068 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2069 | | - |
2070 | funcs->framebufferTexture2D = (type_glFramebufferTexture2D) never executed (the execution status of this line is deduced): funcs->framebufferTexture2D = (type_glFramebufferTexture2D) | - |
2071 | context->getProcAddress(QLatin1String("glFramebufferTexture2D")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glFramebufferTexture2D")); | - |
2072 | #ifdef QT_OPENGL_ES | - |
2073 | if (!funcs->framebufferTexture2D) { | - |
2074 | funcs->framebufferTexture2D = (type_glFramebufferTexture2D) | - |
2075 | context->getProcAddress(QLatin1String("glFramebufferTexture2DOES")); | - |
2076 | } | - |
2077 | #endif | - |
2078 | if (!funcs->framebufferTexture2D) { never evaluated: !funcs->framebufferTexture2D | 0 |
2079 | funcs->framebufferTexture2D = (type_glFramebufferTexture2D) never executed (the execution status of this line is deduced): funcs->framebufferTexture2D = (type_glFramebufferTexture2D) | - |
2080 | context->getProcAddress(QLatin1String("glFramebufferTexture2DEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glFramebufferTexture2DEXT")); | - |
2081 | } | 0 |
2082 | if (!funcs->framebufferTexture2D) { never evaluated: !funcs->framebufferTexture2D | 0 |
2083 | funcs->framebufferTexture2D = (type_glFramebufferTexture2D) never executed (the execution status of this line is deduced): funcs->framebufferTexture2D = (type_glFramebufferTexture2D) | - |
2084 | context->getProcAddress(QLatin1String("glFramebufferTexture2DARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glFramebufferTexture2DARB")); | - |
2085 | } | 0 |
2086 | | - |
2087 | if (funcs->framebufferTexture2D) never evaluated: funcs->framebufferTexture2D | 0 |
2088 | funcs->framebufferTexture2D(target, attachment, textarget, texture, level); never executed: funcs->framebufferTexture2D(target, attachment, textarget, texture, level); | 0 |
2089 | else | - |
2090 | funcs->framebufferTexture2D = qglfResolveFramebufferTexture2D; never executed: funcs->framebufferTexture2D = qglfResolveFramebufferTexture2D; | 0 |
2091 | } | - |
2092 | | - |
2093 | static void QGLF_APIENTRY qglfResolveGenBuffers(GLsizei n, GLuint* buffers) | - |
2094 | { | - |
2095 | typedef void (QGLF_APIENTRYP type_glGenBuffers)(GLsizei n, GLuint* buffers); never executed (the execution status of this line is deduced): typedef void ( * type_glGenBuffers)(GLsizei n, GLuint* buffers); | - |
2096 | | - |
2097 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2098 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2099 | | - |
2100 | funcs->genBuffers = (type_glGenBuffers) never executed (the execution status of this line is deduced): funcs->genBuffers = (type_glGenBuffers) | - |
2101 | context->getProcAddress(QLatin1String("glGenBuffers")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenBuffers")); | - |
2102 | #ifdef QT_OPENGL_ES | - |
2103 | if (!funcs->genBuffers) { | - |
2104 | funcs->genBuffers = (type_glGenBuffers) | - |
2105 | context->getProcAddress(QLatin1String("glGenBuffersOES")); | - |
2106 | } | - |
2107 | #endif | - |
2108 | if (!funcs->genBuffers) { never evaluated: !funcs->genBuffers | 0 |
2109 | funcs->genBuffers = (type_glGenBuffers) never executed (the execution status of this line is deduced): funcs->genBuffers = (type_glGenBuffers) | - |
2110 | context->getProcAddress(QLatin1String("glGenBuffersEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenBuffersEXT")); | - |
2111 | } | 0 |
2112 | if (!funcs->genBuffers) { never evaluated: !funcs->genBuffers | 0 |
2113 | funcs->genBuffers = (type_glGenBuffers) never executed (the execution status of this line is deduced): funcs->genBuffers = (type_glGenBuffers) | - |
2114 | context->getProcAddress(QLatin1String("glGenBuffersARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenBuffersARB")); | - |
2115 | } | 0 |
2116 | | - |
2117 | if (funcs->genBuffers) never evaluated: funcs->genBuffers | 0 |
2118 | funcs->genBuffers(n, buffers); never executed: funcs->genBuffers(n, buffers); | 0 |
2119 | else | - |
2120 | funcs->genBuffers = qglfResolveGenBuffers; never executed: funcs->genBuffers = qglfResolveGenBuffers; | 0 |
2121 | } | - |
2122 | | - |
2123 | static void QGLF_APIENTRY qglfResolveGenerateMipmap(GLenum target) | - |
2124 | { | - |
2125 | typedef void (QGLF_APIENTRYP type_glGenerateMipmap)(GLenum target); never executed (the execution status of this line is deduced): typedef void ( * type_glGenerateMipmap)(GLenum target); | - |
2126 | | - |
2127 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2128 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2129 | | - |
2130 | funcs->generateMipmap = (type_glGenerateMipmap) never executed (the execution status of this line is deduced): funcs->generateMipmap = (type_glGenerateMipmap) | - |
2131 | context->getProcAddress(QLatin1String("glGenerateMipmap")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenerateMipmap")); | - |
2132 | #ifdef QT_OPENGL_ES | - |
2133 | if (!funcs->generateMipmap) { | - |
2134 | funcs->generateMipmap = (type_glGenerateMipmap) | - |
2135 | context->getProcAddress(QLatin1String("glGenerateMipmapOES")); | - |
2136 | } | - |
2137 | #endif | - |
2138 | if (!funcs->generateMipmap) { never evaluated: !funcs->generateMipmap | 0 |
2139 | funcs->generateMipmap = (type_glGenerateMipmap) never executed (the execution status of this line is deduced): funcs->generateMipmap = (type_glGenerateMipmap) | - |
2140 | context->getProcAddress(QLatin1String("glGenerateMipmapEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenerateMipmapEXT")); | - |
2141 | } | 0 |
2142 | if (!funcs->generateMipmap) { never evaluated: !funcs->generateMipmap | 0 |
2143 | funcs->generateMipmap = (type_glGenerateMipmap) never executed (the execution status of this line is deduced): funcs->generateMipmap = (type_glGenerateMipmap) | - |
2144 | context->getProcAddress(QLatin1String("glGenerateMipmapARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenerateMipmapARB")); | - |
2145 | } | 0 |
2146 | | - |
2147 | if (funcs->generateMipmap) never evaluated: funcs->generateMipmap | 0 |
2148 | funcs->generateMipmap(target); never executed: funcs->generateMipmap(target); | 0 |
2149 | else | - |
2150 | funcs->generateMipmap = qglfResolveGenerateMipmap; never executed: funcs->generateMipmap = qglfResolveGenerateMipmap; | 0 |
2151 | } | - |
2152 | | - |
2153 | static void QGLF_APIENTRY qglfResolveGenFramebuffers(GLsizei n, GLuint* framebuffers) | - |
2154 | { | - |
2155 | typedef void (QGLF_APIENTRYP type_glGenFramebuffers)(GLsizei n, GLuint* framebuffers); never executed (the execution status of this line is deduced): typedef void ( * type_glGenFramebuffers)(GLsizei n, GLuint* framebuffers); | - |
2156 | | - |
2157 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2158 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2159 | | - |
2160 | funcs->genFramebuffers = (type_glGenFramebuffers) never executed (the execution status of this line is deduced): funcs->genFramebuffers = (type_glGenFramebuffers) | - |
2161 | context->getProcAddress(QLatin1String("glGenFramebuffers")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenFramebuffers")); | - |
2162 | #ifdef QT_OPENGL_ES | - |
2163 | if (!funcs->genFramebuffers) { | - |
2164 | funcs->genFramebuffers = (type_glGenFramebuffers) | - |
2165 | context->getProcAddress(QLatin1String("glGenFramebuffersOES")); | - |
2166 | } | - |
2167 | #endif | - |
2168 | if (!funcs->genFramebuffers) { never evaluated: !funcs->genFramebuffers | 0 |
2169 | funcs->genFramebuffers = (type_glGenFramebuffers) never executed (the execution status of this line is deduced): funcs->genFramebuffers = (type_glGenFramebuffers) | - |
2170 | context->getProcAddress(QLatin1String("glGenFramebuffersEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenFramebuffersEXT")); | - |
2171 | } | 0 |
2172 | if (!funcs->genFramebuffers) { never evaluated: !funcs->genFramebuffers | 0 |
2173 | funcs->genFramebuffers = (type_glGenFramebuffers) never executed (the execution status of this line is deduced): funcs->genFramebuffers = (type_glGenFramebuffers) | - |
2174 | context->getProcAddress(QLatin1String("glGenFramebuffersARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenFramebuffersARB")); | - |
2175 | } | 0 |
2176 | | - |
2177 | if (funcs->genFramebuffers) never evaluated: funcs->genFramebuffers | 0 |
2178 | funcs->genFramebuffers(n, framebuffers); never executed: funcs->genFramebuffers(n, framebuffers); | 0 |
2179 | else | - |
2180 | funcs->genFramebuffers = qglfResolveGenFramebuffers; never executed: funcs->genFramebuffers = qglfResolveGenFramebuffers; | 0 |
2181 | } | - |
2182 | | - |
2183 | static void QGLF_APIENTRY qglfResolveGenRenderbuffers(GLsizei n, GLuint* renderbuffers) | - |
2184 | { | - |
2185 | typedef void (QGLF_APIENTRYP type_glGenRenderbuffers)(GLsizei n, GLuint* renderbuffers); never executed (the execution status of this line is deduced): typedef void ( * type_glGenRenderbuffers)(GLsizei n, GLuint* renderbuffers); | - |
2186 | | - |
2187 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2188 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2189 | | - |
2190 | funcs->genRenderbuffers = (type_glGenRenderbuffers) never executed (the execution status of this line is deduced): funcs->genRenderbuffers = (type_glGenRenderbuffers) | - |
2191 | context->getProcAddress(QLatin1String("glGenRenderbuffers")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenRenderbuffers")); | - |
2192 | #ifdef QT_OPENGL_ES | - |
2193 | if (!funcs->genRenderbuffers) { | - |
2194 | funcs->genRenderbuffers = (type_glGenRenderbuffers) | - |
2195 | context->getProcAddress(QLatin1String("glGenRenderbuffersOES")); | - |
2196 | } | - |
2197 | #endif | - |
2198 | if (!funcs->genRenderbuffers) { never evaluated: !funcs->genRenderbuffers | 0 |
2199 | funcs->genRenderbuffers = (type_glGenRenderbuffers) never executed (the execution status of this line is deduced): funcs->genRenderbuffers = (type_glGenRenderbuffers) | - |
2200 | context->getProcAddress(QLatin1String("glGenRenderbuffersEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenRenderbuffersEXT")); | - |
2201 | } | 0 |
2202 | if (!funcs->genRenderbuffers) { never evaluated: !funcs->genRenderbuffers | 0 |
2203 | funcs->genRenderbuffers = (type_glGenRenderbuffers) never executed (the execution status of this line is deduced): funcs->genRenderbuffers = (type_glGenRenderbuffers) | - |
2204 | context->getProcAddress(QLatin1String("glGenRenderbuffersARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGenRenderbuffersARB")); | - |
2205 | } | 0 |
2206 | | - |
2207 | if (funcs->genRenderbuffers) never evaluated: funcs->genRenderbuffers | 0 |
2208 | funcs->genRenderbuffers(n, renderbuffers); never executed: funcs->genRenderbuffers(n, renderbuffers); | 0 |
2209 | else | - |
2210 | funcs->genRenderbuffers = qglfResolveGenRenderbuffers; never executed: funcs->genRenderbuffers = qglfResolveGenRenderbuffers; | 0 |
2211 | } | - |
2212 | | - |
2213 | static void QGLF_APIENTRY qglfResolveGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) | - |
2214 | { | - |
2215 | typedef void (QGLF_APIENTRYP type_glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); never executed (the execution status of this line is deduced): typedef void ( * type_glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); | - |
2216 | | - |
2217 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2218 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2219 | | - |
2220 | funcs->getActiveAttrib = (type_glGetActiveAttrib) never executed (the execution status of this line is deduced): funcs->getActiveAttrib = (type_glGetActiveAttrib) | - |
2221 | context->getProcAddress(QLatin1String("glGetActiveAttrib")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetActiveAttrib")); | - |
2222 | if (!funcs->getActiveAttrib) { never evaluated: !funcs->getActiveAttrib | 0 |
2223 | funcs->getActiveAttrib = (type_glGetActiveAttrib) never executed (the execution status of this line is deduced): funcs->getActiveAttrib = (type_glGetActiveAttrib) | - |
2224 | context->getProcAddress(QLatin1String("glGetActiveAttribARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetActiveAttribARB")); | - |
2225 | } | 0 |
2226 | | - |
2227 | if (funcs->getActiveAttrib) never evaluated: funcs->getActiveAttrib | 0 |
2228 | funcs->getActiveAttrib(program, index, bufsize, length, size, type, name); never executed: funcs->getActiveAttrib(program, index, bufsize, length, size, type, name); | 0 |
2229 | else | - |
2230 | funcs->getActiveAttrib = qglfResolveGetActiveAttrib; never executed: funcs->getActiveAttrib = qglfResolveGetActiveAttrib; | 0 |
2231 | } | - |
2232 | | - |
2233 | static void QGLF_APIENTRY qglfResolveGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) | - |
2234 | { | - |
2235 | typedef void (QGLF_APIENTRYP type_glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); never executed (the execution status of this line is deduced): typedef void ( * type_glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); | - |
2236 | | - |
2237 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2238 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2239 | | - |
2240 | funcs->getActiveUniform = (type_glGetActiveUniform) never executed (the execution status of this line is deduced): funcs->getActiveUniform = (type_glGetActiveUniform) | - |
2241 | context->getProcAddress(QLatin1String("glGetActiveUniform")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetActiveUniform")); | - |
2242 | if (!funcs->getActiveUniform) { never evaluated: !funcs->getActiveUniform | 0 |
2243 | funcs->getActiveUniform = (type_glGetActiveUniform) never executed (the execution status of this line is deduced): funcs->getActiveUniform = (type_glGetActiveUniform) | - |
2244 | context->getProcAddress(QLatin1String("glGetActiveUniformARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetActiveUniformARB")); | - |
2245 | } | 0 |
2246 | | - |
2247 | if (funcs->getActiveUniform) never evaluated: funcs->getActiveUniform | 0 |
2248 | funcs->getActiveUniform(program, index, bufsize, length, size, type, name); never executed: funcs->getActiveUniform(program, index, bufsize, length, size, type, name); | 0 |
2249 | else | - |
2250 | funcs->getActiveUniform = qglfResolveGetActiveUniform; never executed: funcs->getActiveUniform = qglfResolveGetActiveUniform; | 0 |
2251 | } | - |
2252 | | - |
2253 | static void QGLF_APIENTRY qglfResolveGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) | - |
2254 | { | - |
2255 | typedef void (QGLF_APIENTRYP type_glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); never executed (the execution status of this line is deduced): typedef void ( * type_glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); | - |
2256 | | - |
2257 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2258 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2259 | | - |
2260 | funcs->getAttachedShaders = (type_glGetAttachedShaders) never executed (the execution status of this line is deduced): funcs->getAttachedShaders = (type_glGetAttachedShaders) | - |
2261 | context->getProcAddress(QLatin1String("glGetAttachedShaders")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetAttachedShaders")); | - |
2262 | if (!funcs->getAttachedShaders) { never evaluated: !funcs->getAttachedShaders | 0 |
2263 | funcs->getAttachedShaders = (type_glGetAttachedShaders) never executed (the execution status of this line is deduced): funcs->getAttachedShaders = (type_glGetAttachedShaders) | - |
2264 | context->getProcAddress(QLatin1String("glGetAttachedObjectsARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetAttachedObjectsARB")); | - |
2265 | } | 0 |
2266 | | - |
2267 | if (funcs->getAttachedShaders) never evaluated: funcs->getAttachedShaders | 0 |
2268 | funcs->getAttachedShaders(program, maxcount, count, shaders); never executed: funcs->getAttachedShaders(program, maxcount, count, shaders); | 0 |
2269 | else | - |
2270 | funcs->getAttachedShaders = qglfResolveGetAttachedShaders; never executed: funcs->getAttachedShaders = qglfResolveGetAttachedShaders; | 0 |
2271 | } | - |
2272 | | - |
2273 | static int QGLF_APIENTRY qglfResolveGetAttribLocation(GLuint program, const char* name) | - |
2274 | { | - |
2275 | typedef int (QGLF_APIENTRYP type_glGetAttribLocation)(GLuint program, const char* name); never executed (the execution status of this line is deduced): typedef int ( * type_glGetAttribLocation)(GLuint program, const char* name); | - |
2276 | | - |
2277 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2278 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2279 | | - |
2280 | funcs->getAttribLocation = (type_glGetAttribLocation) never executed (the execution status of this line is deduced): funcs->getAttribLocation = (type_glGetAttribLocation) | - |
2281 | context->getProcAddress(QLatin1String("glGetAttribLocation")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetAttribLocation")); | - |
2282 | if (!funcs->getAttribLocation) { never evaluated: !funcs->getAttribLocation | 0 |
2283 | funcs->getAttribLocation = (type_glGetAttribLocation) never executed (the execution status of this line is deduced): funcs->getAttribLocation = (type_glGetAttribLocation) | - |
2284 | context->getProcAddress(QLatin1String("glGetAttribLocationARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetAttribLocationARB")); | - |
2285 | } | 0 |
2286 | | - |
2287 | if (funcs->getAttribLocation) never evaluated: funcs->getAttribLocation | 0 |
2288 | return funcs->getAttribLocation(program, name); never executed: return funcs->getAttribLocation(program, name); | 0 |
2289 | funcs->getAttribLocation = qglfResolveGetAttribLocation; never executed (the execution status of this line is deduced): funcs->getAttribLocation = qglfResolveGetAttribLocation; | - |
2290 | return int(0); never executed: return int(0); | 0 |
2291 | } | - |
2292 | | - |
2293 | static void QGLF_APIENTRY qglfResolveGetBufferParameteriv(GLenum target, GLenum pname, GLint* params) | - |
2294 | { | - |
2295 | typedef void (QGLF_APIENTRYP type_glGetBufferParameteriv)(GLenum target, GLenum pname, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetBufferParameteriv)(GLenum target, GLenum pname, GLint* params); | - |
2296 | | - |
2297 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2298 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2299 | | - |
2300 | funcs->getBufferParameteriv = (type_glGetBufferParameteriv) never executed (the execution status of this line is deduced): funcs->getBufferParameteriv = (type_glGetBufferParameteriv) | - |
2301 | context->getProcAddress(QLatin1String("glGetBufferParameteriv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetBufferParameteriv")); | - |
2302 | #ifdef QT_OPENGL_ES | - |
2303 | if (!funcs->getBufferParameteriv) { | - |
2304 | funcs->getBufferParameteriv = (type_glGetBufferParameteriv) | - |
2305 | context->getProcAddress(QLatin1String("glGetBufferParameterivOES")); | - |
2306 | } | - |
2307 | #endif | - |
2308 | if (!funcs->getBufferParameteriv) { never evaluated: !funcs->getBufferParameteriv | 0 |
2309 | funcs->getBufferParameteriv = (type_glGetBufferParameteriv) never executed (the execution status of this line is deduced): funcs->getBufferParameteriv = (type_glGetBufferParameteriv) | - |
2310 | context->getProcAddress(QLatin1String("glGetBufferParameterivEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetBufferParameterivEXT")); | - |
2311 | } | 0 |
2312 | if (!funcs->getBufferParameteriv) { never evaluated: !funcs->getBufferParameteriv | 0 |
2313 | funcs->getBufferParameteriv = (type_glGetBufferParameteriv) never executed (the execution status of this line is deduced): funcs->getBufferParameteriv = (type_glGetBufferParameteriv) | - |
2314 | context->getProcAddress(QLatin1String("glGetBufferParameterivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetBufferParameterivARB")); | - |
2315 | } | 0 |
2316 | | - |
2317 | if (funcs->getBufferParameteriv) never evaluated: funcs->getBufferParameteriv | 0 |
2318 | funcs->getBufferParameteriv(target, pname, params); never executed: funcs->getBufferParameteriv(target, pname, params); | 0 |
2319 | else | - |
2320 | funcs->getBufferParameteriv = qglfResolveGetBufferParameteriv; never executed: funcs->getBufferParameteriv = qglfResolveGetBufferParameteriv; | 0 |
2321 | } | - |
2322 | | - |
2323 | static void QGLF_APIENTRY qglfResolveGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params) | - |
2324 | { | - |
2325 | typedef void (QGLF_APIENTRYP type_glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint* params); | - |
2326 | | - |
2327 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2328 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2329 | | - |
2330 | funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) never executed (the execution status of this line is deduced): funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) | - |
2331 | context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameteriv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameteriv")); | - |
2332 | #ifdef QT_OPENGL_ES | - |
2333 | if (!funcs->getFramebufferAttachmentParameteriv) { | - |
2334 | funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) | - |
2335 | context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameterivOES")); | - |
2336 | } | - |
2337 | #endif | - |
2338 | if (!funcs->getFramebufferAttachmentParameteriv) { never evaluated: !funcs->getFramebufferAttachmentParameteriv | 0 |
2339 | funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) never executed (the execution status of this line is deduced): funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) | - |
2340 | context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameterivEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameterivEXT")); | - |
2341 | } | 0 |
2342 | if (!funcs->getFramebufferAttachmentParameteriv) { never evaluated: !funcs->getFramebufferAttachmentParameteriv | 0 |
2343 | funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) never executed (the execution status of this line is deduced): funcs->getFramebufferAttachmentParameteriv = (type_glGetFramebufferAttachmentParameteriv) | - |
2344 | context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameterivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameterivARB")); | - |
2345 | } | 0 |
2346 | | - |
2347 | if (funcs->getFramebufferAttachmentParameteriv) never evaluated: funcs->getFramebufferAttachmentParameteriv | 0 |
2348 | funcs->getFramebufferAttachmentParameteriv(target, attachment, pname, params); never executed: funcs->getFramebufferAttachmentParameteriv(target, attachment, pname, params); | 0 |
2349 | else | - |
2350 | funcs->getFramebufferAttachmentParameteriv = qglfResolveGetFramebufferAttachmentParameteriv; never executed: funcs->getFramebufferAttachmentParameteriv = qglfResolveGetFramebufferAttachmentParameteriv; | 0 |
2351 | } | - |
2352 | | - |
2353 | static void QGLF_APIENTRY qglfResolveGetProgramiv(GLuint program, GLenum pname, GLint* params) | - |
2354 | { | - |
2355 | typedef void (QGLF_APIENTRYP type_glGetProgramiv)(GLuint program, GLenum pname, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetProgramiv)(GLuint program, GLenum pname, GLint* params); | - |
2356 | | - |
2357 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2358 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2359 | | - |
2360 | funcs->getProgramiv = (type_glGetProgramiv) never executed (the execution status of this line is deduced): funcs->getProgramiv = (type_glGetProgramiv) | - |
2361 | context->getProcAddress(QLatin1String("glGetProgramiv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetProgramiv")); | - |
2362 | if (!funcs->getProgramiv) { never evaluated: !funcs->getProgramiv | 0 |
2363 | funcs->getProgramiv = (type_glGetProgramiv) never executed (the execution status of this line is deduced): funcs->getProgramiv = (type_glGetProgramiv) | - |
2364 | context->getProcAddress(QLatin1String("glGetObjectParameterivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetObjectParameterivARB")); | - |
2365 | } | 0 |
2366 | | - |
2367 | if (funcs->getProgramiv) never evaluated: funcs->getProgramiv | 0 |
2368 | funcs->getProgramiv(program, pname, params); never executed: funcs->getProgramiv(program, pname, params); | 0 |
2369 | else | - |
2370 | funcs->getProgramiv = qglfResolveGetProgramiv; never executed: funcs->getProgramiv = qglfResolveGetProgramiv; | 0 |
2371 | } | - |
2372 | | - |
2373 | static void QGLF_APIENTRY qglfResolveGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog) | - |
2374 | { | - |
2375 | typedef void (QGLF_APIENTRYP type_glGetProgramInfoLog)(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog); never executed (the execution status of this line is deduced): typedef void ( * type_glGetProgramInfoLog)(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog); | - |
2376 | | - |
2377 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2378 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2379 | | - |
2380 | funcs->getProgramInfoLog = (type_glGetProgramInfoLog) never executed (the execution status of this line is deduced): funcs->getProgramInfoLog = (type_glGetProgramInfoLog) | - |
2381 | context->getProcAddress(QLatin1String("glGetProgramInfoLog")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetProgramInfoLog")); | - |
2382 | if (!funcs->getProgramInfoLog) { never evaluated: !funcs->getProgramInfoLog | 0 |
2383 | funcs->getProgramInfoLog = (type_glGetProgramInfoLog) never executed (the execution status of this line is deduced): funcs->getProgramInfoLog = (type_glGetProgramInfoLog) | - |
2384 | context->getProcAddress(QLatin1String("glGetInfoLogARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetInfoLogARB")); | - |
2385 | } | 0 |
2386 | | - |
2387 | if (funcs->getProgramInfoLog) never evaluated: funcs->getProgramInfoLog | 0 |
2388 | funcs->getProgramInfoLog(program, bufsize, length, infolog); never executed: funcs->getProgramInfoLog(program, bufsize, length, infolog); | 0 |
2389 | else | - |
2390 | funcs->getProgramInfoLog = qglfResolveGetProgramInfoLog; never executed: funcs->getProgramInfoLog = qglfResolveGetProgramInfoLog; | 0 |
2391 | } | - |
2392 | | - |
2393 | static void QGLF_APIENTRY qglfResolveGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params) | - |
2394 | { | - |
2395 | typedef void (QGLF_APIENTRYP type_glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint* params); | - |
2396 | | - |
2397 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2398 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2399 | | - |
2400 | funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) never executed (the execution status of this line is deduced): funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) | - |
2401 | context->getProcAddress(QLatin1String("glGetRenderbufferParameteriv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetRenderbufferParameteriv")); | - |
2402 | #ifdef QT_OPENGL_ES | - |
2403 | if (!funcs->getRenderbufferParameteriv) { | - |
2404 | funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) | - |
2405 | context->getProcAddress(QLatin1String("glGetRenderbufferParameterivOES")); | - |
2406 | } | - |
2407 | #endif | - |
2408 | if (!funcs->getRenderbufferParameteriv) { never evaluated: !funcs->getRenderbufferParameteriv | 0 |
2409 | funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) never executed (the execution status of this line is deduced): funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) | - |
2410 | context->getProcAddress(QLatin1String("glGetRenderbufferParameterivEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetRenderbufferParameterivEXT")); | - |
2411 | } | 0 |
2412 | if (!funcs->getRenderbufferParameteriv) { never evaluated: !funcs->getRenderbufferParameteriv | 0 |
2413 | funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) never executed (the execution status of this line is deduced): funcs->getRenderbufferParameteriv = (type_glGetRenderbufferParameteriv) | - |
2414 | context->getProcAddress(QLatin1String("glGetRenderbufferParameterivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetRenderbufferParameterivARB")); | - |
2415 | } | 0 |
2416 | | - |
2417 | if (funcs->getRenderbufferParameteriv) never evaluated: funcs->getRenderbufferParameteriv | 0 |
2418 | funcs->getRenderbufferParameteriv(target, pname, params); never executed: funcs->getRenderbufferParameteriv(target, pname, params); | 0 |
2419 | else | - |
2420 | funcs->getRenderbufferParameteriv = qglfResolveGetRenderbufferParameteriv; never executed: funcs->getRenderbufferParameteriv = qglfResolveGetRenderbufferParameteriv; | 0 |
2421 | } | - |
2422 | | - |
2423 | static void QGLF_APIENTRY qglfResolveGetShaderiv(GLuint shader, GLenum pname, GLint* params) | - |
2424 | { | - |
2425 | typedef void (QGLF_APIENTRYP type_glGetShaderiv)(GLuint shader, GLenum pname, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetShaderiv)(GLuint shader, GLenum pname, GLint* params); | - |
2426 | | - |
2427 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2428 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2429 | | - |
2430 | funcs->getShaderiv = (type_glGetShaderiv) never executed (the execution status of this line is deduced): funcs->getShaderiv = (type_glGetShaderiv) | - |
2431 | context->getProcAddress(QLatin1String("glGetShaderiv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderiv")); | - |
2432 | if (!funcs->getShaderiv) { never evaluated: !funcs->getShaderiv | 0 |
2433 | funcs->getShaderiv = (type_glGetShaderiv) never executed (the execution status of this line is deduced): funcs->getShaderiv = (type_glGetShaderiv) | - |
2434 | context->getProcAddress(QLatin1String("glGetObjectParameterivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetObjectParameterivARB")); | - |
2435 | } | 0 |
2436 | | - |
2437 | if (funcs->getShaderiv) never evaluated: funcs->getShaderiv | 0 |
2438 | funcs->getShaderiv(shader, pname, params); never executed: funcs->getShaderiv(shader, pname, params); | 0 |
2439 | else | - |
2440 | funcs->getShaderiv = qglfResolveGetShaderiv; never executed: funcs->getShaderiv = qglfResolveGetShaderiv; | 0 |
2441 | } | - |
2442 | | - |
2443 | static void QGLF_APIENTRY qglfResolveGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog) | - |
2444 | { | - |
2445 | typedef void (QGLF_APIENTRYP type_glGetShaderInfoLog)(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog); never executed (the execution status of this line is deduced): typedef void ( * type_glGetShaderInfoLog)(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog); | - |
2446 | | - |
2447 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2448 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2449 | | - |
2450 | funcs->getShaderInfoLog = (type_glGetShaderInfoLog) never executed (the execution status of this line is deduced): funcs->getShaderInfoLog = (type_glGetShaderInfoLog) | - |
2451 | context->getProcAddress(QLatin1String("glGetShaderInfoLog")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderInfoLog")); | - |
2452 | if (!funcs->getShaderInfoLog) { never evaluated: !funcs->getShaderInfoLog | 0 |
2453 | funcs->getShaderInfoLog = (type_glGetShaderInfoLog) never executed (the execution status of this line is deduced): funcs->getShaderInfoLog = (type_glGetShaderInfoLog) | - |
2454 | context->getProcAddress(QLatin1String("glGetInfoLogARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetInfoLogARB")); | - |
2455 | } | 0 |
2456 | | - |
2457 | if (funcs->getShaderInfoLog) never evaluated: funcs->getShaderInfoLog | 0 |
2458 | funcs->getShaderInfoLog(shader, bufsize, length, infolog); never executed: funcs->getShaderInfoLog(shader, bufsize, length, infolog); | 0 |
2459 | else | - |
2460 | funcs->getShaderInfoLog = qglfResolveGetShaderInfoLog; never executed: funcs->getShaderInfoLog = qglfResolveGetShaderInfoLog; | 0 |
2461 | } | - |
2462 | | - |
2463 | static void QGLF_APIENTRY qglfSpecialGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) | - |
2464 | { | - |
2465 | Q_UNUSED(shadertype); never executed (the execution status of this line is deduced): (void)shadertype;; | - |
2466 | Q_UNUSED(precisiontype); never executed (the execution status of this line is deduced): (void)precisiontype;; | - |
2467 | range[0] = range[1] = precision[0] = 0; never executed (the execution status of this line is deduced): range[0] = range[1] = precision[0] = 0; | - |
2468 | } | 0 |
2469 | | - |
2470 | static void QGLF_APIENTRY qglfResolveGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) | - |
2471 | { | - |
2472 | typedef void (QGLF_APIENTRYP type_glGetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); never executed (the execution status of this line is deduced): typedef void ( * type_glGetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); | - |
2473 | | - |
2474 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2475 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2476 | | - |
2477 | funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) never executed (the execution status of this line is deduced): funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) | - |
2478 | context->getProcAddress(QLatin1String("glGetShaderPrecisionFormat")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderPrecisionFormat")); | - |
2479 | #ifdef QT_OPENGL_ES | - |
2480 | if (!funcs->getShaderPrecisionFormat) { | - |
2481 | funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) | - |
2482 | context->getProcAddress(QLatin1String("glGetShaderPrecisionFormatOES")); | - |
2483 | } | - |
2484 | #endif | - |
2485 | if (!funcs->getShaderPrecisionFormat) { never evaluated: !funcs->getShaderPrecisionFormat | 0 |
2486 | funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) never executed (the execution status of this line is deduced): funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) | - |
2487 | context->getProcAddress(QLatin1String("glGetShaderPrecisionFormatEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderPrecisionFormatEXT")); | - |
2488 | } | 0 |
2489 | if (!funcs->getShaderPrecisionFormat) { never evaluated: !funcs->getShaderPrecisionFormat | 0 |
2490 | funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) never executed (the execution status of this line is deduced): funcs->getShaderPrecisionFormat = (type_glGetShaderPrecisionFormat) | - |
2491 | context->getProcAddress(QLatin1String("glGetShaderPrecisionFormatARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderPrecisionFormatARB")); | - |
2492 | } | 0 |
2493 | | - |
2494 | if (!funcs->getShaderPrecisionFormat) never evaluated: !funcs->getShaderPrecisionFormat | 0 |
2495 | funcs->getShaderPrecisionFormat = qglfSpecialGetShaderPrecisionFormat; never executed: funcs->getShaderPrecisionFormat = qglfSpecialGetShaderPrecisionFormat; | 0 |
2496 | | - |
2497 | funcs->getShaderPrecisionFormat(shadertype, precisiontype, range, precision); never executed (the execution status of this line is deduced): funcs->getShaderPrecisionFormat(shadertype, precisiontype, range, precision); | - |
2498 | } | 0 |
2499 | | - |
2500 | static void QGLF_APIENTRY qglfResolveGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char* source) | - |
2501 | { | - |
2502 | typedef void (QGLF_APIENTRYP type_glGetShaderSource)(GLuint shader, GLsizei bufsize, GLsizei* length, char* source); never executed (the execution status of this line is deduced): typedef void ( * type_glGetShaderSource)(GLuint shader, GLsizei bufsize, GLsizei* length, char* source); | - |
2503 | | - |
2504 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2505 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2506 | | - |
2507 | funcs->getShaderSource = (type_glGetShaderSource) never executed (the execution status of this line is deduced): funcs->getShaderSource = (type_glGetShaderSource) | - |
2508 | context->getProcAddress(QLatin1String("glGetShaderSource")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderSource")); | - |
2509 | if (!funcs->getShaderSource) { never evaluated: !funcs->getShaderSource | 0 |
2510 | funcs->getShaderSource = (type_glGetShaderSource) never executed (the execution status of this line is deduced): funcs->getShaderSource = (type_glGetShaderSource) | - |
2511 | context->getProcAddress(QLatin1String("glGetShaderSourceARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetShaderSourceARB")); | - |
2512 | } | 0 |
2513 | | - |
2514 | if (funcs->getShaderSource) never evaluated: funcs->getShaderSource | 0 |
2515 | funcs->getShaderSource(shader, bufsize, length, source); never executed: funcs->getShaderSource(shader, bufsize, length, source); | 0 |
2516 | else | - |
2517 | funcs->getShaderSource = qglfResolveGetShaderSource; never executed: funcs->getShaderSource = qglfResolveGetShaderSource; | 0 |
2518 | } | - |
2519 | | - |
2520 | static void QGLF_APIENTRY qglfResolveGetUniformfv(GLuint program, GLint location, GLfloat* params) | - |
2521 | { | - |
2522 | typedef void (QGLF_APIENTRYP type_glGetUniformfv)(GLuint program, GLint location, GLfloat* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetUniformfv)(GLuint program, GLint location, GLfloat* params); | - |
2523 | | - |
2524 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2525 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2526 | | - |
2527 | funcs->getUniformfv = (type_glGetUniformfv) never executed (the execution status of this line is deduced): funcs->getUniformfv = (type_glGetUniformfv) | - |
2528 | context->getProcAddress(QLatin1String("glGetUniformfv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetUniformfv")); | - |
2529 | if (!funcs->getUniformfv) { never evaluated: !funcs->getUniformfv | 0 |
2530 | funcs->getUniformfv = (type_glGetUniformfv) never executed (the execution status of this line is deduced): funcs->getUniformfv = (type_glGetUniformfv) | - |
2531 | context->getProcAddress(QLatin1String("glGetUniformfvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetUniformfvARB")); | - |
2532 | } | 0 |
2533 | | - |
2534 | if (funcs->getUniformfv) never evaluated: funcs->getUniformfv | 0 |
2535 | funcs->getUniformfv(program, location, params); never executed: funcs->getUniformfv(program, location, params); | 0 |
2536 | else | - |
2537 | funcs->getUniformfv = qglfResolveGetUniformfv; never executed: funcs->getUniformfv = qglfResolveGetUniformfv; | 0 |
2538 | } | - |
2539 | | - |
2540 | static void QGLF_APIENTRY qglfResolveGetUniformiv(GLuint program, GLint location, GLint* params) | - |
2541 | { | - |
2542 | typedef void (QGLF_APIENTRYP type_glGetUniformiv)(GLuint program, GLint location, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetUniformiv)(GLuint program, GLint location, GLint* params); | - |
2543 | | - |
2544 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2545 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2546 | | - |
2547 | funcs->getUniformiv = (type_glGetUniformiv) never executed (the execution status of this line is deduced): funcs->getUniformiv = (type_glGetUniformiv) | - |
2548 | context->getProcAddress(QLatin1String("glGetUniformiv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetUniformiv")); | - |
2549 | if (!funcs->getUniformiv) { never evaluated: !funcs->getUniformiv | 0 |
2550 | funcs->getUniformiv = (type_glGetUniformiv) never executed (the execution status of this line is deduced): funcs->getUniformiv = (type_glGetUniformiv) | - |
2551 | context->getProcAddress(QLatin1String("glGetUniformivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetUniformivARB")); | - |
2552 | } | 0 |
2553 | | - |
2554 | if (funcs->getUniformiv) never evaluated: funcs->getUniformiv | 0 |
2555 | funcs->getUniformiv(program, location, params); never executed: funcs->getUniformiv(program, location, params); | 0 |
2556 | else | - |
2557 | funcs->getUniformiv = qglfResolveGetUniformiv; never executed: funcs->getUniformiv = qglfResolveGetUniformiv; | 0 |
2558 | } | - |
2559 | | - |
2560 | static int QGLF_APIENTRY qglfResolveGetUniformLocation(GLuint program, const char* name) | - |
2561 | { | - |
2562 | typedef int (QGLF_APIENTRYP type_glGetUniformLocation)(GLuint program, const char* name); never executed (the execution status of this line is deduced): typedef int ( * type_glGetUniformLocation)(GLuint program, const char* name); | - |
2563 | | - |
2564 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2565 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2566 | | - |
2567 | funcs->getUniformLocation = (type_glGetUniformLocation) never executed (the execution status of this line is deduced): funcs->getUniformLocation = (type_glGetUniformLocation) | - |
2568 | context->getProcAddress(QLatin1String("glGetUniformLocation")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetUniformLocation")); | - |
2569 | if (!funcs->getUniformLocation) { never evaluated: !funcs->getUniformLocation | 0 |
2570 | funcs->getUniformLocation = (type_glGetUniformLocation) never executed (the execution status of this line is deduced): funcs->getUniformLocation = (type_glGetUniformLocation) | - |
2571 | context->getProcAddress(QLatin1String("glGetUniformLocationARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetUniformLocationARB")); | - |
2572 | } | 0 |
2573 | | - |
2574 | if (funcs->getUniformLocation) never evaluated: funcs->getUniformLocation | 0 |
2575 | return funcs->getUniformLocation(program, name); never executed: return funcs->getUniformLocation(program, name); | 0 |
2576 | funcs->getUniformLocation = qglfResolveGetUniformLocation; never executed (the execution status of this line is deduced): funcs->getUniformLocation = qglfResolveGetUniformLocation; | - |
2577 | return int(0); never executed: return int(0); | 0 |
2578 | } | - |
2579 | | - |
2580 | static void QGLF_APIENTRY qglfResolveGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) | - |
2581 | { | - |
2582 | typedef void (QGLF_APIENTRYP type_glGetVertexAttribfv)(GLuint index, GLenum pname, GLfloat* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetVertexAttribfv)(GLuint index, GLenum pname, GLfloat* params); | - |
2583 | | - |
2584 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2585 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2586 | | - |
2587 | funcs->getVertexAttribfv = (type_glGetVertexAttribfv) never executed (the execution status of this line is deduced): funcs->getVertexAttribfv = (type_glGetVertexAttribfv) | - |
2588 | context->getProcAddress(QLatin1String("glGetVertexAttribfv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetVertexAttribfv")); | - |
2589 | if (!funcs->getVertexAttribfv) { never evaluated: !funcs->getVertexAttribfv | 0 |
2590 | funcs->getVertexAttribfv = (type_glGetVertexAttribfv) never executed (the execution status of this line is deduced): funcs->getVertexAttribfv = (type_glGetVertexAttribfv) | - |
2591 | context->getProcAddress(QLatin1String("glGetVertexAttribfvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetVertexAttribfvARB")); | - |
2592 | } | 0 |
2593 | | - |
2594 | if (funcs->getVertexAttribfv) never evaluated: funcs->getVertexAttribfv | 0 |
2595 | funcs->getVertexAttribfv(index, pname, params); never executed: funcs->getVertexAttribfv(index, pname, params); | 0 |
2596 | else | - |
2597 | funcs->getVertexAttribfv = qglfResolveGetVertexAttribfv; never executed: funcs->getVertexAttribfv = qglfResolveGetVertexAttribfv; | 0 |
2598 | } | - |
2599 | | - |
2600 | static void QGLF_APIENTRY qglfResolveGetVertexAttribiv(GLuint index, GLenum pname, GLint* params) | - |
2601 | { | - |
2602 | typedef void (QGLF_APIENTRYP type_glGetVertexAttribiv)(GLuint index, GLenum pname, GLint* params); never executed (the execution status of this line is deduced): typedef void ( * type_glGetVertexAttribiv)(GLuint index, GLenum pname, GLint* params); | - |
2603 | | - |
2604 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2605 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2606 | | - |
2607 | funcs->getVertexAttribiv = (type_glGetVertexAttribiv) never executed (the execution status of this line is deduced): funcs->getVertexAttribiv = (type_glGetVertexAttribiv) | - |
2608 | context->getProcAddress(QLatin1String("glGetVertexAttribiv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetVertexAttribiv")); | - |
2609 | if (!funcs->getVertexAttribiv) { never evaluated: !funcs->getVertexAttribiv | 0 |
2610 | funcs->getVertexAttribiv = (type_glGetVertexAttribiv) never executed (the execution status of this line is deduced): funcs->getVertexAttribiv = (type_glGetVertexAttribiv) | - |
2611 | context->getProcAddress(QLatin1String("glGetVertexAttribivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetVertexAttribivARB")); | - |
2612 | } | 0 |
2613 | | - |
2614 | if (funcs->getVertexAttribiv) never evaluated: funcs->getVertexAttribiv | 0 |
2615 | funcs->getVertexAttribiv(index, pname, params); never executed: funcs->getVertexAttribiv(index, pname, params); | 0 |
2616 | else | - |
2617 | funcs->getVertexAttribiv = qglfResolveGetVertexAttribiv; never executed: funcs->getVertexAttribiv = qglfResolveGetVertexAttribiv; | 0 |
2618 | } | - |
2619 | | - |
2620 | static void QGLF_APIENTRY qglfResolveGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) | - |
2621 | { | - |
2622 | typedef void (QGLF_APIENTRYP type_glGetVertexAttribPointerv)(GLuint index, GLenum pname, void** pointer); never executed (the execution status of this line is deduced): typedef void ( * type_glGetVertexAttribPointerv)(GLuint index, GLenum pname, void** pointer); | - |
2623 | | - |
2624 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2625 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2626 | | - |
2627 | funcs->getVertexAttribPointerv = (type_glGetVertexAttribPointerv) never executed (the execution status of this line is deduced): funcs->getVertexAttribPointerv = (type_glGetVertexAttribPointerv) | - |
2628 | context->getProcAddress(QLatin1String("glGetVertexAttribPointerv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetVertexAttribPointerv")); | - |
2629 | if (!funcs->getVertexAttribPointerv) { never evaluated: !funcs->getVertexAttribPointerv | 0 |
2630 | funcs->getVertexAttribPointerv = (type_glGetVertexAttribPointerv) never executed (the execution status of this line is deduced): funcs->getVertexAttribPointerv = (type_glGetVertexAttribPointerv) | - |
2631 | context->getProcAddress(QLatin1String("glGetVertexAttribPointervARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glGetVertexAttribPointervARB")); | - |
2632 | } | 0 |
2633 | | - |
2634 | if (funcs->getVertexAttribPointerv) never evaluated: funcs->getVertexAttribPointerv | 0 |
2635 | funcs->getVertexAttribPointerv(index, pname, pointer); never executed: funcs->getVertexAttribPointerv(index, pname, pointer); | 0 |
2636 | else | - |
2637 | funcs->getVertexAttribPointerv = qglfResolveGetVertexAttribPointerv; never executed: funcs->getVertexAttribPointerv = qglfResolveGetVertexAttribPointerv; | 0 |
2638 | } | - |
2639 | | - |
2640 | static GLboolean QGLF_APIENTRY qglfResolveIsBuffer(GLuint buffer) | - |
2641 | { | - |
2642 | typedef GLboolean (QGLF_APIENTRYP type_glIsBuffer)(GLuint buffer); never executed (the execution status of this line is deduced): typedef GLboolean ( * type_glIsBuffer)(GLuint buffer); | - |
2643 | | - |
2644 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2645 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2646 | | - |
2647 | funcs->isBuffer = (type_glIsBuffer) never executed (the execution status of this line is deduced): funcs->isBuffer = (type_glIsBuffer) | - |
2648 | context->getProcAddress(QLatin1String("glIsBuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsBuffer")); | - |
2649 | #ifdef QT_OPENGL_ES | - |
2650 | if (!funcs->isBuffer) { | - |
2651 | funcs->isBuffer = (type_glIsBuffer) | - |
2652 | context->getProcAddress(QLatin1String("glIsBufferOES")); | - |
2653 | } | - |
2654 | #endif | - |
2655 | if (!funcs->isBuffer) { never evaluated: !funcs->isBuffer | 0 |
2656 | funcs->isBuffer = (type_glIsBuffer) never executed (the execution status of this line is deduced): funcs->isBuffer = (type_glIsBuffer) | - |
2657 | context->getProcAddress(QLatin1String("glIsBufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsBufferEXT")); | - |
2658 | } | 0 |
2659 | if (!funcs->isBuffer) { never evaluated: !funcs->isBuffer | 0 |
2660 | funcs->isBuffer = (type_glIsBuffer) never executed (the execution status of this line is deduced): funcs->isBuffer = (type_glIsBuffer) | - |
2661 | context->getProcAddress(QLatin1String("glIsBufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsBufferARB")); | - |
2662 | } | 0 |
2663 | | - |
2664 | if (funcs->isBuffer) never evaluated: funcs->isBuffer | 0 |
2665 | return funcs->isBuffer(buffer); never executed: return funcs->isBuffer(buffer); | 0 |
2666 | funcs->isBuffer = qglfResolveIsBuffer; never executed (the execution status of this line is deduced): funcs->isBuffer = qglfResolveIsBuffer; | - |
2667 | return GLboolean(0); never executed: return GLboolean(0); | 0 |
2668 | } | - |
2669 | | - |
2670 | static GLboolean QGLF_APIENTRY qglfResolveIsFramebuffer(GLuint framebuffer) | - |
2671 | { | - |
2672 | typedef GLboolean (QGLF_APIENTRYP type_glIsFramebuffer)(GLuint framebuffer); never executed (the execution status of this line is deduced): typedef GLboolean ( * type_glIsFramebuffer)(GLuint framebuffer); | - |
2673 | | - |
2674 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2675 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2676 | | - |
2677 | funcs->isFramebuffer = (type_glIsFramebuffer) never executed (the execution status of this line is deduced): funcs->isFramebuffer = (type_glIsFramebuffer) | - |
2678 | context->getProcAddress(QLatin1String("glIsFramebuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsFramebuffer")); | - |
2679 | #ifdef QT_OPENGL_ES | - |
2680 | if (!funcs->isFramebuffer) { | - |
2681 | funcs->isFramebuffer = (type_glIsFramebuffer) | - |
2682 | context->getProcAddress(QLatin1String("glIsFramebufferOES")); | - |
2683 | } | - |
2684 | #endif | - |
2685 | if (!funcs->isFramebuffer) { never evaluated: !funcs->isFramebuffer | 0 |
2686 | funcs->isFramebuffer = (type_glIsFramebuffer) never executed (the execution status of this line is deduced): funcs->isFramebuffer = (type_glIsFramebuffer) | - |
2687 | context->getProcAddress(QLatin1String("glIsFramebufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsFramebufferEXT")); | - |
2688 | } | 0 |
2689 | if (!funcs->isFramebuffer) { never evaluated: !funcs->isFramebuffer | 0 |
2690 | funcs->isFramebuffer = (type_glIsFramebuffer) never executed (the execution status of this line is deduced): funcs->isFramebuffer = (type_glIsFramebuffer) | - |
2691 | context->getProcAddress(QLatin1String("glIsFramebufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsFramebufferARB")); | - |
2692 | } | 0 |
2693 | | - |
2694 | if (funcs->isFramebuffer) never evaluated: funcs->isFramebuffer | 0 |
2695 | return funcs->isFramebuffer(framebuffer); never executed: return funcs->isFramebuffer(framebuffer); | 0 |
2696 | funcs->isFramebuffer = qglfResolveIsFramebuffer; never executed (the execution status of this line is deduced): funcs->isFramebuffer = qglfResolveIsFramebuffer; | - |
2697 | return GLboolean(0); never executed: return GLboolean(0); | 0 |
2698 | } | - |
2699 | | - |
2700 | static GLboolean QGLF_APIENTRY qglfSpecialIsProgram(GLuint program) | - |
2701 | { | - |
2702 | return program != 0; never executed: return program != 0; | 0 |
2703 | } | - |
2704 | | - |
2705 | static GLboolean QGLF_APIENTRY qglfResolveIsProgram(GLuint program) | - |
2706 | { | - |
2707 | typedef GLboolean (QGLF_APIENTRYP type_glIsProgram)(GLuint program); never executed (the execution status of this line is deduced): typedef GLboolean ( * type_glIsProgram)(GLuint program); | - |
2708 | | - |
2709 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2710 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2711 | | - |
2712 | funcs->isProgram = (type_glIsProgram) never executed (the execution status of this line is deduced): funcs->isProgram = (type_glIsProgram) | - |
2713 | context->getProcAddress(QLatin1String("glIsProgram")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsProgram")); | - |
2714 | if (!funcs->isProgram) { never evaluated: !funcs->isProgram | 0 |
2715 | funcs->isProgram = (type_glIsProgram) never executed (the execution status of this line is deduced): funcs->isProgram = (type_glIsProgram) | - |
2716 | context->getProcAddress(QLatin1String("glIsProgramARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsProgramARB")); | - |
2717 | } | 0 |
2718 | | - |
2719 | if (!funcs->isProgram) never evaluated: !funcs->isProgram | 0 |
2720 | funcs->isProgram = qglfSpecialIsProgram; never executed: funcs->isProgram = qglfSpecialIsProgram; | 0 |
2721 | | - |
2722 | return funcs->isProgram(program); never executed: return funcs->isProgram(program); | 0 |
2723 | } | - |
2724 | | - |
2725 | static GLboolean QGLF_APIENTRY qglfResolveIsRenderbuffer(GLuint renderbuffer) | - |
2726 | { | - |
2727 | typedef GLboolean (QGLF_APIENTRYP type_glIsRenderbuffer)(GLuint renderbuffer); never executed (the execution status of this line is deduced): typedef GLboolean ( * type_glIsRenderbuffer)(GLuint renderbuffer); | - |
2728 | | - |
2729 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2730 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2731 | | - |
2732 | funcs->isRenderbuffer = (type_glIsRenderbuffer) never executed (the execution status of this line is deduced): funcs->isRenderbuffer = (type_glIsRenderbuffer) | - |
2733 | context->getProcAddress(QLatin1String("glIsRenderbuffer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsRenderbuffer")); | - |
2734 | #ifdef QT_OPENGL_ES | - |
2735 | if (!funcs->isRenderbuffer) { | - |
2736 | funcs->isRenderbuffer = (type_glIsRenderbuffer) | - |
2737 | context->getProcAddress(QLatin1String("glIsRenderbufferOES")); | - |
2738 | } | - |
2739 | #endif | - |
2740 | if (!funcs->isRenderbuffer) { never evaluated: !funcs->isRenderbuffer | 0 |
2741 | funcs->isRenderbuffer = (type_glIsRenderbuffer) never executed (the execution status of this line is deduced): funcs->isRenderbuffer = (type_glIsRenderbuffer) | - |
2742 | context->getProcAddress(QLatin1String("glIsRenderbufferEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsRenderbufferEXT")); | - |
2743 | } | 0 |
2744 | if (!funcs->isRenderbuffer) { never evaluated: !funcs->isRenderbuffer | 0 |
2745 | funcs->isRenderbuffer = (type_glIsRenderbuffer) never executed (the execution status of this line is deduced): funcs->isRenderbuffer = (type_glIsRenderbuffer) | - |
2746 | context->getProcAddress(QLatin1String("glIsRenderbufferARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsRenderbufferARB")); | - |
2747 | } | 0 |
2748 | | - |
2749 | if (funcs->isRenderbuffer) never evaluated: funcs->isRenderbuffer | 0 |
2750 | return funcs->isRenderbuffer(renderbuffer); never executed: return funcs->isRenderbuffer(renderbuffer); | 0 |
2751 | funcs->isRenderbuffer = qglfResolveIsRenderbuffer; never executed (the execution status of this line is deduced): funcs->isRenderbuffer = qglfResolveIsRenderbuffer; | - |
2752 | return GLboolean(0); never executed: return GLboolean(0); | 0 |
2753 | } | - |
2754 | | - |
2755 | static GLboolean QGLF_APIENTRY qglfSpecialIsShader(GLuint shader) | - |
2756 | { | - |
2757 | return shader != 0; never executed: return shader != 0; | 0 |
2758 | } | - |
2759 | | - |
2760 | static GLboolean QGLF_APIENTRY qglfResolveIsShader(GLuint shader) | - |
2761 | { | - |
2762 | typedef GLboolean (QGLF_APIENTRYP type_glIsShader)(GLuint shader); never executed (the execution status of this line is deduced): typedef GLboolean ( * type_glIsShader)(GLuint shader); | - |
2763 | | - |
2764 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2765 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2766 | | - |
2767 | funcs->isShader = (type_glIsShader) never executed (the execution status of this line is deduced): funcs->isShader = (type_glIsShader) | - |
2768 | context->getProcAddress(QLatin1String("glIsShader")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsShader")); | - |
2769 | if (!funcs->isShader) { never evaluated: !funcs->isShader | 0 |
2770 | funcs->isShader = (type_glIsShader) never executed (the execution status of this line is deduced): funcs->isShader = (type_glIsShader) | - |
2771 | context->getProcAddress(QLatin1String("glIsShaderARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glIsShaderARB")); | - |
2772 | } | 0 |
2773 | | - |
2774 | if (!funcs->isShader) never evaluated: !funcs->isShader | 0 |
2775 | funcs->isShader = qglfSpecialIsShader; never executed: funcs->isShader = qglfSpecialIsShader; | 0 |
2776 | | - |
2777 | return funcs->isShader(shader); never executed: return funcs->isShader(shader); | 0 |
2778 | } | - |
2779 | | - |
2780 | static void QGLF_APIENTRY qglfResolveLinkProgram(GLuint program) | - |
2781 | { | - |
2782 | typedef void (QGLF_APIENTRYP type_glLinkProgram)(GLuint program); never executed (the execution status of this line is deduced): typedef void ( * type_glLinkProgram)(GLuint program); | - |
2783 | | - |
2784 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2785 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2786 | | - |
2787 | funcs->linkProgram = (type_glLinkProgram) never executed (the execution status of this line is deduced): funcs->linkProgram = (type_glLinkProgram) | - |
2788 | context->getProcAddress(QLatin1String("glLinkProgram")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glLinkProgram")); | - |
2789 | if (!funcs->linkProgram) { never evaluated: !funcs->linkProgram | 0 |
2790 | funcs->linkProgram = (type_glLinkProgram) never executed (the execution status of this line is deduced): funcs->linkProgram = (type_glLinkProgram) | - |
2791 | context->getProcAddress(QLatin1String("glLinkProgramARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glLinkProgramARB")); | - |
2792 | } | 0 |
2793 | | - |
2794 | if (funcs->linkProgram) never evaluated: funcs->linkProgram | 0 |
2795 | funcs->linkProgram(program); never executed: funcs->linkProgram(program); | 0 |
2796 | else | - |
2797 | funcs->linkProgram = qglfResolveLinkProgram; never executed: funcs->linkProgram = qglfResolveLinkProgram; | 0 |
2798 | } | - |
2799 | | - |
2800 | static void QGLF_APIENTRY qglfSpecialReleaseShaderCompiler() | - |
2801 | { | - |
2802 | } | - |
2803 | | - |
2804 | static void QGLF_APIENTRY qglfResolveReleaseShaderCompiler() | - |
2805 | { | - |
2806 | typedef void (QGLF_APIENTRYP type_glReleaseShaderCompiler)(); never executed (the execution status of this line is deduced): typedef void ( * type_glReleaseShaderCompiler)(); | - |
2807 | | - |
2808 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2809 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2810 | | - |
2811 | funcs->releaseShaderCompiler = (type_glReleaseShaderCompiler) never executed (the execution status of this line is deduced): funcs->releaseShaderCompiler = (type_glReleaseShaderCompiler) | - |
2812 | context->getProcAddress(QLatin1String("glReleaseShaderCompiler")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glReleaseShaderCompiler")); | - |
2813 | if (!funcs->releaseShaderCompiler) { never evaluated: !funcs->releaseShaderCompiler | 0 |
2814 | funcs->releaseShaderCompiler = (type_glReleaseShaderCompiler) never executed (the execution status of this line is deduced): funcs->releaseShaderCompiler = (type_glReleaseShaderCompiler) | - |
2815 | context->getProcAddress(QLatin1String("glReleaseShaderCompilerARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glReleaseShaderCompilerARB")); | - |
2816 | } | 0 |
2817 | | - |
2818 | if (!funcs->releaseShaderCompiler) never evaluated: !funcs->releaseShaderCompiler | 0 |
2819 | funcs->releaseShaderCompiler = qglfSpecialReleaseShaderCompiler; never executed: funcs->releaseShaderCompiler = qglfSpecialReleaseShaderCompiler; | 0 |
2820 | | - |
2821 | funcs->releaseShaderCompiler(); never executed (the execution status of this line is deduced): funcs->releaseShaderCompiler(); | - |
2822 | } | 0 |
2823 | | - |
2824 | static void QGLF_APIENTRY qglfResolveRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) | - |
2825 | { | - |
2826 | typedef void (QGLF_APIENTRYP type_glRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); never executed (the execution status of this line is deduced): typedef void ( * type_glRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | - |
2827 | | - |
2828 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2829 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2830 | | - |
2831 | funcs->renderbufferStorage = (type_glRenderbufferStorage) never executed (the execution status of this line is deduced): funcs->renderbufferStorage = (type_glRenderbufferStorage) | - |
2832 | context->getProcAddress(QLatin1String("glRenderbufferStorage")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glRenderbufferStorage")); | - |
2833 | #ifdef QT_OPENGL_ES | - |
2834 | if (!funcs->renderbufferStorage) { | - |
2835 | funcs->renderbufferStorage = (type_glRenderbufferStorage) | - |
2836 | context->getProcAddress(QLatin1String("glRenderbufferStorageOES")); | - |
2837 | } | - |
2838 | #endif | - |
2839 | if (!funcs->renderbufferStorage) { never evaluated: !funcs->renderbufferStorage | 0 |
2840 | funcs->renderbufferStorage = (type_glRenderbufferStorage) never executed (the execution status of this line is deduced): funcs->renderbufferStorage = (type_glRenderbufferStorage) | - |
2841 | context->getProcAddress(QLatin1String("glRenderbufferStorageEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glRenderbufferStorageEXT")); | - |
2842 | } | 0 |
2843 | if (!funcs->renderbufferStorage) { never evaluated: !funcs->renderbufferStorage | 0 |
2844 | funcs->renderbufferStorage = (type_glRenderbufferStorage) never executed (the execution status of this line is deduced): funcs->renderbufferStorage = (type_glRenderbufferStorage) | - |
2845 | context->getProcAddress(QLatin1String("glRenderbufferStorageARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glRenderbufferStorageARB")); | - |
2846 | } | 0 |
2847 | | - |
2848 | if (funcs->renderbufferStorage) never evaluated: funcs->renderbufferStorage | 0 |
2849 | funcs->renderbufferStorage(target, internalformat, width, height); never executed: funcs->renderbufferStorage(target, internalformat, width, height); | 0 |
2850 | else | - |
2851 | funcs->renderbufferStorage = qglfResolveRenderbufferStorage; never executed: funcs->renderbufferStorage = qglfResolveRenderbufferStorage; | 0 |
2852 | } | - |
2853 | | - |
2854 | static void QGLF_APIENTRY qglfResolveSampleCoverage(GLclampf value, GLboolean invert) | - |
2855 | { | - |
2856 | typedef void (QGLF_APIENTRYP type_glSampleCoverage)(GLclampf value, GLboolean invert); never executed (the execution status of this line is deduced): typedef void ( * type_glSampleCoverage)(GLclampf value, GLboolean invert); | - |
2857 | | - |
2858 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2859 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2860 | | - |
2861 | funcs->sampleCoverage = (type_glSampleCoverage) never executed (the execution status of this line is deduced): funcs->sampleCoverage = (type_glSampleCoverage) | - |
2862 | context->getProcAddress(QLatin1String("glSampleCoverage")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glSampleCoverage")); | - |
2863 | #ifdef QT_OPENGL_ES | - |
2864 | if (!funcs->sampleCoverage) { | - |
2865 | funcs->sampleCoverage = (type_glSampleCoverage) | - |
2866 | context->getProcAddress(QLatin1String("glSampleCoverageOES")); | - |
2867 | } | - |
2868 | #endif | - |
2869 | if (!funcs->sampleCoverage) { never evaluated: !funcs->sampleCoverage | 0 |
2870 | funcs->sampleCoverage = (type_glSampleCoverage) never executed (the execution status of this line is deduced): funcs->sampleCoverage = (type_glSampleCoverage) | - |
2871 | context->getProcAddress(QLatin1String("glSampleCoverageEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glSampleCoverageEXT")); | - |
2872 | } | 0 |
2873 | if (!funcs->sampleCoverage) { never evaluated: !funcs->sampleCoverage | 0 |
2874 | funcs->sampleCoverage = (type_glSampleCoverage) never executed (the execution status of this line is deduced): funcs->sampleCoverage = (type_glSampleCoverage) | - |
2875 | context->getProcAddress(QLatin1String("glSampleCoverageARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glSampleCoverageARB")); | - |
2876 | } | 0 |
2877 | | - |
2878 | if (funcs->sampleCoverage) never evaluated: funcs->sampleCoverage | 0 |
2879 | funcs->sampleCoverage(value, invert); never executed: funcs->sampleCoverage(value, invert); | 0 |
2880 | else | - |
2881 | funcs->sampleCoverage = qglfResolveSampleCoverage; never executed: funcs->sampleCoverage = qglfResolveSampleCoverage; | 0 |
2882 | } | - |
2883 | | - |
2884 | static void QGLF_APIENTRY qglfResolveShaderBinary(GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length) | - |
2885 | { | - |
2886 | typedef void (QGLF_APIENTRYP type_glShaderBinary)(GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length); never executed (the execution status of this line is deduced): typedef void ( * type_glShaderBinary)(GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length); | - |
2887 | | - |
2888 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2889 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2890 | | - |
2891 | funcs->shaderBinary = (type_glShaderBinary) never executed (the execution status of this line is deduced): funcs->shaderBinary = (type_glShaderBinary) | - |
2892 | context->getProcAddress(QLatin1String("glShaderBinary")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glShaderBinary")); | - |
2893 | if (!funcs->shaderBinary) { never evaluated: !funcs->shaderBinary | 0 |
2894 | funcs->shaderBinary = (type_glShaderBinary) never executed (the execution status of this line is deduced): funcs->shaderBinary = (type_glShaderBinary) | - |
2895 | context->getProcAddress(QLatin1String("glShaderBinaryARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glShaderBinaryARB")); | - |
2896 | } | 0 |
2897 | | - |
2898 | if (funcs->shaderBinary) never evaluated: funcs->shaderBinary | 0 |
2899 | funcs->shaderBinary(n, shaders, binaryformat, binary, length); never executed: funcs->shaderBinary(n, shaders, binaryformat, binary, length); | 0 |
2900 | else | - |
2901 | funcs->shaderBinary = qglfResolveShaderBinary; never executed: funcs->shaderBinary = qglfResolveShaderBinary; | 0 |
2902 | } | - |
2903 | | - |
2904 | static void QGLF_APIENTRY qglfResolveShaderSource(GLuint shader, GLsizei count, const char** string, const GLint* length) | - |
2905 | { | - |
2906 | typedef void (QGLF_APIENTRYP type_glShaderSource)(GLuint shader, GLsizei count, const char** string, const GLint* length); never executed (the execution status of this line is deduced): typedef void ( * type_glShaderSource)(GLuint shader, GLsizei count, const char** string, const GLint* length); | - |
2907 | | - |
2908 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2909 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2910 | | - |
2911 | funcs->shaderSource = (type_glShaderSource) never executed (the execution status of this line is deduced): funcs->shaderSource = (type_glShaderSource) | - |
2912 | context->getProcAddress(QLatin1String("glShaderSource")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glShaderSource")); | - |
2913 | if (!funcs->shaderSource) { never evaluated: !funcs->shaderSource | 0 |
2914 | funcs->shaderSource = (type_glShaderSource) never executed (the execution status of this line is deduced): funcs->shaderSource = (type_glShaderSource) | - |
2915 | context->getProcAddress(QLatin1String("glShaderSourceARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glShaderSourceARB")); | - |
2916 | } | 0 |
2917 | | - |
2918 | if (funcs->shaderSource) never evaluated: funcs->shaderSource | 0 |
2919 | funcs->shaderSource(shader, count, string, length); never executed: funcs->shaderSource(shader, count, string, length); | 0 |
2920 | else | - |
2921 | funcs->shaderSource = qglfResolveShaderSource; never executed: funcs->shaderSource = qglfResolveShaderSource; | 0 |
2922 | } | - |
2923 | | - |
2924 | static void QGLF_APIENTRY qglfResolveStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) | - |
2925 | { | - |
2926 | typedef void (QGLF_APIENTRYP type_glStencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); never executed (the execution status of this line is deduced): typedef void ( * type_glStencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); | - |
2927 | | - |
2928 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2929 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2930 | | - |
2931 | funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) never executed (the execution status of this line is deduced): funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) | - |
2932 | context->getProcAddress(QLatin1String("glStencilFuncSeparate")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilFuncSeparate")); | - |
2933 | #ifdef QT_OPENGL_ES | - |
2934 | if (!funcs->stencilFuncSeparate) { | - |
2935 | funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) | - |
2936 | context->getProcAddress(QLatin1String("glStencilFuncSeparateOES")); | - |
2937 | } | - |
2938 | #endif | - |
2939 | if (!funcs->stencilFuncSeparate) { never evaluated: !funcs->stencilFuncSeparate | 0 |
2940 | funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) never executed (the execution status of this line is deduced): funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) | - |
2941 | context->getProcAddress(QLatin1String("glStencilFuncSeparateEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilFuncSeparateEXT")); | - |
2942 | } | 0 |
2943 | if (!funcs->stencilFuncSeparate) { never evaluated: !funcs->stencilFuncSeparate | 0 |
2944 | funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) never executed (the execution status of this line is deduced): funcs->stencilFuncSeparate = (type_glStencilFuncSeparate) | - |
2945 | context->getProcAddress(QLatin1String("glStencilFuncSeparateARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilFuncSeparateARB")); | - |
2946 | } | 0 |
2947 | | - |
2948 | if (funcs->stencilFuncSeparate) never evaluated: funcs->stencilFuncSeparate | 0 |
2949 | funcs->stencilFuncSeparate(face, func, ref, mask); never executed: funcs->stencilFuncSeparate(face, func, ref, mask); | 0 |
2950 | else | - |
2951 | funcs->stencilFuncSeparate = qglfResolveStencilFuncSeparate; never executed: funcs->stencilFuncSeparate = qglfResolveStencilFuncSeparate; | 0 |
2952 | } | - |
2953 | | - |
2954 | static void QGLF_APIENTRY qglfResolveStencilMaskSeparate(GLenum face, GLuint mask) | - |
2955 | { | - |
2956 | typedef void (QGLF_APIENTRYP type_glStencilMaskSeparate)(GLenum face, GLuint mask); never executed (the execution status of this line is deduced): typedef void ( * type_glStencilMaskSeparate)(GLenum face, GLuint mask); | - |
2957 | | - |
2958 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2959 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2960 | | - |
2961 | funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) never executed (the execution status of this line is deduced): funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) | - |
2962 | context->getProcAddress(QLatin1String("glStencilMaskSeparate")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilMaskSeparate")); | - |
2963 | #ifdef QT_OPENGL_ES | - |
2964 | if (!funcs->stencilMaskSeparate) { | - |
2965 | funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) | - |
2966 | context->getProcAddress(QLatin1String("glStencilMaskSeparateOES")); | - |
2967 | } | - |
2968 | #endif | - |
2969 | if (!funcs->stencilMaskSeparate) { never evaluated: !funcs->stencilMaskSeparate | 0 |
2970 | funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) never executed (the execution status of this line is deduced): funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) | - |
2971 | context->getProcAddress(QLatin1String("glStencilMaskSeparateEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilMaskSeparateEXT")); | - |
2972 | } | 0 |
2973 | if (!funcs->stencilMaskSeparate) { never evaluated: !funcs->stencilMaskSeparate | 0 |
2974 | funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) never executed (the execution status of this line is deduced): funcs->stencilMaskSeparate = (type_glStencilMaskSeparate) | - |
2975 | context->getProcAddress(QLatin1String("glStencilMaskSeparateARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilMaskSeparateARB")); | - |
2976 | } | 0 |
2977 | | - |
2978 | if (funcs->stencilMaskSeparate) never evaluated: funcs->stencilMaskSeparate | 0 |
2979 | funcs->stencilMaskSeparate(face, mask); never executed: funcs->stencilMaskSeparate(face, mask); | 0 |
2980 | else | - |
2981 | funcs->stencilMaskSeparate = qglfResolveStencilMaskSeparate; never executed: funcs->stencilMaskSeparate = qglfResolveStencilMaskSeparate; | 0 |
2982 | } | - |
2983 | | - |
2984 | static void QGLF_APIENTRY qglfResolveStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) | - |
2985 | { | - |
2986 | typedef void (QGLF_APIENTRYP type_glStencilOpSeparate)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); never executed (the execution status of this line is deduced): typedef void ( * type_glStencilOpSeparate)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); | - |
2987 | | - |
2988 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
2989 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
2990 | | - |
2991 | funcs->stencilOpSeparate = (type_glStencilOpSeparate) never executed (the execution status of this line is deduced): funcs->stencilOpSeparate = (type_glStencilOpSeparate) | - |
2992 | context->getProcAddress(QLatin1String("glStencilOpSeparate")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilOpSeparate")); | - |
2993 | #ifdef QT_OPENGL_ES | - |
2994 | if (!funcs->stencilOpSeparate) { | - |
2995 | funcs->stencilOpSeparate = (type_glStencilOpSeparate) | - |
2996 | context->getProcAddress(QLatin1String("glStencilOpSeparateOES")); | - |
2997 | } | - |
2998 | #endif | - |
2999 | if (!funcs->stencilOpSeparate) { never evaluated: !funcs->stencilOpSeparate | 0 |
3000 | funcs->stencilOpSeparate = (type_glStencilOpSeparate) never executed (the execution status of this line is deduced): funcs->stencilOpSeparate = (type_glStencilOpSeparate) | - |
3001 | context->getProcAddress(QLatin1String("glStencilOpSeparateEXT")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilOpSeparateEXT")); | - |
3002 | } | 0 |
3003 | if (!funcs->stencilOpSeparate) { never evaluated: !funcs->stencilOpSeparate | 0 |
3004 | funcs->stencilOpSeparate = (type_glStencilOpSeparate) never executed (the execution status of this line is deduced): funcs->stencilOpSeparate = (type_glStencilOpSeparate) | - |
3005 | context->getProcAddress(QLatin1String("glStencilOpSeparateARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glStencilOpSeparateARB")); | - |
3006 | } | 0 |
3007 | | - |
3008 | if (funcs->stencilOpSeparate) never evaluated: funcs->stencilOpSeparate | 0 |
3009 | funcs->stencilOpSeparate(face, fail, zfail, zpass); never executed: funcs->stencilOpSeparate(face, fail, zfail, zpass); | 0 |
3010 | else | - |
3011 | funcs->stencilOpSeparate = qglfResolveStencilOpSeparate; never executed: funcs->stencilOpSeparate = qglfResolveStencilOpSeparate; | 0 |
3012 | } | - |
3013 | | - |
3014 | static void QGLF_APIENTRY qglfResolveUniform1f(GLint location, GLfloat x) | - |
3015 | { | - |
3016 | typedef void (QGLF_APIENTRYP type_glUniform1f)(GLint location, GLfloat x); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform1f)(GLint location, GLfloat x); | - |
3017 | | - |
3018 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3019 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3020 | | - |
3021 | funcs->uniform1f = (type_glUniform1f) never executed (the execution status of this line is deduced): funcs->uniform1f = (type_glUniform1f) | - |
3022 | context->getProcAddress(QLatin1String("glUniform1f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1f")); | - |
3023 | if (!funcs->uniform1f) { never evaluated: !funcs->uniform1f | 0 |
3024 | funcs->uniform1f = (type_glUniform1f) never executed (the execution status of this line is deduced): funcs->uniform1f = (type_glUniform1f) | - |
3025 | context->getProcAddress(QLatin1String("glUniform1fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1fARB")); | - |
3026 | } | 0 |
3027 | | - |
3028 | if (funcs->uniform1f) never evaluated: funcs->uniform1f | 0 |
3029 | funcs->uniform1f(location, x); never executed: funcs->uniform1f(location, x); | 0 |
3030 | else | - |
3031 | funcs->uniform1f = qglfResolveUniform1f; never executed: funcs->uniform1f = qglfResolveUniform1f; | 0 |
3032 | } | - |
3033 | | - |
3034 | static void QGLF_APIENTRY qglfResolveUniform1fv(GLint location, GLsizei count, const GLfloat* v) | - |
3035 | { | - |
3036 | typedef void (QGLF_APIENTRYP type_glUniform1fv)(GLint location, GLsizei count, const GLfloat* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform1fv)(GLint location, GLsizei count, const GLfloat* v); | - |
3037 | | - |
3038 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3039 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3040 | | - |
3041 | funcs->uniform1fv = (type_glUniform1fv) never executed (the execution status of this line is deduced): funcs->uniform1fv = (type_glUniform1fv) | - |
3042 | context->getProcAddress(QLatin1String("glUniform1fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1fv")); | - |
3043 | if (!funcs->uniform1fv) { never evaluated: !funcs->uniform1fv | 0 |
3044 | funcs->uniform1fv = (type_glUniform1fv) never executed (the execution status of this line is deduced): funcs->uniform1fv = (type_glUniform1fv) | - |
3045 | context->getProcAddress(QLatin1String("glUniform1fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1fvARB")); | - |
3046 | } | 0 |
3047 | | - |
3048 | if (funcs->uniform1fv) never evaluated: funcs->uniform1fv | 0 |
3049 | funcs->uniform1fv(location, count, v); never executed: funcs->uniform1fv(location, count, v); | 0 |
3050 | else | - |
3051 | funcs->uniform1fv = qglfResolveUniform1fv; never executed: funcs->uniform1fv = qglfResolveUniform1fv; | 0 |
3052 | } | - |
3053 | | - |
3054 | static void QGLF_APIENTRY qglfResolveUniform1i(GLint location, GLint x) | - |
3055 | { | - |
3056 | typedef void (QGLF_APIENTRYP type_glUniform1i)(GLint location, GLint x); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform1i)(GLint location, GLint x); | - |
3057 | | - |
3058 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3059 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3060 | | - |
3061 | funcs->uniform1i = (type_glUniform1i) never executed (the execution status of this line is deduced): funcs->uniform1i = (type_glUniform1i) | - |
3062 | context->getProcAddress(QLatin1String("glUniform1i")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1i")); | - |
3063 | if (!funcs->uniform1i) { never evaluated: !funcs->uniform1i | 0 |
3064 | funcs->uniform1i = (type_glUniform1i) never executed (the execution status of this line is deduced): funcs->uniform1i = (type_glUniform1i) | - |
3065 | context->getProcAddress(QLatin1String("glUniform1iARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1iARB")); | - |
3066 | } | 0 |
3067 | | - |
3068 | if (funcs->uniform1i) never evaluated: funcs->uniform1i | 0 |
3069 | funcs->uniform1i(location, x); never executed: funcs->uniform1i(location, x); | 0 |
3070 | else | - |
3071 | funcs->uniform1i = qglfResolveUniform1i; never executed: funcs->uniform1i = qglfResolveUniform1i; | 0 |
3072 | } | - |
3073 | | - |
3074 | static void QGLF_APIENTRY qglfResolveUniform1iv(GLint location, GLsizei count, const GLint* v) | - |
3075 | { | - |
3076 | typedef void (QGLF_APIENTRYP type_glUniform1iv)(GLint location, GLsizei count, const GLint* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform1iv)(GLint location, GLsizei count, const GLint* v); | - |
3077 | | - |
3078 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3079 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3080 | | - |
3081 | funcs->uniform1iv = (type_glUniform1iv) never executed (the execution status of this line is deduced): funcs->uniform1iv = (type_glUniform1iv) | - |
3082 | context->getProcAddress(QLatin1String("glUniform1iv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1iv")); | - |
3083 | if (!funcs->uniform1iv) { never evaluated: !funcs->uniform1iv | 0 |
3084 | funcs->uniform1iv = (type_glUniform1iv) never executed (the execution status of this line is deduced): funcs->uniform1iv = (type_glUniform1iv) | - |
3085 | context->getProcAddress(QLatin1String("glUniform1ivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform1ivARB")); | - |
3086 | } | 0 |
3087 | | - |
3088 | if (funcs->uniform1iv) never evaluated: funcs->uniform1iv | 0 |
3089 | funcs->uniform1iv(location, count, v); never executed: funcs->uniform1iv(location, count, v); | 0 |
3090 | else | - |
3091 | funcs->uniform1iv = qglfResolveUniform1iv; never executed: funcs->uniform1iv = qglfResolveUniform1iv; | 0 |
3092 | } | - |
3093 | | - |
3094 | static void QGLF_APIENTRY qglfResolveUniform2f(GLint location, GLfloat x, GLfloat y) | - |
3095 | { | - |
3096 | typedef void (QGLF_APIENTRYP type_glUniform2f)(GLint location, GLfloat x, GLfloat y); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform2f)(GLint location, GLfloat x, GLfloat y); | - |
3097 | | - |
3098 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3099 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3100 | | - |
3101 | funcs->uniform2f = (type_glUniform2f) never executed (the execution status of this line is deduced): funcs->uniform2f = (type_glUniform2f) | - |
3102 | context->getProcAddress(QLatin1String("glUniform2f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2f")); | - |
3103 | if (!funcs->uniform2f) { never evaluated: !funcs->uniform2f | 0 |
3104 | funcs->uniform2f = (type_glUniform2f) never executed (the execution status of this line is deduced): funcs->uniform2f = (type_glUniform2f) | - |
3105 | context->getProcAddress(QLatin1String("glUniform2fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2fARB")); | - |
3106 | } | 0 |
3107 | | - |
3108 | if (funcs->uniform2f) never evaluated: funcs->uniform2f | 0 |
3109 | funcs->uniform2f(location, x, y); never executed: funcs->uniform2f(location, x, y); | 0 |
3110 | else | - |
3111 | funcs->uniform2f = qglfResolveUniform2f; never executed: funcs->uniform2f = qglfResolveUniform2f; | 0 |
3112 | } | - |
3113 | | - |
3114 | static void QGLF_APIENTRY qglfResolveUniform2fv(GLint location, GLsizei count, const GLfloat* v) | - |
3115 | { | - |
3116 | typedef void (QGLF_APIENTRYP type_glUniform2fv)(GLint location, GLsizei count, const GLfloat* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform2fv)(GLint location, GLsizei count, const GLfloat* v); | - |
3117 | | - |
3118 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3119 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3120 | | - |
3121 | funcs->uniform2fv = (type_glUniform2fv) never executed (the execution status of this line is deduced): funcs->uniform2fv = (type_glUniform2fv) | - |
3122 | context->getProcAddress(QLatin1String("glUniform2fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2fv")); | - |
3123 | if (!funcs->uniform2fv) { never evaluated: !funcs->uniform2fv | 0 |
3124 | funcs->uniform2fv = (type_glUniform2fv) never executed (the execution status of this line is deduced): funcs->uniform2fv = (type_glUniform2fv) | - |
3125 | context->getProcAddress(QLatin1String("glUniform2fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2fvARB")); | - |
3126 | } | 0 |
3127 | | - |
3128 | if (funcs->uniform2fv) never evaluated: funcs->uniform2fv | 0 |
3129 | funcs->uniform2fv(location, count, v); never executed: funcs->uniform2fv(location, count, v); | 0 |
3130 | else | - |
3131 | funcs->uniform2fv = qglfResolveUniform2fv; never executed: funcs->uniform2fv = qglfResolveUniform2fv; | 0 |
3132 | } | - |
3133 | | - |
3134 | static void QGLF_APIENTRY qglfResolveUniform2i(GLint location, GLint x, GLint y) | - |
3135 | { | - |
3136 | typedef void (QGLF_APIENTRYP type_glUniform2i)(GLint location, GLint x, GLint y); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform2i)(GLint location, GLint x, GLint y); | - |
3137 | | - |
3138 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3139 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3140 | | - |
3141 | funcs->uniform2i = (type_glUniform2i) never executed (the execution status of this line is deduced): funcs->uniform2i = (type_glUniform2i) | - |
3142 | context->getProcAddress(QLatin1String("glUniform2i")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2i")); | - |
3143 | if (!funcs->uniform2i) { never evaluated: !funcs->uniform2i | 0 |
3144 | funcs->uniform2i = (type_glUniform2i) never executed (the execution status of this line is deduced): funcs->uniform2i = (type_glUniform2i) | - |
3145 | context->getProcAddress(QLatin1String("glUniform2iARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2iARB")); | - |
3146 | } | 0 |
3147 | | - |
3148 | if (funcs->uniform2i) never evaluated: funcs->uniform2i | 0 |
3149 | funcs->uniform2i(location, x, y); never executed: funcs->uniform2i(location, x, y); | 0 |
3150 | else | - |
3151 | funcs->uniform2i = qglfResolveUniform2i; never executed: funcs->uniform2i = qglfResolveUniform2i; | 0 |
3152 | } | - |
3153 | | - |
3154 | static void QGLF_APIENTRY qglfResolveUniform2iv(GLint location, GLsizei count, const GLint* v) | - |
3155 | { | - |
3156 | typedef void (QGLF_APIENTRYP type_glUniform2iv)(GLint location, GLsizei count, const GLint* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform2iv)(GLint location, GLsizei count, const GLint* v); | - |
3157 | | - |
3158 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3159 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3160 | | - |
3161 | funcs->uniform2iv = (type_glUniform2iv) never executed (the execution status of this line is deduced): funcs->uniform2iv = (type_glUniform2iv) | - |
3162 | context->getProcAddress(QLatin1String("glUniform2iv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2iv")); | - |
3163 | if (!funcs->uniform2iv) { never evaluated: !funcs->uniform2iv | 0 |
3164 | funcs->uniform2iv = (type_glUniform2iv) never executed (the execution status of this line is deduced): funcs->uniform2iv = (type_glUniform2iv) | - |
3165 | context->getProcAddress(QLatin1String("glUniform2ivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform2ivARB")); | - |
3166 | } | 0 |
3167 | | - |
3168 | if (funcs->uniform2iv) never evaluated: funcs->uniform2iv | 0 |
3169 | funcs->uniform2iv(location, count, v); never executed: funcs->uniform2iv(location, count, v); | 0 |
3170 | else | - |
3171 | funcs->uniform2iv = qglfResolveUniform2iv; never executed: funcs->uniform2iv = qglfResolveUniform2iv; | 0 |
3172 | } | - |
3173 | | - |
3174 | static void QGLF_APIENTRY qglfResolveUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) | - |
3175 | { | - |
3176 | typedef void (QGLF_APIENTRYP type_glUniform3f)(GLint location, GLfloat x, GLfloat y, GLfloat z); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform3f)(GLint location, GLfloat x, GLfloat y, GLfloat z); | - |
3177 | | - |
3178 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3179 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3180 | | - |
3181 | funcs->uniform3f = (type_glUniform3f) never executed (the execution status of this line is deduced): funcs->uniform3f = (type_glUniform3f) | - |
3182 | context->getProcAddress(QLatin1String("glUniform3f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3f")); | - |
3183 | if (!funcs->uniform3f) { never evaluated: !funcs->uniform3f | 0 |
3184 | funcs->uniform3f = (type_glUniform3f) never executed (the execution status of this line is deduced): funcs->uniform3f = (type_glUniform3f) | - |
3185 | context->getProcAddress(QLatin1String("glUniform3fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3fARB")); | - |
3186 | } | 0 |
3187 | | - |
3188 | if (funcs->uniform3f) never evaluated: funcs->uniform3f | 0 |
3189 | funcs->uniform3f(location, x, y, z); never executed: funcs->uniform3f(location, x, y, z); | 0 |
3190 | else | - |
3191 | funcs->uniform3f = qglfResolveUniform3f; never executed: funcs->uniform3f = qglfResolveUniform3f; | 0 |
3192 | } | - |
3193 | | - |
3194 | static void QGLF_APIENTRY qglfResolveUniform3fv(GLint location, GLsizei count, const GLfloat* v) | - |
3195 | { | - |
3196 | typedef void (QGLF_APIENTRYP type_glUniform3fv)(GLint location, GLsizei count, const GLfloat* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform3fv)(GLint location, GLsizei count, const GLfloat* v); | - |
3197 | | - |
3198 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3199 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3200 | | - |
3201 | funcs->uniform3fv = (type_glUniform3fv) never executed (the execution status of this line is deduced): funcs->uniform3fv = (type_glUniform3fv) | - |
3202 | context->getProcAddress(QLatin1String("glUniform3fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3fv")); | - |
3203 | if (!funcs->uniform3fv) { never evaluated: !funcs->uniform3fv | 0 |
3204 | funcs->uniform3fv = (type_glUniform3fv) never executed (the execution status of this line is deduced): funcs->uniform3fv = (type_glUniform3fv) | - |
3205 | context->getProcAddress(QLatin1String("glUniform3fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3fvARB")); | - |
3206 | } | 0 |
3207 | | - |
3208 | if (funcs->uniform3fv) never evaluated: funcs->uniform3fv | 0 |
3209 | funcs->uniform3fv(location, count, v); never executed: funcs->uniform3fv(location, count, v); | 0 |
3210 | else | - |
3211 | funcs->uniform3fv = qglfResolveUniform3fv; never executed: funcs->uniform3fv = qglfResolveUniform3fv; | 0 |
3212 | } | - |
3213 | | - |
3214 | static void QGLF_APIENTRY qglfResolveUniform3i(GLint location, GLint x, GLint y, GLint z) | - |
3215 | { | - |
3216 | typedef void (QGLF_APIENTRYP type_glUniform3i)(GLint location, GLint x, GLint y, GLint z); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform3i)(GLint location, GLint x, GLint y, GLint z); | - |
3217 | | - |
3218 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3219 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3220 | | - |
3221 | funcs->uniform3i = (type_glUniform3i) never executed (the execution status of this line is deduced): funcs->uniform3i = (type_glUniform3i) | - |
3222 | context->getProcAddress(QLatin1String("glUniform3i")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3i")); | - |
3223 | if (!funcs->uniform3i) { never evaluated: !funcs->uniform3i | 0 |
3224 | funcs->uniform3i = (type_glUniform3i) never executed (the execution status of this line is deduced): funcs->uniform3i = (type_glUniform3i) | - |
3225 | context->getProcAddress(QLatin1String("glUniform3iARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3iARB")); | - |
3226 | } | 0 |
3227 | | - |
3228 | if (funcs->uniform3i) never evaluated: funcs->uniform3i | 0 |
3229 | funcs->uniform3i(location, x, y, z); never executed: funcs->uniform3i(location, x, y, z); | 0 |
3230 | else | - |
3231 | funcs->uniform3i = qglfResolveUniform3i; never executed: funcs->uniform3i = qglfResolveUniform3i; | 0 |
3232 | } | - |
3233 | | - |
3234 | static void QGLF_APIENTRY qglfResolveUniform3iv(GLint location, GLsizei count, const GLint* v) | - |
3235 | { | - |
3236 | typedef void (QGLF_APIENTRYP type_glUniform3iv)(GLint location, GLsizei count, const GLint* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform3iv)(GLint location, GLsizei count, const GLint* v); | - |
3237 | | - |
3238 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3239 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3240 | | - |
3241 | funcs->uniform3iv = (type_glUniform3iv) never executed (the execution status of this line is deduced): funcs->uniform3iv = (type_glUniform3iv) | - |
3242 | context->getProcAddress(QLatin1String("glUniform3iv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3iv")); | - |
3243 | if (!funcs->uniform3iv) { never evaluated: !funcs->uniform3iv | 0 |
3244 | funcs->uniform3iv = (type_glUniform3iv) never executed (the execution status of this line is deduced): funcs->uniform3iv = (type_glUniform3iv) | - |
3245 | context->getProcAddress(QLatin1String("glUniform3ivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform3ivARB")); | - |
3246 | } | 0 |
3247 | | - |
3248 | if (funcs->uniform3iv) never evaluated: funcs->uniform3iv | 0 |
3249 | funcs->uniform3iv(location, count, v); never executed: funcs->uniform3iv(location, count, v); | 0 |
3250 | else | - |
3251 | funcs->uniform3iv = qglfResolveUniform3iv; never executed: funcs->uniform3iv = qglfResolveUniform3iv; | 0 |
3252 | } | - |
3253 | | - |
3254 | static void QGLF_APIENTRY qglfResolveUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) | - |
3255 | { | - |
3256 | typedef void (QGLF_APIENTRYP type_glUniform4f)(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform4f)(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | - |
3257 | | - |
3258 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3259 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3260 | | - |
3261 | funcs->uniform4f = (type_glUniform4f) never executed (the execution status of this line is deduced): funcs->uniform4f = (type_glUniform4f) | - |
3262 | context->getProcAddress(QLatin1String("glUniform4f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4f")); | - |
3263 | if (!funcs->uniform4f) { never evaluated: !funcs->uniform4f | 0 |
3264 | funcs->uniform4f = (type_glUniform4f) never executed (the execution status of this line is deduced): funcs->uniform4f = (type_glUniform4f) | - |
3265 | context->getProcAddress(QLatin1String("glUniform4fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4fARB")); | - |
3266 | } | 0 |
3267 | | - |
3268 | if (funcs->uniform4f) never evaluated: funcs->uniform4f | 0 |
3269 | funcs->uniform4f(location, x, y, z, w); never executed: funcs->uniform4f(location, x, y, z, w); | 0 |
3270 | else | - |
3271 | funcs->uniform4f = qglfResolveUniform4f; never executed: funcs->uniform4f = qglfResolveUniform4f; | 0 |
3272 | } | - |
3273 | | - |
3274 | static void QGLF_APIENTRY qglfResolveUniform4fv(GLint location, GLsizei count, const GLfloat* v) | - |
3275 | { | - |
3276 | typedef void (QGLF_APIENTRYP type_glUniform4fv)(GLint location, GLsizei count, const GLfloat* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform4fv)(GLint location, GLsizei count, const GLfloat* v); | - |
3277 | | - |
3278 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3279 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3280 | | - |
3281 | funcs->uniform4fv = (type_glUniform4fv) never executed (the execution status of this line is deduced): funcs->uniform4fv = (type_glUniform4fv) | - |
3282 | context->getProcAddress(QLatin1String("glUniform4fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4fv")); | - |
3283 | if (!funcs->uniform4fv) { never evaluated: !funcs->uniform4fv | 0 |
3284 | funcs->uniform4fv = (type_glUniform4fv) never executed (the execution status of this line is deduced): funcs->uniform4fv = (type_glUniform4fv) | - |
3285 | context->getProcAddress(QLatin1String("glUniform4fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4fvARB")); | - |
3286 | } | 0 |
3287 | | - |
3288 | if (funcs->uniform4fv) never evaluated: funcs->uniform4fv | 0 |
3289 | funcs->uniform4fv(location, count, v); never executed: funcs->uniform4fv(location, count, v); | 0 |
3290 | else | - |
3291 | funcs->uniform4fv = qglfResolveUniform4fv; never executed: funcs->uniform4fv = qglfResolveUniform4fv; | 0 |
3292 | } | - |
3293 | | - |
3294 | static void QGLF_APIENTRY qglfResolveUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) | - |
3295 | { | - |
3296 | typedef void (QGLF_APIENTRYP type_glUniform4i)(GLint location, GLint x, GLint y, GLint z, GLint w); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform4i)(GLint location, GLint x, GLint y, GLint z, GLint w); | - |
3297 | | - |
3298 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3299 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3300 | | - |
3301 | funcs->uniform4i = (type_glUniform4i) never executed (the execution status of this line is deduced): funcs->uniform4i = (type_glUniform4i) | - |
3302 | context->getProcAddress(QLatin1String("glUniform4i")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4i")); | - |
3303 | if (!funcs->uniform4i) { never evaluated: !funcs->uniform4i | 0 |
3304 | funcs->uniform4i = (type_glUniform4i) never executed (the execution status of this line is deduced): funcs->uniform4i = (type_glUniform4i) | - |
3305 | context->getProcAddress(QLatin1String("glUniform4iARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4iARB")); | - |
3306 | } | 0 |
3307 | | - |
3308 | if (funcs->uniform4i) never evaluated: funcs->uniform4i | 0 |
3309 | funcs->uniform4i(location, x, y, z, w); never executed: funcs->uniform4i(location, x, y, z, w); | 0 |
3310 | else | - |
3311 | funcs->uniform4i = qglfResolveUniform4i; never executed: funcs->uniform4i = qglfResolveUniform4i; | 0 |
3312 | } | - |
3313 | | - |
3314 | static void QGLF_APIENTRY qglfResolveUniform4iv(GLint location, GLsizei count, const GLint* v) | - |
3315 | { | - |
3316 | typedef void (QGLF_APIENTRYP type_glUniform4iv)(GLint location, GLsizei count, const GLint* v); never executed (the execution status of this line is deduced): typedef void ( * type_glUniform4iv)(GLint location, GLsizei count, const GLint* v); | - |
3317 | | - |
3318 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3319 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3320 | | - |
3321 | funcs->uniform4iv = (type_glUniform4iv) never executed (the execution status of this line is deduced): funcs->uniform4iv = (type_glUniform4iv) | - |
3322 | context->getProcAddress(QLatin1String("glUniform4iv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4iv")); | - |
3323 | if (!funcs->uniform4iv) { never evaluated: !funcs->uniform4iv | 0 |
3324 | funcs->uniform4iv = (type_glUniform4iv) never executed (the execution status of this line is deduced): funcs->uniform4iv = (type_glUniform4iv) | - |
3325 | context->getProcAddress(QLatin1String("glUniform4ivARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniform4ivARB")); | - |
3326 | } | 0 |
3327 | | - |
3328 | if (funcs->uniform4iv) never evaluated: funcs->uniform4iv | 0 |
3329 | funcs->uniform4iv(location, count, v); never executed: funcs->uniform4iv(location, count, v); | 0 |
3330 | else | - |
3331 | funcs->uniform4iv = qglfResolveUniform4iv; never executed: funcs->uniform4iv = qglfResolveUniform4iv; | 0 |
3332 | } | - |
3333 | | - |
3334 | static void QGLF_APIENTRY qglfResolveUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) | - |
3335 | { | - |
3336 | typedef void (QGLF_APIENTRYP type_glUniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); never executed (the execution status of this line is deduced): typedef void ( * type_glUniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); | - |
3337 | | - |
3338 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3339 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3340 | | - |
3341 | funcs->uniformMatrix2fv = (type_glUniformMatrix2fv) never executed (the execution status of this line is deduced): funcs->uniformMatrix2fv = (type_glUniformMatrix2fv) | - |
3342 | context->getProcAddress(QLatin1String("glUniformMatrix2fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniformMatrix2fv")); | - |
3343 | if (!funcs->uniformMatrix2fv) { never evaluated: !funcs->uniformMatrix2fv | 0 |
3344 | funcs->uniformMatrix2fv = (type_glUniformMatrix2fv) never executed (the execution status of this line is deduced): funcs->uniformMatrix2fv = (type_glUniformMatrix2fv) | - |
3345 | context->getProcAddress(QLatin1String("glUniformMatrix2fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniformMatrix2fvARB")); | - |
3346 | } | 0 |
3347 | | - |
3348 | if (funcs->uniformMatrix2fv) never evaluated: funcs->uniformMatrix2fv | 0 |
3349 | funcs->uniformMatrix2fv(location, count, transpose, value); never executed: funcs->uniformMatrix2fv(location, count, transpose, value); | 0 |
3350 | else | - |
3351 | funcs->uniformMatrix2fv = qglfResolveUniformMatrix2fv; never executed: funcs->uniformMatrix2fv = qglfResolveUniformMatrix2fv; | 0 |
3352 | } | - |
3353 | | - |
3354 | static void QGLF_APIENTRY qglfResolveUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) | - |
3355 | { | - |
3356 | typedef void (QGLF_APIENTRYP type_glUniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); never executed (the execution status of this line is deduced): typedef void ( * type_glUniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); | - |
3357 | | - |
3358 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3359 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3360 | | - |
3361 | funcs->uniformMatrix3fv = (type_glUniformMatrix3fv) never executed (the execution status of this line is deduced): funcs->uniformMatrix3fv = (type_glUniformMatrix3fv) | - |
3362 | context->getProcAddress(QLatin1String("glUniformMatrix3fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniformMatrix3fv")); | - |
3363 | if (!funcs->uniformMatrix3fv) { never evaluated: !funcs->uniformMatrix3fv | 0 |
3364 | funcs->uniformMatrix3fv = (type_glUniformMatrix3fv) never executed (the execution status of this line is deduced): funcs->uniformMatrix3fv = (type_glUniformMatrix3fv) | - |
3365 | context->getProcAddress(QLatin1String("glUniformMatrix3fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniformMatrix3fvARB")); | - |
3366 | } | 0 |
3367 | | - |
3368 | if (funcs->uniformMatrix3fv) never evaluated: funcs->uniformMatrix3fv | 0 |
3369 | funcs->uniformMatrix3fv(location, count, transpose, value); never executed: funcs->uniformMatrix3fv(location, count, transpose, value); | 0 |
3370 | else | - |
3371 | funcs->uniformMatrix3fv = qglfResolveUniformMatrix3fv; never executed: funcs->uniformMatrix3fv = qglfResolveUniformMatrix3fv; | 0 |
3372 | } | - |
3373 | | - |
3374 | static void QGLF_APIENTRY qglfResolveUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) | - |
3375 | { | - |
3376 | typedef void (QGLF_APIENTRYP type_glUniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); never executed (the execution status of this line is deduced): typedef void ( * type_glUniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); | - |
3377 | | - |
3378 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3379 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3380 | | - |
3381 | funcs->uniformMatrix4fv = (type_glUniformMatrix4fv) never executed (the execution status of this line is deduced): funcs->uniformMatrix4fv = (type_glUniformMatrix4fv) | - |
3382 | context->getProcAddress(QLatin1String("glUniformMatrix4fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniformMatrix4fv")); | - |
3383 | if (!funcs->uniformMatrix4fv) { never evaluated: !funcs->uniformMatrix4fv | 0 |
3384 | funcs->uniformMatrix4fv = (type_glUniformMatrix4fv) never executed (the execution status of this line is deduced): funcs->uniformMatrix4fv = (type_glUniformMatrix4fv) | - |
3385 | context->getProcAddress(QLatin1String("glUniformMatrix4fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUniformMatrix4fvARB")); | - |
3386 | } | 0 |
3387 | | - |
3388 | if (funcs->uniformMatrix4fv) never evaluated: funcs->uniformMatrix4fv | 0 |
3389 | funcs->uniformMatrix4fv(location, count, transpose, value); never executed: funcs->uniformMatrix4fv(location, count, transpose, value); | 0 |
3390 | else | - |
3391 | funcs->uniformMatrix4fv = qglfResolveUniformMatrix4fv; never executed: funcs->uniformMatrix4fv = qglfResolveUniformMatrix4fv; | 0 |
3392 | } | - |
3393 | | - |
3394 | static void QGLF_APIENTRY qglfResolveUseProgram(GLuint program) | - |
3395 | { | - |
3396 | typedef void (QGLF_APIENTRYP type_glUseProgram)(GLuint program); never executed (the execution status of this line is deduced): typedef void ( * type_glUseProgram)(GLuint program); | - |
3397 | | - |
3398 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3399 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3400 | | - |
3401 | funcs->useProgram = (type_glUseProgram) never executed (the execution status of this line is deduced): funcs->useProgram = (type_glUseProgram) | - |
3402 | context->getProcAddress(QLatin1String("glUseProgram")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUseProgram")); | - |
3403 | if (!funcs->useProgram) { never evaluated: !funcs->useProgram | 0 |
3404 | funcs->useProgram = (type_glUseProgram) never executed (the execution status of this line is deduced): funcs->useProgram = (type_glUseProgram) | - |
3405 | context->getProcAddress(QLatin1String("glUseProgramObjectARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glUseProgramObjectARB")); | - |
3406 | } | 0 |
3407 | | - |
3408 | if (funcs->useProgram) never evaluated: funcs->useProgram | 0 |
3409 | funcs->useProgram(program); never executed: funcs->useProgram(program); | 0 |
3410 | else | - |
3411 | funcs->useProgram = qglfResolveUseProgram; never executed: funcs->useProgram = qglfResolveUseProgram; | 0 |
3412 | } | - |
3413 | | - |
3414 | static void QGLF_APIENTRY qglfResolveValidateProgram(GLuint program) | - |
3415 | { | - |
3416 | typedef void (QGLF_APIENTRYP type_glValidateProgram)(GLuint program); never executed (the execution status of this line is deduced): typedef void ( * type_glValidateProgram)(GLuint program); | - |
3417 | | - |
3418 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3419 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3420 | | - |
3421 | funcs->validateProgram = (type_glValidateProgram) never executed (the execution status of this line is deduced): funcs->validateProgram = (type_glValidateProgram) | - |
3422 | context->getProcAddress(QLatin1String("glValidateProgram")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glValidateProgram")); | - |
3423 | if (!funcs->validateProgram) { never evaluated: !funcs->validateProgram | 0 |
3424 | funcs->validateProgram = (type_glValidateProgram) never executed (the execution status of this line is deduced): funcs->validateProgram = (type_glValidateProgram) | - |
3425 | context->getProcAddress(QLatin1String("glValidateProgramARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glValidateProgramARB")); | - |
3426 | } | 0 |
3427 | | - |
3428 | if (funcs->validateProgram) never evaluated: funcs->validateProgram | 0 |
3429 | funcs->validateProgram(program); never executed: funcs->validateProgram(program); | 0 |
3430 | else | - |
3431 | funcs->validateProgram = qglfResolveValidateProgram; never executed: funcs->validateProgram = qglfResolveValidateProgram; | 0 |
3432 | } | - |
3433 | | - |
3434 | static void QGLF_APIENTRY qglfResolveVertexAttrib1f(GLuint indx, GLfloat x) | - |
3435 | { | - |
3436 | typedef void (QGLF_APIENTRYP type_glVertexAttrib1f)(GLuint indx, GLfloat x); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib1f)(GLuint indx, GLfloat x); | - |
3437 | | - |
3438 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3439 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3440 | | - |
3441 | funcs->vertexAttrib1f = (type_glVertexAttrib1f) never executed (the execution status of this line is deduced): funcs->vertexAttrib1f = (type_glVertexAttrib1f) | - |
3442 | context->getProcAddress(QLatin1String("glVertexAttrib1f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib1f")); | - |
3443 | if (!funcs->vertexAttrib1f) { never evaluated: !funcs->vertexAttrib1f | 0 |
3444 | funcs->vertexAttrib1f = (type_glVertexAttrib1f) never executed (the execution status of this line is deduced): funcs->vertexAttrib1f = (type_glVertexAttrib1f) | - |
3445 | context->getProcAddress(QLatin1String("glVertexAttrib1fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib1fARB")); | - |
3446 | } | 0 |
3447 | | - |
3448 | if (funcs->vertexAttrib1f) never evaluated: funcs->vertexAttrib1f | 0 |
3449 | funcs->vertexAttrib1f(indx, x); never executed: funcs->vertexAttrib1f(indx, x); | 0 |
3450 | else | - |
3451 | funcs->vertexAttrib1f = qglfResolveVertexAttrib1f; never executed: funcs->vertexAttrib1f = qglfResolveVertexAttrib1f; | 0 |
3452 | } | - |
3453 | | - |
3454 | static void QGLF_APIENTRY qglfResolveVertexAttrib1fv(GLuint indx, const GLfloat* values) | - |
3455 | { | - |
3456 | typedef void (QGLF_APIENTRYP type_glVertexAttrib1fv)(GLuint indx, const GLfloat* values); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib1fv)(GLuint indx, const GLfloat* values); | - |
3457 | | - |
3458 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3459 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3460 | | - |
3461 | funcs->vertexAttrib1fv = (type_glVertexAttrib1fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib1fv = (type_glVertexAttrib1fv) | - |
3462 | context->getProcAddress(QLatin1String("glVertexAttrib1fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib1fv")); | - |
3463 | if (!funcs->vertexAttrib1fv) { never evaluated: !funcs->vertexAttrib1fv | 0 |
3464 | funcs->vertexAttrib1fv = (type_glVertexAttrib1fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib1fv = (type_glVertexAttrib1fv) | - |
3465 | context->getProcAddress(QLatin1String("glVertexAttrib1fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib1fvARB")); | - |
3466 | } | 0 |
3467 | | - |
3468 | if (funcs->vertexAttrib1fv) never evaluated: funcs->vertexAttrib1fv | 0 |
3469 | funcs->vertexAttrib1fv(indx, values); never executed: funcs->vertexAttrib1fv(indx, values); | 0 |
3470 | else | - |
3471 | funcs->vertexAttrib1fv = qglfResolveVertexAttrib1fv; never executed: funcs->vertexAttrib1fv = qglfResolveVertexAttrib1fv; | 0 |
3472 | } | - |
3473 | | - |
3474 | static void QGLF_APIENTRY qglfResolveVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) | - |
3475 | { | - |
3476 | typedef void (QGLF_APIENTRYP type_glVertexAttrib2f)(GLuint indx, GLfloat x, GLfloat y); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib2f)(GLuint indx, GLfloat x, GLfloat y); | - |
3477 | | - |
3478 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3479 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3480 | | - |
3481 | funcs->vertexAttrib2f = (type_glVertexAttrib2f) never executed (the execution status of this line is deduced): funcs->vertexAttrib2f = (type_glVertexAttrib2f) | - |
3482 | context->getProcAddress(QLatin1String("glVertexAttrib2f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib2f")); | - |
3483 | if (!funcs->vertexAttrib2f) { never evaluated: !funcs->vertexAttrib2f | 0 |
3484 | funcs->vertexAttrib2f = (type_glVertexAttrib2f) never executed (the execution status of this line is deduced): funcs->vertexAttrib2f = (type_glVertexAttrib2f) | - |
3485 | context->getProcAddress(QLatin1String("glVertexAttrib2fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib2fARB")); | - |
3486 | } | 0 |
3487 | | - |
3488 | if (funcs->vertexAttrib2f) never evaluated: funcs->vertexAttrib2f | 0 |
3489 | funcs->vertexAttrib2f(indx, x, y); never executed: funcs->vertexAttrib2f(indx, x, y); | 0 |
3490 | else | - |
3491 | funcs->vertexAttrib2f = qglfResolveVertexAttrib2f; never executed: funcs->vertexAttrib2f = qglfResolveVertexAttrib2f; | 0 |
3492 | } | - |
3493 | | - |
3494 | static void QGLF_APIENTRY qglfResolveVertexAttrib2fv(GLuint indx, const GLfloat* values) | - |
3495 | { | - |
3496 | typedef void (QGLF_APIENTRYP type_glVertexAttrib2fv)(GLuint indx, const GLfloat* values); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib2fv)(GLuint indx, const GLfloat* values); | - |
3497 | | - |
3498 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3499 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3500 | | - |
3501 | funcs->vertexAttrib2fv = (type_glVertexAttrib2fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib2fv = (type_glVertexAttrib2fv) | - |
3502 | context->getProcAddress(QLatin1String("glVertexAttrib2fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib2fv")); | - |
3503 | if (!funcs->vertexAttrib2fv) { never evaluated: !funcs->vertexAttrib2fv | 0 |
3504 | funcs->vertexAttrib2fv = (type_glVertexAttrib2fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib2fv = (type_glVertexAttrib2fv) | - |
3505 | context->getProcAddress(QLatin1String("glVertexAttrib2fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib2fvARB")); | - |
3506 | } | 0 |
3507 | | - |
3508 | if (funcs->vertexAttrib2fv) never evaluated: funcs->vertexAttrib2fv | 0 |
3509 | funcs->vertexAttrib2fv(indx, values); never executed: funcs->vertexAttrib2fv(indx, values); | 0 |
3510 | else | - |
3511 | funcs->vertexAttrib2fv = qglfResolveVertexAttrib2fv; never executed: funcs->vertexAttrib2fv = qglfResolveVertexAttrib2fv; | 0 |
3512 | } | - |
3513 | | - |
3514 | static void QGLF_APIENTRY qglfResolveVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) | - |
3515 | { | - |
3516 | typedef void (QGLF_APIENTRYP type_glVertexAttrib3f)(GLuint indx, GLfloat x, GLfloat y, GLfloat z); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib3f)(GLuint indx, GLfloat x, GLfloat y, GLfloat z); | - |
3517 | | - |
3518 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3519 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3520 | | - |
3521 | funcs->vertexAttrib3f = (type_glVertexAttrib3f) never executed (the execution status of this line is deduced): funcs->vertexAttrib3f = (type_glVertexAttrib3f) | - |
3522 | context->getProcAddress(QLatin1String("glVertexAttrib3f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib3f")); | - |
3523 | if (!funcs->vertexAttrib3f) { never evaluated: !funcs->vertexAttrib3f | 0 |
3524 | funcs->vertexAttrib3f = (type_glVertexAttrib3f) never executed (the execution status of this line is deduced): funcs->vertexAttrib3f = (type_glVertexAttrib3f) | - |
3525 | context->getProcAddress(QLatin1String("glVertexAttrib3fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib3fARB")); | - |
3526 | } | 0 |
3527 | | - |
3528 | if (funcs->vertexAttrib3f) never evaluated: funcs->vertexAttrib3f | 0 |
3529 | funcs->vertexAttrib3f(indx, x, y, z); never executed: funcs->vertexAttrib3f(indx, x, y, z); | 0 |
3530 | else | - |
3531 | funcs->vertexAttrib3f = qglfResolveVertexAttrib3f; never executed: funcs->vertexAttrib3f = qglfResolveVertexAttrib3f; | 0 |
3532 | } | - |
3533 | | - |
3534 | static void QGLF_APIENTRY qglfResolveVertexAttrib3fv(GLuint indx, const GLfloat* values) | - |
3535 | { | - |
3536 | typedef void (QGLF_APIENTRYP type_glVertexAttrib3fv)(GLuint indx, const GLfloat* values); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib3fv)(GLuint indx, const GLfloat* values); | - |
3537 | | - |
3538 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3539 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3540 | | - |
3541 | funcs->vertexAttrib3fv = (type_glVertexAttrib3fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib3fv = (type_glVertexAttrib3fv) | - |
3542 | context->getProcAddress(QLatin1String("glVertexAttrib3fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib3fv")); | - |
3543 | if (!funcs->vertexAttrib3fv) { never evaluated: !funcs->vertexAttrib3fv | 0 |
3544 | funcs->vertexAttrib3fv = (type_glVertexAttrib3fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib3fv = (type_glVertexAttrib3fv) | - |
3545 | context->getProcAddress(QLatin1String("glVertexAttrib3fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib3fvARB")); | - |
3546 | } | 0 |
3547 | | - |
3548 | if (funcs->vertexAttrib3fv) never evaluated: funcs->vertexAttrib3fv | 0 |
3549 | funcs->vertexAttrib3fv(indx, values); never executed: funcs->vertexAttrib3fv(indx, values); | 0 |
3550 | else | - |
3551 | funcs->vertexAttrib3fv = qglfResolveVertexAttrib3fv; never executed: funcs->vertexAttrib3fv = qglfResolveVertexAttrib3fv; | 0 |
3552 | } | - |
3553 | | - |
3554 | static void QGLF_APIENTRY qglfResolveVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) | - |
3555 | { | - |
3556 | typedef void (QGLF_APIENTRYP type_glVertexAttrib4f)(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib4f)(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | - |
3557 | | - |
3558 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3559 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3560 | | - |
3561 | funcs->vertexAttrib4f = (type_glVertexAttrib4f) never executed (the execution status of this line is deduced): funcs->vertexAttrib4f = (type_glVertexAttrib4f) | - |
3562 | context->getProcAddress(QLatin1String("glVertexAttrib4f")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib4f")); | - |
3563 | if (!funcs->vertexAttrib4f) { never evaluated: !funcs->vertexAttrib4f | 0 |
3564 | funcs->vertexAttrib4f = (type_glVertexAttrib4f) never executed (the execution status of this line is deduced): funcs->vertexAttrib4f = (type_glVertexAttrib4f) | - |
3565 | context->getProcAddress(QLatin1String("glVertexAttrib4fARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib4fARB")); | - |
3566 | } | 0 |
3567 | | - |
3568 | if (funcs->vertexAttrib4f) never evaluated: funcs->vertexAttrib4f | 0 |
3569 | funcs->vertexAttrib4f(indx, x, y, z, w); never executed: funcs->vertexAttrib4f(indx, x, y, z, w); | 0 |
3570 | else | - |
3571 | funcs->vertexAttrib4f = qglfResolveVertexAttrib4f; never executed: funcs->vertexAttrib4f = qglfResolveVertexAttrib4f; | 0 |
3572 | } | - |
3573 | | - |
3574 | static void QGLF_APIENTRY qglfResolveVertexAttrib4fv(GLuint indx, const GLfloat* values) | - |
3575 | { | - |
3576 | typedef void (QGLF_APIENTRYP type_glVertexAttrib4fv)(GLuint indx, const GLfloat* values); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttrib4fv)(GLuint indx, const GLfloat* values); | - |
3577 | | - |
3578 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3579 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3580 | | - |
3581 | funcs->vertexAttrib4fv = (type_glVertexAttrib4fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib4fv = (type_glVertexAttrib4fv) | - |
3582 | context->getProcAddress(QLatin1String("glVertexAttrib4fv")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib4fv")); | - |
3583 | if (!funcs->vertexAttrib4fv) { never evaluated: !funcs->vertexAttrib4fv | 0 |
3584 | funcs->vertexAttrib4fv = (type_glVertexAttrib4fv) never executed (the execution status of this line is deduced): funcs->vertexAttrib4fv = (type_glVertexAttrib4fv) | - |
3585 | context->getProcAddress(QLatin1String("glVertexAttrib4fvARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttrib4fvARB")); | - |
3586 | } | 0 |
3587 | | - |
3588 | if (funcs->vertexAttrib4fv) never evaluated: funcs->vertexAttrib4fv | 0 |
3589 | funcs->vertexAttrib4fv(indx, values); never executed: funcs->vertexAttrib4fv(indx, values); | 0 |
3590 | else | - |
3591 | funcs->vertexAttrib4fv = qglfResolveVertexAttrib4fv; never executed: funcs->vertexAttrib4fv = qglfResolveVertexAttrib4fv; | 0 |
3592 | } | - |
3593 | | - |
3594 | static void QGLF_APIENTRY qglfResolveVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) | - |
3595 | { | - |
3596 | typedef void (QGLF_APIENTRYP type_glVertexAttribPointer)(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); never executed (the execution status of this line is deduced): typedef void ( * type_glVertexAttribPointer)(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); | - |
3597 | | - |
3598 | const QGLContext *context = QGLContext::currentContext(); never executed (the execution status of this line is deduced): const QGLContext *context = QGLContext::currentContext(); | - |
3599 | QGLFunctionsPrivate *funcs = qt_gl_functions(context); never executed (the execution status of this line is deduced): QGLFunctionsPrivate *funcs = qt_gl_functions(context); | - |
3600 | | - |
3601 | funcs->vertexAttribPointer = (type_glVertexAttribPointer) never executed (the execution status of this line is deduced): funcs->vertexAttribPointer = (type_glVertexAttribPointer) | - |
3602 | context->getProcAddress(QLatin1String("glVertexAttribPointer")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttribPointer")); | - |
3603 | if (!funcs->vertexAttribPointer) { never evaluated: !funcs->vertexAttribPointer | 0 |
3604 | funcs->vertexAttribPointer = (type_glVertexAttribPointer) never executed (the execution status of this line is deduced): funcs->vertexAttribPointer = (type_glVertexAttribPointer) | - |
3605 | context->getProcAddress(QLatin1String("glVertexAttribPointerARB")); never executed (the execution status of this line is deduced): context->getProcAddress(QLatin1String("glVertexAttribPointerARB")); | - |
3606 | } | 0 |
3607 | | - |
3608 | if (funcs->vertexAttribPointer) never evaluated: funcs->vertexAttribPointer | 0 |
3609 | funcs->vertexAttribPointer(indx, size, type, normalized, stride, ptr); never executed: funcs->vertexAttribPointer(indx, size, type, normalized, stride, ptr); | 0 |
3610 | else | - |
3611 | funcs->vertexAttribPointer = qglfResolveVertexAttribPointer; never executed: funcs->vertexAttribPointer = qglfResolveVertexAttribPointer; | 0 |
3612 | } | - |
3613 | | - |
3614 | #endif // !QT_OPENGL_ES_2 | - |
3615 | | - |
3616 | QGLFunctionsPrivate::QGLFunctionsPrivate(const QGLContext *) | - |
3617 | { | - |
3618 | #ifndef QT_OPENGL_ES_2 | - |
3619 | activeTexture = qglfResolveActiveTexture; never executed (the execution status of this line is deduced): activeTexture = qglfResolveActiveTexture; | - |
3620 | attachShader = qglfResolveAttachShader; never executed (the execution status of this line is deduced): attachShader = qglfResolveAttachShader; | - |
3621 | bindAttribLocation = qglfResolveBindAttribLocation; never executed (the execution status of this line is deduced): bindAttribLocation = qglfResolveBindAttribLocation; | - |
3622 | bindBuffer = qglfResolveBindBuffer; never executed (the execution status of this line is deduced): bindBuffer = qglfResolveBindBuffer; | - |
3623 | bindFramebuffer = qglfResolveBindFramebuffer; never executed (the execution status of this line is deduced): bindFramebuffer = qglfResolveBindFramebuffer; | - |
3624 | bindRenderbuffer = qglfResolveBindRenderbuffer; never executed (the execution status of this line is deduced): bindRenderbuffer = qglfResolveBindRenderbuffer; | - |
3625 | blendColor = qglfResolveBlendColor; never executed (the execution status of this line is deduced): blendColor = qglfResolveBlendColor; | - |
3626 | blendEquation = qglfResolveBlendEquation; never executed (the execution status of this line is deduced): blendEquation = qglfResolveBlendEquation; | - |
3627 | blendEquationSeparate = qglfResolveBlendEquationSeparate; never executed (the execution status of this line is deduced): blendEquationSeparate = qglfResolveBlendEquationSeparate; | - |
3628 | blendFuncSeparate = qglfResolveBlendFuncSeparate; never executed (the execution status of this line is deduced): blendFuncSeparate = qglfResolveBlendFuncSeparate; | - |
3629 | bufferData = qglfResolveBufferData; never executed (the execution status of this line is deduced): bufferData = qglfResolveBufferData; | - |
3630 | bufferSubData = qglfResolveBufferSubData; never executed (the execution status of this line is deduced): bufferSubData = qglfResolveBufferSubData; | - |
3631 | checkFramebufferStatus = qglfResolveCheckFramebufferStatus; never executed (the execution status of this line is deduced): checkFramebufferStatus = qglfResolveCheckFramebufferStatus; | - |
3632 | compileShader = qglfResolveCompileShader; never executed (the execution status of this line is deduced): compileShader = qglfResolveCompileShader; | - |
3633 | compressedTexImage2D = qglfResolveCompressedTexImage2D; never executed (the execution status of this line is deduced): compressedTexImage2D = qglfResolveCompressedTexImage2D; | - |
3634 | compressedTexSubImage2D = qglfResolveCompressedTexSubImage2D; never executed (the execution status of this line is deduced): compressedTexSubImage2D = qglfResolveCompressedTexSubImage2D; | - |
3635 | createProgram = qglfResolveCreateProgram; never executed (the execution status of this line is deduced): createProgram = qglfResolveCreateProgram; | - |
3636 | createShader = qglfResolveCreateShader; never executed (the execution status of this line is deduced): createShader = qglfResolveCreateShader; | - |
3637 | deleteBuffers = qglfResolveDeleteBuffers; never executed (the execution status of this line is deduced): deleteBuffers = qglfResolveDeleteBuffers; | - |
3638 | deleteFramebuffers = qglfResolveDeleteFramebuffers; never executed (the execution status of this line is deduced): deleteFramebuffers = qglfResolveDeleteFramebuffers; | - |
3639 | deleteProgram = qglfResolveDeleteProgram; never executed (the execution status of this line is deduced): deleteProgram = qglfResolveDeleteProgram; | - |
3640 | deleteRenderbuffers = qglfResolveDeleteRenderbuffers; never executed (the execution status of this line is deduced): deleteRenderbuffers = qglfResolveDeleteRenderbuffers; | - |
3641 | deleteShader = qglfResolveDeleteShader; never executed (the execution status of this line is deduced): deleteShader = qglfResolveDeleteShader; | - |
3642 | detachShader = qglfResolveDetachShader; never executed (the execution status of this line is deduced): detachShader = qglfResolveDetachShader; | - |
3643 | disableVertexAttribArray = qglfResolveDisableVertexAttribArray; never executed (the execution status of this line is deduced): disableVertexAttribArray = qglfResolveDisableVertexAttribArray; | - |
3644 | enableVertexAttribArray = qglfResolveEnableVertexAttribArray; never executed (the execution status of this line is deduced): enableVertexAttribArray = qglfResolveEnableVertexAttribArray; | - |
3645 | framebufferRenderbuffer = qglfResolveFramebufferRenderbuffer; never executed (the execution status of this line is deduced): framebufferRenderbuffer = qglfResolveFramebufferRenderbuffer; | - |
3646 | framebufferTexture2D = qglfResolveFramebufferTexture2D; never executed (the execution status of this line is deduced): framebufferTexture2D = qglfResolveFramebufferTexture2D; | - |
3647 | genBuffers = qglfResolveGenBuffers; never executed (the execution status of this line is deduced): genBuffers = qglfResolveGenBuffers; | - |
3648 | generateMipmap = qglfResolveGenerateMipmap; never executed (the execution status of this line is deduced): generateMipmap = qglfResolveGenerateMipmap; | - |
3649 | genFramebuffers = qglfResolveGenFramebuffers; never executed (the execution status of this line is deduced): genFramebuffers = qglfResolveGenFramebuffers; | - |
3650 | genRenderbuffers = qglfResolveGenRenderbuffers; never executed (the execution status of this line is deduced): genRenderbuffers = qglfResolveGenRenderbuffers; | - |
3651 | getActiveAttrib = qglfResolveGetActiveAttrib; never executed (the execution status of this line is deduced): getActiveAttrib = qglfResolveGetActiveAttrib; | - |
3652 | getActiveUniform = qglfResolveGetActiveUniform; never executed (the execution status of this line is deduced): getActiveUniform = qglfResolveGetActiveUniform; | - |
3653 | getAttachedShaders = qglfResolveGetAttachedShaders; never executed (the execution status of this line is deduced): getAttachedShaders = qglfResolveGetAttachedShaders; | - |
3654 | getAttribLocation = qglfResolveGetAttribLocation; never executed (the execution status of this line is deduced): getAttribLocation = qglfResolveGetAttribLocation; | - |
3655 | getBufferParameteriv = qglfResolveGetBufferParameteriv; never executed (the execution status of this line is deduced): getBufferParameteriv = qglfResolveGetBufferParameteriv; | - |
3656 | getFramebufferAttachmentParameteriv = qglfResolveGetFramebufferAttachmentParameteriv; never executed (the execution status of this line is deduced): getFramebufferAttachmentParameteriv = qglfResolveGetFramebufferAttachmentParameteriv; | - |
3657 | getProgramiv = qglfResolveGetProgramiv; never executed (the execution status of this line is deduced): getProgramiv = qglfResolveGetProgramiv; | - |
3658 | getProgramInfoLog = qglfResolveGetProgramInfoLog; never executed (the execution status of this line is deduced): getProgramInfoLog = qglfResolveGetProgramInfoLog; | - |
3659 | getRenderbufferParameteriv = qglfResolveGetRenderbufferParameteriv; never executed (the execution status of this line is deduced): getRenderbufferParameteriv = qglfResolveGetRenderbufferParameteriv; | - |
3660 | getShaderiv = qglfResolveGetShaderiv; never executed (the execution status of this line is deduced): getShaderiv = qglfResolveGetShaderiv; | - |
3661 | getShaderInfoLog = qglfResolveGetShaderInfoLog; never executed (the execution status of this line is deduced): getShaderInfoLog = qglfResolveGetShaderInfoLog; | - |
3662 | getShaderPrecisionFormat = qglfResolveGetShaderPrecisionFormat; never executed (the execution status of this line is deduced): getShaderPrecisionFormat = qglfResolveGetShaderPrecisionFormat; | - |
3663 | getShaderSource = qglfResolveGetShaderSource; never executed (the execution status of this line is deduced): getShaderSource = qglfResolveGetShaderSource; | - |
3664 | getUniformfv = qglfResolveGetUniformfv; never executed (the execution status of this line is deduced): getUniformfv = qglfResolveGetUniformfv; | - |
3665 | getUniformiv = qglfResolveGetUniformiv; never executed (the execution status of this line is deduced): getUniformiv = qglfResolveGetUniformiv; | - |
3666 | getUniformLocation = qglfResolveGetUniformLocation; never executed (the execution status of this line is deduced): getUniformLocation = qglfResolveGetUniformLocation; | - |
3667 | getVertexAttribfv = qglfResolveGetVertexAttribfv; never executed (the execution status of this line is deduced): getVertexAttribfv = qglfResolveGetVertexAttribfv; | - |
3668 | getVertexAttribiv = qglfResolveGetVertexAttribiv; never executed (the execution status of this line is deduced): getVertexAttribiv = qglfResolveGetVertexAttribiv; | - |
3669 | getVertexAttribPointerv = qglfResolveGetVertexAttribPointerv; never executed (the execution status of this line is deduced): getVertexAttribPointerv = qglfResolveGetVertexAttribPointerv; | - |
3670 | isBuffer = qglfResolveIsBuffer; never executed (the execution status of this line is deduced): isBuffer = qglfResolveIsBuffer; | - |
3671 | isFramebuffer = qglfResolveIsFramebuffer; never executed (the execution status of this line is deduced): isFramebuffer = qglfResolveIsFramebuffer; | - |
3672 | isProgram = qglfResolveIsProgram; never executed (the execution status of this line is deduced): isProgram = qglfResolveIsProgram; | - |
3673 | isRenderbuffer = qglfResolveIsRenderbuffer; never executed (the execution status of this line is deduced): isRenderbuffer = qglfResolveIsRenderbuffer; | - |
3674 | isShader = qglfResolveIsShader; never executed (the execution status of this line is deduced): isShader = qglfResolveIsShader; | - |
3675 | linkProgram = qglfResolveLinkProgram; never executed (the execution status of this line is deduced): linkProgram = qglfResolveLinkProgram; | - |
3676 | releaseShaderCompiler = qglfResolveReleaseShaderCompiler; never executed (the execution status of this line is deduced): releaseShaderCompiler = qglfResolveReleaseShaderCompiler; | - |
3677 | renderbufferStorage = qglfResolveRenderbufferStorage; never executed (the execution status of this line is deduced): renderbufferStorage = qglfResolveRenderbufferStorage; | - |
3678 | sampleCoverage = qglfResolveSampleCoverage; never executed (the execution status of this line is deduced): sampleCoverage = qglfResolveSampleCoverage; | - |
3679 | shaderBinary = qglfResolveShaderBinary; never executed (the execution status of this line is deduced): shaderBinary = qglfResolveShaderBinary; | - |
3680 | shaderSource = qglfResolveShaderSource; never executed (the execution status of this line is deduced): shaderSource = qglfResolveShaderSource; | - |
3681 | stencilFuncSeparate = qglfResolveStencilFuncSeparate; never executed (the execution status of this line is deduced): stencilFuncSeparate = qglfResolveStencilFuncSeparate; | - |
3682 | stencilMaskSeparate = qglfResolveStencilMaskSeparate; never executed (the execution status of this line is deduced): stencilMaskSeparate = qglfResolveStencilMaskSeparate; | - |
3683 | stencilOpSeparate = qglfResolveStencilOpSeparate; never executed (the execution status of this line is deduced): stencilOpSeparate = qglfResolveStencilOpSeparate; | - |
3684 | uniform1f = qglfResolveUniform1f; never executed (the execution status of this line is deduced): uniform1f = qglfResolveUniform1f; | - |
3685 | uniform1fv = qglfResolveUniform1fv; never executed (the execution status of this line is deduced): uniform1fv = qglfResolveUniform1fv; | - |
3686 | uniform1i = qglfResolveUniform1i; never executed (the execution status of this line is deduced): uniform1i = qglfResolveUniform1i; | - |
3687 | uniform1iv = qglfResolveUniform1iv; never executed (the execution status of this line is deduced): uniform1iv = qglfResolveUniform1iv; | - |
3688 | uniform2f = qglfResolveUniform2f; never executed (the execution status of this line is deduced): uniform2f = qglfResolveUniform2f; | - |
3689 | uniform2fv = qglfResolveUniform2fv; never executed (the execution status of this line is deduced): uniform2fv = qglfResolveUniform2fv; | - |
3690 | uniform2i = qglfResolveUniform2i; never executed (the execution status of this line is deduced): uniform2i = qglfResolveUniform2i; | - |
3691 | uniform2iv = qglfResolveUniform2iv; never executed (the execution status of this line is deduced): uniform2iv = qglfResolveUniform2iv; | - |
3692 | uniform3f = qglfResolveUniform3f; never executed (the execution status of this line is deduced): uniform3f = qglfResolveUniform3f; | - |
3693 | uniform3fv = qglfResolveUniform3fv; never executed (the execution status of this line is deduced): uniform3fv = qglfResolveUniform3fv; | - |
3694 | uniform3i = qglfResolveUniform3i; never executed (the execution status of this line is deduced): uniform3i = qglfResolveUniform3i; | - |
3695 | uniform3iv = qglfResolveUniform3iv; never executed (the execution status of this line is deduced): uniform3iv = qglfResolveUniform3iv; | - |
3696 | uniform4f = qglfResolveUniform4f; never executed (the execution status of this line is deduced): uniform4f = qglfResolveUniform4f; | - |
3697 | uniform4fv = qglfResolveUniform4fv; never executed (the execution status of this line is deduced): uniform4fv = qglfResolveUniform4fv; | - |
3698 | uniform4i = qglfResolveUniform4i; never executed (the execution status of this line is deduced): uniform4i = qglfResolveUniform4i; | - |
3699 | uniform4iv = qglfResolveUniform4iv; never executed (the execution status of this line is deduced): uniform4iv = qglfResolveUniform4iv; | - |
3700 | uniformMatrix2fv = qglfResolveUniformMatrix2fv; never executed (the execution status of this line is deduced): uniformMatrix2fv = qglfResolveUniformMatrix2fv; | - |
3701 | uniformMatrix3fv = qglfResolveUniformMatrix3fv; never executed (the execution status of this line is deduced): uniformMatrix3fv = qglfResolveUniformMatrix3fv; | - |
3702 | uniformMatrix4fv = qglfResolveUniformMatrix4fv; never executed (the execution status of this line is deduced): uniformMatrix4fv = qglfResolveUniformMatrix4fv; | - |
3703 | useProgram = qglfResolveUseProgram; never executed (the execution status of this line is deduced): useProgram = qglfResolveUseProgram; | - |
3704 | validateProgram = qglfResolveValidateProgram; never executed (the execution status of this line is deduced): validateProgram = qglfResolveValidateProgram; | - |
3705 | vertexAttrib1f = qglfResolveVertexAttrib1f; never executed (the execution status of this line is deduced): vertexAttrib1f = qglfResolveVertexAttrib1f; | - |
3706 | vertexAttrib1fv = qglfResolveVertexAttrib1fv; never executed (the execution status of this line is deduced): vertexAttrib1fv = qglfResolveVertexAttrib1fv; | - |
3707 | vertexAttrib2f = qglfResolveVertexAttrib2f; never executed (the execution status of this line is deduced): vertexAttrib2f = qglfResolveVertexAttrib2f; | - |
3708 | vertexAttrib2fv = qglfResolveVertexAttrib2fv; never executed (the execution status of this line is deduced): vertexAttrib2fv = qglfResolveVertexAttrib2fv; | - |
3709 | vertexAttrib3f = qglfResolveVertexAttrib3f; never executed (the execution status of this line is deduced): vertexAttrib3f = qglfResolveVertexAttrib3f; | - |
3710 | vertexAttrib3fv = qglfResolveVertexAttrib3fv; never executed (the execution status of this line is deduced): vertexAttrib3fv = qglfResolveVertexAttrib3fv; | - |
3711 | vertexAttrib4f = qglfResolveVertexAttrib4f; never executed (the execution status of this line is deduced): vertexAttrib4f = qglfResolveVertexAttrib4f; | - |
3712 | vertexAttrib4fv = qglfResolveVertexAttrib4fv; never executed (the execution status of this line is deduced): vertexAttrib4fv = qglfResolveVertexAttrib4fv; | - |
3713 | vertexAttribPointer = qglfResolveVertexAttribPointer; never executed (the execution status of this line is deduced): vertexAttribPointer = qglfResolveVertexAttribPointer; | - |
3714 | #endif // !QT_OPENGL_ES_2 | - |
3715 | } | 0 |
3716 | | - |
3717 | QT_END_NAMESPACE | - |
3718 | | - |
| | |