| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | QOpenGLFunctions_4_5_Core::QOpenGLFunctions_4_5_Core() | - |
| 4 | : QAbstractOpenGLFunctions() | - |
| 5 | , d_1_0_Core(0) | - |
| 6 | , d_1_1_Core(0) | - |
| 7 | , d_1_2_Core(0) | - |
| 8 | , d_1_3_Core(0) | - |
| 9 | , d_1_4_Core(0) | - |
| 10 | , d_1_5_Core(0) | - |
| 11 | , d_2_0_Core(0) | - |
| 12 | , d_2_1_Core(0) | - |
| 13 | , d_3_0_Core(0) | - |
| 14 | , d_3_1_Core(0) | - |
| 15 | , d_3_2_Core(0) | - |
| 16 | , d_3_3_Core(0) | - |
| 17 | , d_4_0_Core(0) | - |
| 18 | , d_4_1_Core(0) | - |
| 19 | , d_4_2_Core(0) | - |
| 20 | , d_4_3_Core(0) | - |
| 21 | , d_4_4_Core(0) | - |
| 22 | , d_4_5_Core(0) | - |
| 23 | { | - |
| 24 | } never executed: end of block | 0 |
| 25 | | - |
| 26 | QOpenGLFunctions_4_5_Core::~QOpenGLFunctions_4_5_Core() | - |
| 27 | { | - |
| 28 | if (d_1_0_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_1_0_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 29 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_0_Core->context, QOpenGLFunctions_1_0_CoreBackend::versionStatus()); | - |
| 30 | delete d_1_0_Core; | - |
| 31 | } never executed: end of block | 0 |
| 32 | if (d_1_1_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_1_1_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 33 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_1_Core->context, QOpenGLFunctions_1_1_CoreBackend::versionStatus()); | - |
| 34 | delete d_1_1_Core; | - |
| 35 | } never executed: end of block | 0 |
| 36 | if (d_1_2_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_1_2_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 37 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_2_Core->context, QOpenGLFunctions_1_2_CoreBackend::versionStatus()); | - |
| 38 | delete d_1_2_Core; | - |
| 39 | } never executed: end of block | 0 |
| 40 | if (d_1_3_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_1_3_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 41 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_3_Core->context, QOpenGLFunctions_1_3_CoreBackend::versionStatus()); | - |
| 42 | delete d_1_3_Core; | - |
| 43 | } never executed: end of block | 0 |
| 44 | if (d_1_4_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_1_4_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 45 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_4_Core->context, QOpenGLFunctions_1_4_CoreBackend::versionStatus()); | - |
| 46 | delete d_1_4_Core; | - |
| 47 | } never executed: end of block | 0 |
| 48 | if (d_1_5_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_1_5_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 49 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_5_Core->context, QOpenGLFunctions_1_5_CoreBackend::versionStatus()); | - |
| 50 | delete d_1_5_Core; | - |
| 51 | } never executed: end of block | 0 |
| 52 | if (d_2_0_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_2_0_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 53 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_2_0_Core->context, QOpenGLFunctions_2_0_CoreBackend::versionStatus()); | - |
| 54 | delete d_2_0_Core; | - |
| 55 | } never executed: end of block | 0 |
| 56 | if (d_2_1_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_2_1_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 57 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_2_1_Core->context, QOpenGLFunctions_2_1_CoreBackend::versionStatus()); | - |
| 58 | delete d_2_1_Core; | - |
| 59 | } never executed: end of block | 0 |
| 60 | if (d_3_0_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_3_0_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 61 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_0_Core->context, QOpenGLFunctions_3_0_CoreBackend::versionStatus()); | - |
| 62 | delete d_3_0_Core; | - |
| 63 | } never executed: end of block | 0 |
| 64 | if (d_3_1_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_3_1_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 65 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_1_Core->context, QOpenGLFunctions_3_1_CoreBackend::versionStatus()); | - |
| 66 | delete d_3_1_Core; | - |
| 67 | } never executed: end of block | 0 |
| 68 | if (d_3_2_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_3_2_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 69 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_2_Core->context, QOpenGLFunctions_3_2_CoreBackend::versionStatus()); | - |
| 70 | delete d_3_2_Core; | - |
| 71 | } never executed: end of block | 0 |
| 72 | if (d_3_3_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_3_3_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 73 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_3_Core->context, QOpenGLFunctions_3_3_CoreBackend::versionStatus()); | - |
| 74 | delete d_3_3_Core; | - |
| 75 | } never executed: end of block | 0 |
| 76 | if (d_4_0_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_4_0_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 77 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_0_Core->context, QOpenGLFunctions_4_0_CoreBackend::versionStatus()); | - |
| 78 | delete d_4_0_Core; | - |
| 79 | } never executed: end of block | 0 |
| 80 | if (d_4_1_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_4_1_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 81 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_1_Core->context, QOpenGLFunctions_4_1_CoreBackend::versionStatus()); | - |
| 82 | delete d_4_1_Core; | - |
| 83 | } never executed: end of block | 0 |
| 84 | if (d_4_2_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_4_2_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 85 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_2_Core->context, QOpenGLFunctions_4_2_CoreBackend::versionStatus()); | - |
| 86 | delete d_4_2_Core; | - |
| 87 | } never executed: end of block | 0 |
| 88 | if (d_4_3_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_4_3_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 89 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_3_Core->context, QOpenGLFunctions_4_3_CoreBackend::versionStatus()); | - |
| 90 | delete d_4_3_Core; | - |
| 91 | } never executed: end of block | 0 |
| 92 | if (d_4_4_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_4_4_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 93 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_4_Core->context, QOpenGLFunctions_4_4_CoreBackend::versionStatus()); | - |
| 94 | delete d_4_4_Core; | - |
| 95 | } never executed: end of block | 0 |
| 96 | if (d_4_5_Core| TRUE | never evaluated | | FALSE | never evaluated |
&& !d_4_5_Core->refs.deref()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 97 | QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_5_Core->context, QOpenGLFunctions_4_5_CoreBackend::versionStatus()); | - |
| 98 | delete d_4_5_Core; | - |
| 99 | } never executed: end of block | 0 |
| 100 | } never executed: end of block | 0 |
| 101 | | - |
| 102 | bool QOpenGLFunctions_4_5_Core::initializeOpenGLFunctions() | - |
| 103 | { | - |
| 104 | if ( isInitialized()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 105 | return never executed: return true; true;never executed: return true; | 0 |
| 106 | | - |
| 107 | QOpenGLContext* context = QOpenGLContext::currentContext(); | - |
| 108 | | - |
| 109 | | - |
| 110 | | - |
| 111 | if (((owningContext()| TRUE | never evaluated | | FALSE | never evaluated |
&& owningContext() == context| TRUE | never evaluated | | FALSE | never evaluated |
) || !owningContext()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 112 | && QOpenGLFunctions_4_5_Core::isContextCompatible(context)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 113 | { | - |
| 114 | | - |
| 115 | | - |
| 116 | QOpenGLVersionFunctionsBackend* d = 0; | - |
| 117 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_0_CoreBackend::versionStatus()); | - |
| 118 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 119 | d = new QOpenGLFunctions_1_0_CoreBackend(context); | - |
| 120 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_0_CoreBackend::versionStatus(), d); | - |
| 121 | } never executed: end of block | 0 |
| 122 | d_1_0_Core = static_cast<QOpenGLFunctions_1_0_CoreBackend*>(d); | - |
| 123 | d->refs.ref(); | - |
| 124 | | - |
| 125 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_1_CoreBackend::versionStatus()); | - |
| 126 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 127 | d = new QOpenGLFunctions_1_1_CoreBackend(context); | - |
| 128 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_1_CoreBackend::versionStatus(), d); | - |
| 129 | } never executed: end of block | 0 |
| 130 | d_1_1_Core = static_cast<QOpenGLFunctions_1_1_CoreBackend*>(d); | - |
| 131 | d->refs.ref(); | - |
| 132 | | - |
| 133 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_2_CoreBackend::versionStatus()); | - |
| 134 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 135 | d = new QOpenGLFunctions_1_2_CoreBackend(context); | - |
| 136 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_2_CoreBackend::versionStatus(), d); | - |
| 137 | } never executed: end of block | 0 |
| 138 | d_1_2_Core = static_cast<QOpenGLFunctions_1_2_CoreBackend*>(d); | - |
| 139 | d->refs.ref(); | - |
| 140 | | - |
| 141 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_3_CoreBackend::versionStatus()); | - |
| 142 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 143 | d = new QOpenGLFunctions_1_3_CoreBackend(context); | - |
| 144 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_3_CoreBackend::versionStatus(), d); | - |
| 145 | } never executed: end of block | 0 |
| 146 | d_1_3_Core = static_cast<QOpenGLFunctions_1_3_CoreBackend*>(d); | - |
| 147 | d->refs.ref(); | - |
| 148 | | - |
| 149 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_4_CoreBackend::versionStatus()); | - |
| 150 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 151 | d = new QOpenGLFunctions_1_4_CoreBackend(context); | - |
| 152 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_4_CoreBackend::versionStatus(), d); | - |
| 153 | } never executed: end of block | 0 |
| 154 | d_1_4_Core = static_cast<QOpenGLFunctions_1_4_CoreBackend*>(d); | - |
| 155 | d->refs.ref(); | - |
| 156 | | - |
| 157 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_5_CoreBackend::versionStatus()); | - |
| 158 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 159 | d = new QOpenGLFunctions_1_5_CoreBackend(context); | - |
| 160 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_5_CoreBackend::versionStatus(), d); | - |
| 161 | } never executed: end of block | 0 |
| 162 | d_1_5_Core = static_cast<QOpenGLFunctions_1_5_CoreBackend*>(d); | - |
| 163 | d->refs.ref(); | - |
| 164 | | - |
| 165 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_2_0_CoreBackend::versionStatus()); | - |
| 166 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 167 | d = new QOpenGLFunctions_2_0_CoreBackend(context); | - |
| 168 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_2_0_CoreBackend::versionStatus(), d); | - |
| 169 | } never executed: end of block | 0 |
| 170 | d_2_0_Core = static_cast<QOpenGLFunctions_2_0_CoreBackend*>(d); | - |
| 171 | d->refs.ref(); | - |
| 172 | | - |
| 173 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_2_1_CoreBackend::versionStatus()); | - |
| 174 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 175 | d = new QOpenGLFunctions_2_1_CoreBackend(context); | - |
| 176 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_2_1_CoreBackend::versionStatus(), d); | - |
| 177 | } never executed: end of block | 0 |
| 178 | d_2_1_Core = static_cast<QOpenGLFunctions_2_1_CoreBackend*>(d); | - |
| 179 | d->refs.ref(); | - |
| 180 | | - |
| 181 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_0_CoreBackend::versionStatus()); | - |
| 182 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 183 | d = new QOpenGLFunctions_3_0_CoreBackend(context); | - |
| 184 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_0_CoreBackend::versionStatus(), d); | - |
| 185 | } never executed: end of block | 0 |
| 186 | d_3_0_Core = static_cast<QOpenGLFunctions_3_0_CoreBackend*>(d); | - |
| 187 | d->refs.ref(); | - |
| 188 | | - |
| 189 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_1_CoreBackend::versionStatus()); | - |
| 190 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 191 | d = new QOpenGLFunctions_3_1_CoreBackend(context); | - |
| 192 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_1_CoreBackend::versionStatus(), d); | - |
| 193 | } never executed: end of block | 0 |
| 194 | d_3_1_Core = static_cast<QOpenGLFunctions_3_1_CoreBackend*>(d); | - |
| 195 | d->refs.ref(); | - |
| 196 | | - |
| 197 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_2_CoreBackend::versionStatus()); | - |
| 198 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 199 | d = new QOpenGLFunctions_3_2_CoreBackend(context); | - |
| 200 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_2_CoreBackend::versionStatus(), d); | - |
| 201 | } never executed: end of block | 0 |
| 202 | d_3_2_Core = static_cast<QOpenGLFunctions_3_2_CoreBackend*>(d); | - |
| 203 | d->refs.ref(); | - |
| 204 | | - |
| 205 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_3_CoreBackend::versionStatus()); | - |
| 206 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 207 | d = new QOpenGLFunctions_3_3_CoreBackend(context); | - |
| 208 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_3_CoreBackend::versionStatus(), d); | - |
| 209 | } never executed: end of block | 0 |
| 210 | d_3_3_Core = static_cast<QOpenGLFunctions_3_3_CoreBackend*>(d); | - |
| 211 | d->refs.ref(); | - |
| 212 | | - |
| 213 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_0_CoreBackend::versionStatus()); | - |
| 214 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 215 | d = new QOpenGLFunctions_4_0_CoreBackend(context); | - |
| 216 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_0_CoreBackend::versionStatus(), d); | - |
| 217 | } never executed: end of block | 0 |
| 218 | d_4_0_Core = static_cast<QOpenGLFunctions_4_0_CoreBackend*>(d); | - |
| 219 | d->refs.ref(); | - |
| 220 | | - |
| 221 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_1_CoreBackend::versionStatus()); | - |
| 222 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 223 | d = new QOpenGLFunctions_4_1_CoreBackend(context); | - |
| 224 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_1_CoreBackend::versionStatus(), d); | - |
| 225 | } never executed: end of block | 0 |
| 226 | d_4_1_Core = static_cast<QOpenGLFunctions_4_1_CoreBackend*>(d); | - |
| 227 | d->refs.ref(); | - |
| 228 | | - |
| 229 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_2_CoreBackend::versionStatus()); | - |
| 230 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 231 | d = new QOpenGLFunctions_4_2_CoreBackend(context); | - |
| 232 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_2_CoreBackend::versionStatus(), d); | - |
| 233 | } never executed: end of block | 0 |
| 234 | d_4_2_Core = static_cast<QOpenGLFunctions_4_2_CoreBackend*>(d); | - |
| 235 | d->refs.ref(); | - |
| 236 | | - |
| 237 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_3_CoreBackend::versionStatus()); | - |
| 238 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 239 | d = new QOpenGLFunctions_4_3_CoreBackend(context); | - |
| 240 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_3_CoreBackend::versionStatus(), d); | - |
| 241 | } never executed: end of block | 0 |
| 242 | d_4_3_Core = static_cast<QOpenGLFunctions_4_3_CoreBackend*>(d); | - |
| 243 | d->refs.ref(); | - |
| 244 | | - |
| 245 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_4_CoreBackend::versionStatus()); | - |
| 246 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 247 | d = new QOpenGLFunctions_4_4_CoreBackend(context); | - |
| 248 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_4_CoreBackend::versionStatus(), d); | - |
| 249 | } never executed: end of block | 0 |
| 250 | d_4_4_Core = static_cast<QOpenGLFunctions_4_4_CoreBackend*>(d); | - |
| 251 | d->refs.ref(); | - |
| 252 | | - |
| 253 | d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_5_CoreBackend::versionStatus()); | - |
| 254 | if (!d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 255 | d = new QOpenGLFunctions_4_5_CoreBackend(context); | - |
| 256 | QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_5_CoreBackend::versionStatus(), d); | - |
| 257 | } never executed: end of block | 0 |
| 258 | d_4_5_Core = static_cast<QOpenGLFunctions_4_5_CoreBackend*>(d); | - |
| 259 | d->refs.ref(); | - |
| 260 | | - |
| 261 | QAbstractOpenGLFunctions::initializeOpenGLFunctions(); | - |
| 262 | } never executed: end of block | 0 |
| 263 | return never executed: return isInitialized(); isInitialized();never executed: return isInitialized(); | 0 |
| 264 | } | - |
| 265 | | - |
| 266 | bool QOpenGLFunctions_4_5_Core::isContextCompatible(QOpenGLContext *context) | - |
| 267 | { | - |
| 268 | ((!(context)) ? qt_assert("context",__FILE__,327) : qt_noop()); | - |
| 269 | QSurfaceFormat f = context->format(); | - |
| 270 | const QPair<int, int> v = qMakePair(f.majorVersion(), f.minorVersion()); | - |
| 271 | if (v < qMakePair(4, 5)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 272 | return never executed: return false; false;never executed: return false; | 0 |
| 273 | | - |
| 274 | return never executed: return true; true;never executed: return true; | 0 |
| 275 | } | - |
| 276 | | - |
| 277 | QOpenGLVersionProfile QOpenGLFunctions_4_5_Core::versionProfile() | - |
| 278 | { | - |
| 279 | QOpenGLVersionProfile v; | - |
| 280 | v.setVersion(4, 5); | - |
| 281 | v.setProfile(QSurfaceFormat::CoreProfile); | - |
| 282 | return never executed: return v; v;never executed: return v; | 0 |
| 283 | } | - |
| 284 | | - |
| 285 | | - |
| | |