qsurface.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qsurface.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3bool QSurface::supportsOpenGL() const-
4{-
5 SurfaceType type = surfaceType();-
6 return
never executed: return type == OpenGLSurface || type == RasterGLSurface;
type == OpenGLSurface || type == RasterGLSurface;
never executed: return type == OpenGLSurface || type == RasterGLSurface;
0
7}-
8QSurface::QSurface(SurfaceClass type)-
9 : m_type(type), m_reserved(0)-
10{-
11}
never executed: end of block
0
12-
13-
14-
15-
16QSurface::~QSurface()-
17{-
18-
19 QOpenGLContext *context = QOpenGLContext::currentContext();-
20 if (context
contextDescription
TRUEnever evaluated
FALSEnever evaluated
&& context->surface() == this
context->surface() == thisDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
21 context->doneCurrent();
never executed: context->doneCurrent();
0
22-
23}
never executed: end of block
0
24-
25-
26-
27-
28QSurface::SurfaceClass QSurface::surfaceClass() const-
29{-
30 return
never executed: return m_type;
m_type;
never executed: return m_type;
0
31}-
32-
33-
Switch to Source codePreprocessed file

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