| Line | Source | Count | 
| 1 |  | - | 
| 2 |  | - | 
| 3 | QOpenGLFunctions_4_4_Compatibility::QOpenGLFunctions_4_4_Compatibility() | - | 
| 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_1_0_Deprecated(0) | - | 
| 23 |  , d_1_1_Deprecated(0) | - | 
| 24 |  , d_1_2_Deprecated(0) | - | 
| 25 |  , d_1_3_Deprecated(0) | - | 
| 26 |  , d_1_4_Deprecated(0) | - | 
| 27 |  , d_3_3_Deprecated(0) | - | 
| 28 | { | - | 
| 29 | } never executed: end of block  | 0 | 
| 30 |  | - | 
| 31 | QOpenGLFunctions_4_4_Compatibility::~QOpenGLFunctions_4_4_Compatibility() | - | 
| 32 | { | - | 
| 33 |     if (d_1_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 34 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_0_Core->context, QOpenGLFunctions_1_0_CoreBackend::versionStatus()); | - | 
| 35 |         delete d_1_0_Core; | - | 
| 36 |     } never executed: end of block  | 0 | 
| 37 |     if (d_1_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 38 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_1_Core->context, QOpenGLFunctions_1_1_CoreBackend::versionStatus()); | - | 
| 39 |         delete d_1_1_Core; | - | 
| 40 |     } never executed: end of block  | 0 | 
| 41 |     if (d_1_2_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_2_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 42 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_2_Core->context, QOpenGLFunctions_1_2_CoreBackend::versionStatus()); | - | 
| 43 |         delete d_1_2_Core; | - | 
| 44 |     } never executed: end of block  | 0 | 
| 45 |     if (d_1_3_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_3_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 46 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_3_Core->context, QOpenGLFunctions_1_3_CoreBackend::versionStatus()); | - | 
| 47 |         delete d_1_3_Core; | - | 
| 48 |     } never executed: end of block  | 0 | 
| 49 |     if (d_1_4_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_4_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 50 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_4_Core->context, QOpenGLFunctions_1_4_CoreBackend::versionStatus()); | - | 
| 51 |         delete d_1_4_Core; | - | 
| 52 |     } never executed: end of block  | 0 | 
| 53 |     if (d_1_5_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_5_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 54 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_5_Core->context, QOpenGLFunctions_1_5_CoreBackend::versionStatus()); | - | 
| 55 |         delete d_1_5_Core; | - | 
| 56 |     } never executed: end of block  | 0 | 
| 57 |     if (d_2_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_2_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 58 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_2_0_Core->context, QOpenGLFunctions_2_0_CoreBackend::versionStatus()); | - | 
| 59 |         delete d_2_0_Core; | - | 
| 60 |     } never executed: end of block  | 0 | 
| 61 |     if (d_2_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_2_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 62 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_2_1_Core->context, QOpenGLFunctions_2_1_CoreBackend::versionStatus()); | - | 
| 63 |         delete d_2_1_Core; | - | 
| 64 |     } never executed: end of block  | 0 | 
| 65 |     if (d_3_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 66 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_0_Core->context, QOpenGLFunctions_3_0_CoreBackend::versionStatus()); | - | 
| 67 |         delete d_3_0_Core; | - | 
| 68 |     } never executed: end of block  | 0 | 
| 69 |     if (d_3_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 70 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_1_Core->context, QOpenGLFunctions_3_1_CoreBackend::versionStatus()); | - | 
| 71 |         delete d_3_1_Core; | - | 
| 72 |     } never executed: end of block  | 0 | 
| 73 |     if (d_3_2_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_2_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 74 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_2_Core->context, QOpenGLFunctions_3_2_CoreBackend::versionStatus()); | - | 
| 75 |         delete d_3_2_Core; | - | 
| 76 |     } never executed: end of block  | 0 | 
| 77 |     if (d_3_3_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_3_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 78 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_3_Core->context, QOpenGLFunctions_3_3_CoreBackend::versionStatus()); | - | 
| 79 |         delete d_3_3_Core; | - | 
| 80 |     } never executed: end of block  | 0 | 
| 81 |     if (d_4_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_4_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 82 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_0_Core->context, QOpenGLFunctions_4_0_CoreBackend::versionStatus()); | - | 
| 83 |         delete d_4_0_Core; | - | 
| 84 |     } never executed: end of block  | 0 | 
| 85 |     if (d_4_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_4_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 86 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_1_Core->context, QOpenGLFunctions_4_1_CoreBackend::versionStatus()); | - | 
| 87 |         delete d_4_1_Core; | - | 
| 88 |     } never executed: end of block  | 0 | 
| 89 |     if (d_4_2_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_4_2_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 90 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_2_Core->context, QOpenGLFunctions_4_2_CoreBackend::versionStatus()); | - | 
| 91 |         delete d_4_2_Core; | - | 
| 92 |     } never executed: end of block  | 0 | 
| 93 |     if (d_4_3_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_4_3_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 94 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_3_Core->context, QOpenGLFunctions_4_3_CoreBackend::versionStatus()); | - | 
| 95 |         delete d_4_3_Core; | - | 
| 96 |     } never executed: end of block  | 0 | 
| 97 |     if (d_4_4_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_4_4_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 98 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_4_4_Core->context, QOpenGLFunctions_4_4_CoreBackend::versionStatus()); | - | 
| 99 |         delete d_4_4_Core; | - | 
| 100 |     } never executed: end of block  | 0 | 
| 101 |     if (d_1_0_Deprecated| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_0_Deprecated->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 102 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_0_Deprecated->context, QOpenGLFunctions_1_0_DeprecatedBackend::versionStatus()); | - | 
| 103 |         delete d_1_0_Deprecated; | - | 
| 104 |     } never executed: end of block  | 0 | 
| 105 |     if (d_1_1_Deprecated| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_1_Deprecated->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 106 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_1_Deprecated->context, QOpenGLFunctions_1_1_DeprecatedBackend::versionStatus()); | - | 
| 107 |         delete d_1_1_Deprecated; | - | 
| 108 |     } never executed: end of block  | 0 | 
| 109 |     if (d_1_2_Deprecated| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_2_Deprecated->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 110 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_2_Deprecated->context, QOpenGLFunctions_1_2_DeprecatedBackend::versionStatus()); | - | 
| 111 |         delete d_1_2_Deprecated; | - | 
| 112 |     } never executed: end of block  | 0 | 
| 113 |     if (d_1_3_Deprecated| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_3_Deprecated->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 114 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_3_Deprecated->context, QOpenGLFunctions_1_3_DeprecatedBackend::versionStatus()); | - | 
| 115 |         delete d_1_3_Deprecated; | - | 
| 116 |     } never executed: end of block  | 0 | 
| 117 |     if (d_1_4_Deprecated| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_4_Deprecated->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 118 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_4_Deprecated->context, QOpenGLFunctions_1_4_DeprecatedBackend::versionStatus()); | - | 
| 119 |         delete d_1_4_Deprecated; | - | 
| 120 |     } never executed: end of block  | 0 | 
| 121 |     if (d_3_3_Deprecated| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_3_Deprecated->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 122 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_3_Deprecated->context, QOpenGLFunctions_3_3_DeprecatedBackend::versionStatus()); | - | 
| 123 |         delete d_3_3_Deprecated; | - | 
| 124 |     } never executed: end of block  | 0 | 
| 125 | } never executed: end of block  | 0 | 
| 126 |  | - | 
| 127 | bool QOpenGLFunctions_4_4_Compatibility::initializeOpenGLFunctions() | - | 
| 128 | { | - | 
| 129 |     if ( isInitialized()| TRUE | never evaluated |  | FALSE | never evaluated |  
   ) | 0 | 
| 130 |         return never executed: return true;  true;never executed: return true;  | 0 | 
| 131 |  | - | 
| 132 |     QOpenGLContext* context = QOpenGLContext::currentContext(); | - | 
| 133 |  | - | 
| 134 |  | - | 
| 135 |  | - | 
| 136 |     if (((owningContext()| TRUE | never evaluated |  | FALSE | never evaluated |  
   && owningContext() == context| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) || !owningContext()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 137 |         && QOpenGLFunctions_4_4_Compatibility::isContextCompatible(context)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 138 |     { | - | 
| 139 |  | - | 
| 140 |  | - | 
| 141 |         QOpenGLVersionFunctionsBackend* d = 0; | - | 
| 142 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_0_CoreBackend::versionStatus()); | - | 
| 143 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 144 |             d = new QOpenGLFunctions_1_0_CoreBackend(context); | - | 
| 145 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_0_CoreBackend::versionStatus(), d); | - | 
| 146 |         } never executed: end of block  | 0 | 
| 147 |         d_1_0_Core = static_cast<QOpenGLFunctions_1_0_CoreBackend*>(d); | - | 
| 148 |         d->refs.ref(); | - | 
| 149 |  | - | 
| 150 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_1_CoreBackend::versionStatus()); | - | 
| 151 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 152 |             d = new QOpenGLFunctions_1_1_CoreBackend(context); | - | 
| 153 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_1_CoreBackend::versionStatus(), d); | - | 
| 154 |         } never executed: end of block  | 0 | 
| 155 |         d_1_1_Core = static_cast<QOpenGLFunctions_1_1_CoreBackend*>(d); | - | 
| 156 |         d->refs.ref(); | - | 
| 157 |  | - | 
| 158 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_2_CoreBackend::versionStatus()); | - | 
| 159 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 160 |             d = new QOpenGLFunctions_1_2_CoreBackend(context); | - | 
| 161 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_2_CoreBackend::versionStatus(), d); | - | 
| 162 |         } never executed: end of block  | 0 | 
| 163 |         d_1_2_Core = static_cast<QOpenGLFunctions_1_2_CoreBackend*>(d); | - | 
| 164 |         d->refs.ref(); | - | 
| 165 |  | - | 
| 166 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_3_CoreBackend::versionStatus()); | - | 
| 167 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 168 |             d = new QOpenGLFunctions_1_3_CoreBackend(context); | - | 
| 169 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_3_CoreBackend::versionStatus(), d); | - | 
| 170 |         } never executed: end of block  | 0 | 
| 171 |         d_1_3_Core = static_cast<QOpenGLFunctions_1_3_CoreBackend*>(d); | - | 
| 172 |         d->refs.ref(); | - | 
| 173 |  | - | 
| 174 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_4_CoreBackend::versionStatus()); | - | 
| 175 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 176 |             d = new QOpenGLFunctions_1_4_CoreBackend(context); | - | 
| 177 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_4_CoreBackend::versionStatus(), d); | - | 
| 178 |         } never executed: end of block  | 0 | 
| 179 |         d_1_4_Core = static_cast<QOpenGLFunctions_1_4_CoreBackend*>(d); | - | 
| 180 |         d->refs.ref(); | - | 
| 181 |  | - | 
| 182 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_5_CoreBackend::versionStatus()); | - | 
| 183 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 184 |             d = new QOpenGLFunctions_1_5_CoreBackend(context); | - | 
| 185 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_5_CoreBackend::versionStatus(), d); | - | 
| 186 |         } never executed: end of block  | 0 | 
| 187 |         d_1_5_Core = static_cast<QOpenGLFunctions_1_5_CoreBackend*>(d); | - | 
| 188 |         d->refs.ref(); | - | 
| 189 |  | - | 
| 190 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_2_0_CoreBackend::versionStatus()); | - | 
| 191 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 192 |             d = new QOpenGLFunctions_2_0_CoreBackend(context); | - | 
| 193 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_2_0_CoreBackend::versionStatus(), d); | - | 
| 194 |         } never executed: end of block  | 0 | 
| 195 |         d_2_0_Core = static_cast<QOpenGLFunctions_2_0_CoreBackend*>(d); | - | 
| 196 |         d->refs.ref(); | - | 
| 197 |  | - | 
| 198 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_2_1_CoreBackend::versionStatus()); | - | 
| 199 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 200 |             d = new QOpenGLFunctions_2_1_CoreBackend(context); | - | 
| 201 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_2_1_CoreBackend::versionStatus(), d); | - | 
| 202 |         } never executed: end of block  | 0 | 
| 203 |         d_2_1_Core = static_cast<QOpenGLFunctions_2_1_CoreBackend*>(d); | - | 
| 204 |         d->refs.ref(); | - | 
| 205 |  | - | 
| 206 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_0_CoreBackend::versionStatus()); | - | 
| 207 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 208 |             d = new QOpenGLFunctions_3_0_CoreBackend(context); | - | 
| 209 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_0_CoreBackend::versionStatus(), d); | - | 
| 210 |         } never executed: end of block  | 0 | 
| 211 |         d_3_0_Core = static_cast<QOpenGLFunctions_3_0_CoreBackend*>(d); | - | 
| 212 |         d->refs.ref(); | - | 
| 213 |  | - | 
| 214 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_1_CoreBackend::versionStatus()); | - | 
| 215 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 216 |             d = new QOpenGLFunctions_3_1_CoreBackend(context); | - | 
| 217 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_1_CoreBackend::versionStatus(), d); | - | 
| 218 |         } never executed: end of block  | 0 | 
| 219 |         d_3_1_Core = static_cast<QOpenGLFunctions_3_1_CoreBackend*>(d); | - | 
| 220 |         d->refs.ref(); | - | 
| 221 |  | - | 
| 222 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_2_CoreBackend::versionStatus()); | - | 
| 223 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 224 |             d = new QOpenGLFunctions_3_2_CoreBackend(context); | - | 
| 225 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_2_CoreBackend::versionStatus(), d); | - | 
| 226 |         } never executed: end of block  | 0 | 
| 227 |         d_3_2_Core = static_cast<QOpenGLFunctions_3_2_CoreBackend*>(d); | - | 
| 228 |         d->refs.ref(); | - | 
| 229 |  | - | 
| 230 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_3_CoreBackend::versionStatus()); | - | 
| 231 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 232 |             d = new QOpenGLFunctions_3_3_CoreBackend(context); | - | 
| 233 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_3_CoreBackend::versionStatus(), d); | - | 
| 234 |         } never executed: end of block  | 0 | 
| 235 |         d_3_3_Core = static_cast<QOpenGLFunctions_3_3_CoreBackend*>(d); | - | 
| 236 |         d->refs.ref(); | - | 
| 237 |  | - | 
| 238 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_0_CoreBackend::versionStatus()); | - | 
| 239 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 240 |             d = new QOpenGLFunctions_4_0_CoreBackend(context); | - | 
| 241 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_0_CoreBackend::versionStatus(), d); | - | 
| 242 |         } never executed: end of block  | 0 | 
| 243 |         d_4_0_Core = static_cast<QOpenGLFunctions_4_0_CoreBackend*>(d); | - | 
| 244 |         d->refs.ref(); | - | 
| 245 |  | - | 
| 246 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_1_CoreBackend::versionStatus()); | - | 
| 247 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 248 |             d = new QOpenGLFunctions_4_1_CoreBackend(context); | - | 
| 249 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_1_CoreBackend::versionStatus(), d); | - | 
| 250 |         } never executed: end of block  | 0 | 
| 251 |         d_4_1_Core = static_cast<QOpenGLFunctions_4_1_CoreBackend*>(d); | - | 
| 252 |         d->refs.ref(); | - | 
| 253 |  | - | 
| 254 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_2_CoreBackend::versionStatus()); | - | 
| 255 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 256 |             d = new QOpenGLFunctions_4_2_CoreBackend(context); | - | 
| 257 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_2_CoreBackend::versionStatus(), d); | - | 
| 258 |         } never executed: end of block  | 0 | 
| 259 |         d_4_2_Core = static_cast<QOpenGLFunctions_4_2_CoreBackend*>(d); | - | 
| 260 |         d->refs.ref(); | - | 
| 261 |  | - | 
| 262 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_3_CoreBackend::versionStatus()); | - | 
| 263 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 264 |             d = new QOpenGLFunctions_4_3_CoreBackend(context); | - | 
| 265 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_3_CoreBackend::versionStatus(), d); | - | 
| 266 |         } never executed: end of block  | 0 | 
| 267 |         d_4_3_Core = static_cast<QOpenGLFunctions_4_3_CoreBackend*>(d); | - | 
| 268 |         d->refs.ref(); | - | 
| 269 |  | - | 
| 270 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_4_4_CoreBackend::versionStatus()); | - | 
| 271 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 272 |             d = new QOpenGLFunctions_4_4_CoreBackend(context); | - | 
| 273 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_4_4_CoreBackend::versionStatus(), d); | - | 
| 274 |         } never executed: end of block  | 0 | 
| 275 |         d_4_4_Core = static_cast<QOpenGLFunctions_4_4_CoreBackend*>(d); | - | 
| 276 |         d->refs.ref(); | - | 
| 277 |  | - | 
| 278 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_0_DeprecatedBackend::versionStatus()); | - | 
| 279 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 280 |             d = new QOpenGLFunctions_1_0_DeprecatedBackend(context); | - | 
| 281 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_0_DeprecatedBackend::versionStatus(), d); | - | 
| 282 |         } never executed: end of block  | 0 | 
| 283 |         d_1_0_Deprecated = static_cast<QOpenGLFunctions_1_0_DeprecatedBackend*>(d); | - | 
| 284 |         d->refs.ref(); | - | 
| 285 |  | - | 
| 286 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_1_DeprecatedBackend::versionStatus()); | - | 
| 287 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 288 |             d = new QOpenGLFunctions_1_1_DeprecatedBackend(context); | - | 
| 289 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_1_DeprecatedBackend::versionStatus(), d); | - | 
| 290 |         } never executed: end of block  | 0 | 
| 291 |         d_1_1_Deprecated = static_cast<QOpenGLFunctions_1_1_DeprecatedBackend*>(d); | - | 
| 292 |         d->refs.ref(); | - | 
| 293 |  | - | 
| 294 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_2_DeprecatedBackend::versionStatus()); | - | 
| 295 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 296 |             d = new QOpenGLFunctions_1_2_DeprecatedBackend(context); | - | 
| 297 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_2_DeprecatedBackend::versionStatus(), d); | - | 
| 298 |         } never executed: end of block  | 0 | 
| 299 |         d_1_2_Deprecated = static_cast<QOpenGLFunctions_1_2_DeprecatedBackend*>(d); | - | 
| 300 |         d->refs.ref(); | - | 
| 301 |  | - | 
| 302 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_3_DeprecatedBackend::versionStatus()); | - | 
| 303 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 304 |             d = new QOpenGLFunctions_1_3_DeprecatedBackend(context); | - | 
| 305 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_3_DeprecatedBackend::versionStatus(), d); | - | 
| 306 |         } never executed: end of block  | 0 | 
| 307 |         d_1_3_Deprecated = static_cast<QOpenGLFunctions_1_3_DeprecatedBackend*>(d); | - | 
| 308 |         d->refs.ref(); | - | 
| 309 |  | - | 
| 310 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_4_DeprecatedBackend::versionStatus()); | - | 
| 311 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 312 |             d = new QOpenGLFunctions_1_4_DeprecatedBackend(context); | - | 
| 313 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_4_DeprecatedBackend::versionStatus(), d); | - | 
| 314 |         } never executed: end of block  | 0 | 
| 315 |         d_1_4_Deprecated = static_cast<QOpenGLFunctions_1_4_DeprecatedBackend*>(d); | - | 
| 316 |         d->refs.ref(); | - | 
| 317 |  | - | 
| 318 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_3_DeprecatedBackend::versionStatus()); | - | 
| 319 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 320 |             d = new QOpenGLFunctions_3_3_DeprecatedBackend(context); | - | 
| 321 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_3_DeprecatedBackend::versionStatus(), d); | - | 
| 322 |         } never executed: end of block  | 0 | 
| 323 |         d_3_3_Deprecated = static_cast<QOpenGLFunctions_3_3_DeprecatedBackend*>(d); | - | 
| 324 |         d->refs.ref(); | - | 
| 325 |  | - | 
| 326 |         QAbstractOpenGLFunctions::initializeOpenGLFunctions(); | - | 
| 327 |     } never executed: end of block  | 0 | 
| 328 |     return never executed: return isInitialized();  isInitialized();never executed: return isInitialized();  | 0 | 
| 329 | } | - | 
| 330 |  | - | 
| 331 | bool QOpenGLFunctions_4_4_Compatibility::isContextCompatible(QOpenGLContext *context) | - | 
| 332 | { | - | 
| 333 |     ((!(context)) ? qt_assert("context",__FILE__,392) : qt_noop()); | - | 
| 334 |     QSurfaceFormat f = context->format(); | - | 
| 335 |     const QPair<int, int> v = qMakePair(f.majorVersion(), f.minorVersion()); | - | 
| 336 |     if (v < qMakePair(4, 4)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 337 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 338 |  | - | 
| 339 |     if (f.profile() == QSurfaceFormat::CoreProfile| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 340 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 341 |  | - | 
| 342 |     return never executed: return true;  true;never executed: return true;  | 0 | 
| 343 | } | - | 
| 344 |  | - | 
| 345 | QOpenGLVersionProfile QOpenGLFunctions_4_4_Compatibility::versionProfile() | - | 
| 346 | { | - | 
| 347 |     QOpenGLVersionProfile v; | - | 
| 348 |     v.setVersion(4, 4); | - | 
| 349 |     v.setProfile(QSurfaceFormat::CompatibilityProfile); | - | 
| 350 |     return never executed: return v;  v;never executed: return v;  | 0 | 
| 351 | } | - | 
| 352 |  | - | 
| 353 |  | - | 
 |  |  |