| Line | Source | Count | 
| 1 |  | - | 
| 2 |  | - | 
| 3 | QOpenGLFunctions_3_3_Core::QOpenGLFunctions_3_3_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 | { | - | 
| 18 | } never executed: end of block  | 0 | 
| 19 |  | - | 
| 20 | QOpenGLFunctions_3_3_Core::~QOpenGLFunctions_3_3_Core() | - | 
| 21 | { | - | 
| 22 |     if (d_1_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 23 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_0_Core->context, QOpenGLFunctions_1_0_CoreBackend::versionStatus()); | - | 
| 24 |         delete d_1_0_Core; | - | 
| 25 |     } never executed: end of block  | 0 | 
| 26 |     if (d_1_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 27 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_1_Core->context, QOpenGLFunctions_1_1_CoreBackend::versionStatus()); | - | 
| 28 |         delete d_1_1_Core; | - | 
| 29 |     } never executed: end of block  | 0 | 
| 30 |     if (d_1_2_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_2_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 31 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_2_Core->context, QOpenGLFunctions_1_2_CoreBackend::versionStatus()); | - | 
| 32 |         delete d_1_2_Core; | - | 
| 33 |     } never executed: end of block  | 0 | 
| 34 |     if (d_1_3_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_3_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 35 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_3_Core->context, QOpenGLFunctions_1_3_CoreBackend::versionStatus()); | - | 
| 36 |         delete d_1_3_Core; | - | 
| 37 |     } never executed: end of block  | 0 | 
| 38 |     if (d_1_4_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_4_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 39 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_4_Core->context, QOpenGLFunctions_1_4_CoreBackend::versionStatus()); | - | 
| 40 |         delete d_1_4_Core; | - | 
| 41 |     } never executed: end of block  | 0 | 
| 42 |     if (d_1_5_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_1_5_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 43 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_1_5_Core->context, QOpenGLFunctions_1_5_CoreBackend::versionStatus()); | - | 
| 44 |         delete d_1_5_Core; | - | 
| 45 |     } never executed: end of block  | 0 | 
| 46 |     if (d_2_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_2_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 47 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_2_0_Core->context, QOpenGLFunctions_2_0_CoreBackend::versionStatus()); | - | 
| 48 |         delete d_2_0_Core; | - | 
| 49 |     } never executed: end of block  | 0 | 
| 50 |     if (d_2_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_2_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 51 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_2_1_Core->context, QOpenGLFunctions_2_1_CoreBackend::versionStatus()); | - | 
| 52 |         delete d_2_1_Core; | - | 
| 53 |     } never executed: end of block  | 0 | 
| 54 |     if (d_3_0_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_0_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 55 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_0_Core->context, QOpenGLFunctions_3_0_CoreBackend::versionStatus()); | - | 
| 56 |         delete d_3_0_Core; | - | 
| 57 |     } never executed: end of block  | 0 | 
| 58 |     if (d_3_1_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_1_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 59 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_1_Core->context, QOpenGLFunctions_3_1_CoreBackend::versionStatus()); | - | 
| 60 |         delete d_3_1_Core; | - | 
| 61 |     } never executed: end of block  | 0 | 
| 62 |     if (d_3_2_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_2_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 63 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_2_Core->context, QOpenGLFunctions_3_2_CoreBackend::versionStatus()); | - | 
| 64 |         delete d_3_2_Core; | - | 
| 65 |     } never executed: end of block  | 0 | 
| 66 |     if (d_3_3_Core| TRUE | never evaluated |  | FALSE | never evaluated |  
   && !d_3_3_Core->refs.deref()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 67 |         QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(d_3_3_Core->context, QOpenGLFunctions_3_3_CoreBackend::versionStatus()); | - | 
| 68 |         delete d_3_3_Core; | - | 
| 69 |     } never executed: end of block  | 0 | 
| 70 | } never executed: end of block  | 0 | 
| 71 |  | - | 
| 72 | bool QOpenGLFunctions_3_3_Core::initializeOpenGLFunctions() | - | 
| 73 | { | - | 
| 74 |     if ( isInitialized()| TRUE | never evaluated |  | FALSE | never evaluated |  
   ) | 0 | 
| 75 |         return never executed: return true;  true;never executed: return true;  | 0 | 
| 76 |  | - | 
| 77 |     QOpenGLContext* context = QOpenGLContext::currentContext(); | - | 
| 78 |  | - | 
| 79 |  | - | 
| 80 |  | - | 
| 81 |     if (((owningContext()| TRUE | never evaluated |  | FALSE | never evaluated |  
   && owningContext() == context| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) || !owningContext()| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 82 |         && QOpenGLFunctions_3_3_Core::isContextCompatible(context)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 83 |     { | - | 
| 84 |  | - | 
| 85 |  | - | 
| 86 |         QOpenGLVersionFunctionsBackend* d = 0; | - | 
| 87 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_0_CoreBackend::versionStatus()); | - | 
| 88 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 89 |             d = new QOpenGLFunctions_1_0_CoreBackend(context); | - | 
| 90 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_0_CoreBackend::versionStatus(), d); | - | 
| 91 |         } never executed: end of block  | 0 | 
| 92 |         d_1_0_Core = static_cast<QOpenGLFunctions_1_0_CoreBackend*>(d); | - | 
| 93 |         d->refs.ref(); | - | 
| 94 |  | - | 
| 95 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_1_CoreBackend::versionStatus()); | - | 
| 96 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 97 |             d = new QOpenGLFunctions_1_1_CoreBackend(context); | - | 
| 98 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_1_CoreBackend::versionStatus(), d); | - | 
| 99 |         } never executed: end of block  | 0 | 
| 100 |         d_1_1_Core = static_cast<QOpenGLFunctions_1_1_CoreBackend*>(d); | - | 
| 101 |         d->refs.ref(); | - | 
| 102 |  | - | 
| 103 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_2_CoreBackend::versionStatus()); | - | 
| 104 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 105 |             d = new QOpenGLFunctions_1_2_CoreBackend(context); | - | 
| 106 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_2_CoreBackend::versionStatus(), d); | - | 
| 107 |         } never executed: end of block  | 0 | 
| 108 |         d_1_2_Core = static_cast<QOpenGLFunctions_1_2_CoreBackend*>(d); | - | 
| 109 |         d->refs.ref(); | - | 
| 110 |  | - | 
| 111 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_3_CoreBackend::versionStatus()); | - | 
| 112 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 113 |             d = new QOpenGLFunctions_1_3_CoreBackend(context); | - | 
| 114 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_3_CoreBackend::versionStatus(), d); | - | 
| 115 |         } never executed: end of block  | 0 | 
| 116 |         d_1_3_Core = static_cast<QOpenGLFunctions_1_3_CoreBackend*>(d); | - | 
| 117 |         d->refs.ref(); | - | 
| 118 |  | - | 
| 119 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_4_CoreBackend::versionStatus()); | - | 
| 120 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 121 |             d = new QOpenGLFunctions_1_4_CoreBackend(context); | - | 
| 122 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_4_CoreBackend::versionStatus(), d); | - | 
| 123 |         } never executed: end of block  | 0 | 
| 124 |         d_1_4_Core = static_cast<QOpenGLFunctions_1_4_CoreBackend*>(d); | - | 
| 125 |         d->refs.ref(); | - | 
| 126 |  | - | 
| 127 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_1_5_CoreBackend::versionStatus()); | - | 
| 128 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 129 |             d = new QOpenGLFunctions_1_5_CoreBackend(context); | - | 
| 130 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_1_5_CoreBackend::versionStatus(), d); | - | 
| 131 |         } never executed: end of block  | 0 | 
| 132 |         d_1_5_Core = static_cast<QOpenGLFunctions_1_5_CoreBackend*>(d); | - | 
| 133 |         d->refs.ref(); | - | 
| 134 |  | - | 
| 135 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_2_0_CoreBackend::versionStatus()); | - | 
| 136 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 137 |             d = new QOpenGLFunctions_2_0_CoreBackend(context); | - | 
| 138 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_2_0_CoreBackend::versionStatus(), d); | - | 
| 139 |         } never executed: end of block  | 0 | 
| 140 |         d_2_0_Core = static_cast<QOpenGLFunctions_2_0_CoreBackend*>(d); | - | 
| 141 |         d->refs.ref(); | - | 
| 142 |  | - | 
| 143 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_2_1_CoreBackend::versionStatus()); | - | 
| 144 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 145 |             d = new QOpenGLFunctions_2_1_CoreBackend(context); | - | 
| 146 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_2_1_CoreBackend::versionStatus(), d); | - | 
| 147 |         } never executed: end of block  | 0 | 
| 148 |         d_2_1_Core = static_cast<QOpenGLFunctions_2_1_CoreBackend*>(d); | - | 
| 149 |         d->refs.ref(); | - | 
| 150 |  | - | 
| 151 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_0_CoreBackend::versionStatus()); | - | 
| 152 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 153 |             d = new QOpenGLFunctions_3_0_CoreBackend(context); | - | 
| 154 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_0_CoreBackend::versionStatus(), d); | - | 
| 155 |         } never executed: end of block  | 0 | 
| 156 |         d_3_0_Core = static_cast<QOpenGLFunctions_3_0_CoreBackend*>(d); | - | 
| 157 |         d->refs.ref(); | - | 
| 158 |  | - | 
| 159 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_1_CoreBackend::versionStatus()); | - | 
| 160 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 161 |             d = new QOpenGLFunctions_3_1_CoreBackend(context); | - | 
| 162 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_1_CoreBackend::versionStatus(), d); | - | 
| 163 |         } never executed: end of block  | 0 | 
| 164 |         d_3_1_Core = static_cast<QOpenGLFunctions_3_1_CoreBackend*>(d); | - | 
| 165 |         d->refs.ref(); | - | 
| 166 |  | - | 
| 167 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_2_CoreBackend::versionStatus()); | - | 
| 168 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 169 |             d = new QOpenGLFunctions_3_2_CoreBackend(context); | - | 
| 170 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_2_CoreBackend::versionStatus(), d); | - | 
| 171 |         } never executed: end of block  | 0 | 
| 172 |         d_3_2_Core = static_cast<QOpenGLFunctions_3_2_CoreBackend*>(d); | - | 
| 173 |         d->refs.ref(); | - | 
| 174 |  | - | 
| 175 |         d = QAbstractOpenGLFunctionsPrivate::functionsBackend(context, QOpenGLFunctions_3_3_CoreBackend::versionStatus()); | - | 
| 176 |         if (!d| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) { | 0 | 
| 177 |             d = new QOpenGLFunctions_3_3_CoreBackend(context); | - | 
| 178 |             QAbstractOpenGLFunctionsPrivate::insertFunctionsBackend(context, QOpenGLFunctions_3_3_CoreBackend::versionStatus(), d); | - | 
| 179 |         } never executed: end of block  | 0 | 
| 180 |         d_3_3_Core = static_cast<QOpenGLFunctions_3_3_CoreBackend*>(d); | - | 
| 181 |         d->refs.ref(); | - | 
| 182 |  | - | 
| 183 |         QAbstractOpenGLFunctions::initializeOpenGLFunctions(); | - | 
| 184 |     } never executed: end of block  | 0 | 
| 185 |     return never executed: return isInitialized();  isInitialized();never executed: return isInitialized();  | 0 | 
| 186 | } | - | 
| 187 |  | - | 
| 188 | bool QOpenGLFunctions_3_3_Core::isContextCompatible(QOpenGLContext *context) | - | 
| 189 | { | - | 
| 190 |     ((!(context)) ? qt_assert("context",__FILE__,249) : qt_noop()); | - | 
| 191 |     QSurfaceFormat f = context->format(); | - | 
| 192 |     const QPair<int, int> v = qMakePair(f.majorVersion(), f.minorVersion()); | - | 
| 193 |     if (v < qMakePair(3, 3)| TRUE | never evaluated |  | FALSE | never evaluated |  
  ) | 0 | 
| 194 |         return never executed: return false;  false;never executed: return false;  | 0 | 
| 195 |  | - | 
| 196 |     return never executed: return true;  true;never executed: return true;  | 0 | 
| 197 | } | - | 
| 198 |  | - | 
| 199 | QOpenGLVersionProfile QOpenGLFunctions_3_3_Core::versionProfile() | - | 
| 200 | { | - | 
| 201 |     QOpenGLVersionProfile v; | - | 
| 202 |     v.setVersion(3, 3); | - | 
| 203 |     v.setProfile(QSurfaceFormat::CoreProfile); | - | 
| 204 |     return never executed: return v;  v;never executed: return v;  | 0 | 
| 205 | } | - | 
| 206 |  | - | 
| 207 |  | - | 
 |  |  |