QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QGLContext
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QGLContext
Name: QGLContext::~QGLContext
Prototype: QGLContext::~QGLContext()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2218-2228
100.000% (1/1)
41
isValid
Name: QGLContext::isValid
Prototype: bool QGLContext::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3379-3383
100.000% (1/1)
21
isSharing
Name: QGLContext::isSharing
Prototype: bool QGLContext::isSharing() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3391-3395
100.000% (1/1)
21
functions
Name: QGLContext::functions
Prototype: QGLFunctions *QGLContext::functions() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2802-2810
100.000% (4/4)
52
format
Name: QGLContext::format
Prototype: QGLFormat QGLContext::format() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3397-3401
100.000% (1/1)
21
doneCurrent
Name: QGLContext::doneCurrent
Prototype: void QGLContext::doneCurrent()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3627-3631
100.000% (1/1)
21
device
Name: QGLContext::device
Prototype: QPaintDevice* QGLContext::device() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3409-3413
100.000% (1/1)
21
contextHandle
Name: QGLContext::contextHandle
Prototype: QOpenGLContext *QGLContext::contextHandle() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2191-2195
100.000% (1/1)
21
QGLContext
Name: QGLContext::QGLContext
Prototype: QGLContext::QGLContext(const QGLFormat &format, QPaintDevice *device)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2140-2145
100.000% (1/1)
21
reset
Name: QGLContext::reset
Prototype: void QGLContext::reset()
Coverage:  70.588% (12/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3539-3565
 70.588% (12/17)
206
makeCurrent
Name: QGLContext::makeCurrent
Prototype: void QGLContext::makeCurrent()
Coverage:  55.000% (11/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3581-3600
 55.000% (11/20)
126
currentContext
Name: QGLContext::currentContext
Prototype: const QGLContext* QGLContext::currentContext()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3447-3453
 50.000% (2/4)
32
areSharing
Name: QGLContext::areSharing
Prototype: bool QGLContext::areSharing(const QGLContext *context1, const QGLContext *context2)
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3229-3234
 50.000% (3/6)
32
chooseContext
Name: QGLContext::chooseContext
Prototype: bool QGLContext::chooseContext(const QGLContext* shareContext)
Coverage:  48.000% (12/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3486-3530
 48.000% (12/25)
296
create
Name: QGLContext::create
Prototype: bool QGLContext::create(const QGLContext* shareContext)
Coverage:  46.154% (6/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3364-3377
 46.154% (6/13)
93
swapBuffers
Name: QGLContext::swapBuffers
Prototype: void QGLContext::swapBuffers() const
Coverage:  44.444% (4/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3608-3619
 44.444% (4/9)
73
fromOpenGLContext
Name: QGLContext::fromOpenGLContext
Prototype: QGLContext *QGLContext::fromOpenGLContext(QOpenGLContext *context)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2201-2212
 42.857% (3/7)
63
setDevice
Name: QGLContext::setDevice
Prototype: void QGLContext::setDevice(QPaintDevice *pDev)
Coverage:  30.000% (3/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3185-3197
 30.000% (3/10)
62
windowCreated
Name: QGLContext::windowCreated
Prototype: bool QGLContext::windowCreated() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3422-3426
  0.000% (0/1)
21
textureCacheLimit
Name: QGLContext::textureCacheLimit
Prototype: int QGLContext::textureCacheLimit()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3140-3143
  0.000% (0/1)
11
setWindowCreated
Name: QGLContext::setWindowCreated
Prototype: void QGLContext::setWindowCreated(bool on)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3429-3433
  0.000% (0/1)
21
setValid
Name: QGLContext::setValid
Prototype: void QGLContext::setValid(bool valid)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3385-3389
  0.000% (0/1)
21
setTextureCacheLimit
Name: QGLContext::setTextureCacheLimit
Prototype: void QGLContext::setTextureCacheLimit(int size)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3130-3133
  0.000% (0/1)
11
setInitialized
Name: QGLContext::setInitialized
Prototype: void QGLContext::setInitialized(bool on)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3441-3445
  0.000% (0/1)
21
setFormat
Name: QGLContext::setFormat
Prototype: void QGLContext::setFormat(const QGLFormat &format)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3175-3180
  0.000% (0/1)
31
requestedFormat
Name: QGLContext::requestedFormat
Prototype: QGLFormat QGLContext::requestedFormat() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3403-3407
  0.000% (0/1)
21
overlayTransparentColor
Name: QGLContext::overlayTransparentColor
Prototype: QColor QGLContext::overlayTransparentColor() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3323-3326
  0.000% (0/1)
11
moveToThread
Name: QGLContext::moveToThread
Prototype: void QGLContext::moveToThread(QThread *thread)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3466-3471
  0.000% (0/4)
32
initialized
Name: QGLContext::initialized
Prototype: bool QGLContext::initialized() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3435-3439
  0.000% (0/1)
21
getProcAddress
Name: QGLContext::getProcAddress
Prototype: QFunctionPointer QGLContext::getProcAddress(const QString &procName) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 4040-4044
  0.000% (0/1)
21
drawTexture
Name: QGLContext::drawTexture
Prototype: void QGLContext::drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3004-3053
  0.000% (0/18)
216
drawTexture
Name: QGLContext::drawTexture
Prototype: void QGLContext::drawTexture(const QPointF &point, GLuint textureId, GLenum textureTarget)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3076-3120
  0.000% (0/18)
276
deviceIsPixmap
Name: QGLContext::deviceIsPixmap
Prototype: bool QGLContext::deviceIsPixmap() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3415-3419
  0.000% (0/1)
21
deleteTexture
Name: QGLContext::deleteTexture
Prototype: void QGLContext::deleteTexture(GLuint id)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2902-2907
  0.000% (0/4)
32
colorIndex
Name: QGLContext::colorIndex
Prototype: uint QGLContext::colorIndex(const QColor&) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 3273-3276
  0.000% (0/1)
11
bindTexture
Name: QGLContext::bindTexture
Prototype: GLuint QGLContext::bindTexture(const QString &fileName)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2293-2300
  0.000% (0/4)
52
bindTexture
Name: QGLContext::bindTexture
Prototype: GLuint QGLContext::bindTexture(const QImage &image, GLenum target, GLint format)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2819-2827
  0.000% (0/4)
52
bindTexture
Name: QGLContext::bindTexture
Prototype: GLuint QGLContext::bindTexture(const QImage &image, GLenum target, GLint format, BindOptions options)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2854-2862
  0.000% (0/4)
52
bindTexture
Name: QGLContext::bindTexture
Prototype: GLuint QGLContext::bindTexture(const QPixmap &pixmap, GLenum target, GLint format)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2868-2876
  0.000% (0/4)
52
bindTexture
Name: QGLContext::bindTexture
Prototype: GLuint QGLContext::bindTexture(const QPixmap &pixmap, GLenum target, GLint format, BindOptions options)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2885-2893
  0.000% (0/4)
52
QGLContext
Name: QGLContext::QGLContext
Prototype: QGLContext::QGLContext(const QGLFormat &format)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2163-2168
  0.000% (0/1)
21
QGLContext
Name: QGLContext::QGLContext
Prototype: QGLContext::QGLContext(QOpenGLContext *context)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp
Lines: 2176-2186
  0.000% (0/1)
71

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9