Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenVGContext Class Reference

#include <qopenvgcontext_p.h>

+ Collaboration diagram for QOpenVGContext:

Public Member Functions

 QOpenVGContext (QWindow *window)
 
 ~QOpenVGContext ()
 
void makeCurrent ()
 
void makeCurrent (EGLSurface surface)
 
void doneCurrent ()
 
void swapBuffers ()
 
void swapBuffers (EGLSurface surface)
 
QWindowwindow () const
 
EGLDisplay eglDisplay ()
 
EGLConfig eglConfig ()
 
EGLContext eglContext ()
 
QImage readFramebuffer (const QSize &size)
 
void getConfigs ()
 

Static Public Member Functions

static void checkErrors ()
 

Detailed Description

Definition at line 15 of file qopenvgcontext_p.h.

Constructor & Destructor Documentation

◆ QOpenVGContext()

QT_BEGIN_NAMESPACE QOpenVGContext::QOpenVGContext ( QWindow * window)

Definition at line 13 of file qopenvgcontext.cpp.

References EGLDisplay(), EGLSurface(), QPlatformNativeInterface::nativeResourceForWindow(), QGuiApplication::platformNativeInterface(), qFatal, and window().

+ Here is the call graph for this function:

◆ ~QOpenVGContext()

QOpenVGContext::~QOpenVGContext ( )

Definition at line 44 of file qopenvgcontext.cpp.

References doneCurrent().

+ Here is the call graph for this function:

Member Function Documentation

◆ checkErrors()

void QOpenVGContext::checkErrors ( )
static

Definition at line 170 of file qopenvgcontext.cpp.

References error, QString::number(), and qDebug.

+ Here is the call graph for this function:

◆ doneCurrent()

void QOpenVGContext::doneCurrent ( )

Definition at line 60 of file qopenvgcontext.cpp.

Referenced by ~QOpenVGContext(), and QSGOpenVGRenderLoop::windowDestroyed().

+ Here is the caller graph for this function:

◆ eglConfig()

EGLConfig QOpenVGContext::eglConfig ( )
inline

Definition at line 31 of file qopenvgcontext_p.h.

◆ eglContext()

EGLContext QOpenVGContext::eglContext ( )
inline

Definition at line 32 of file qopenvgcontext_p.h.

◆ eglDisplay()

EGLDisplay QOpenVGContext::eglDisplay ( )
inline

Definition at line 30 of file qopenvgcontext_p.h.

◆ getConfigs()

void QOpenVGContext::getConfigs ( )

Definition at line 87 of file qopenvgcontext.cpp.

References qDebug.

◆ makeCurrent() [1/2]

void QOpenVGContext::makeCurrent ( )

Definition at line 50 of file qopenvgcontext.cpp.

References makeCurrent().

Referenced by makeCurrent(), and QSGOpenVGRenderLoop::renderWindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ makeCurrent() [2/2]

void QOpenVGContext::makeCurrent ( EGLSurface surface)

Definition at line 55 of file qopenvgcontext.cpp.

◆ readFramebuffer()

QImage QOpenVGContext::readFramebuffer ( const QSize & size)

Definition at line 80 of file qopenvgcontext.cpp.

References QImage::Format_RGB32.

Referenced by QSGOpenVGRenderLoop::renderWindow().

+ Here is the caller graph for this function:

◆ swapBuffers() [1/2]

void QOpenVGContext::swapBuffers ( )

Definition at line 65 of file qopenvgcontext.cpp.

References swapBuffers().

Referenced by QSGOpenVGRenderLoop::renderWindow(), and swapBuffers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swapBuffers() [2/2]

void QOpenVGContext::swapBuffers ( EGLSurface surface)

Definition at line 70 of file qopenvgcontext.cpp.

◆ window()

QWindow * QOpenVGContext::window ( ) const

Definition at line 75 of file qopenvgcontext.cpp.

Referenced by QOpenVGContext(), and QSGOpenVGRenderLoop::windowDestroyed().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: