![]() |
Qt 6.x
The Qt SDK
|
#include <qopenvgcontext_p.h>
Public Member Functions | |
QOpenVGContext (QWindow *window) | |
~QOpenVGContext () | |
void | makeCurrent () |
void | makeCurrent (EGLSurface surface) |
void | doneCurrent () |
void | swapBuffers () |
void | swapBuffers (EGLSurface surface) |
QWindow * | window () const |
EGLDisplay | eglDisplay () |
EGLConfig | eglConfig () |
EGLContext | eglContext () |
QImage | readFramebuffer (const QSize &size) |
void | getConfigs () |
Static Public Member Functions | |
static void | checkErrors () |
Definition at line 15 of file qopenvgcontext_p.h.
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().
QOpenVGContext::~QOpenVGContext | ( | ) |
Definition at line 44 of file qopenvgcontext.cpp.
References doneCurrent().
|
static |
Definition at line 170 of file qopenvgcontext.cpp.
References error, QString::number(), and qDebug.
void QOpenVGContext::doneCurrent | ( | ) |
Definition at line 60 of file qopenvgcontext.cpp.
Referenced by ~QOpenVGContext(), and QSGOpenVGRenderLoop::windowDestroyed().
|
inline |
Definition at line 31 of file qopenvgcontext_p.h.
|
inline |
Definition at line 32 of file qopenvgcontext_p.h.
|
inline |
Definition at line 30 of file qopenvgcontext_p.h.
void QOpenVGContext::getConfigs | ( | ) |
Definition at line 87 of file qopenvgcontext.cpp.
References QList< T >::data(), qDebug, and QList< T >::size().
void QOpenVGContext::makeCurrent | ( | ) |
Definition at line 50 of file qopenvgcontext.cpp.
References makeCurrent().
Referenced by makeCurrent(), and QSGOpenVGRenderLoop::renderWindow().
void QOpenVGContext::makeCurrent | ( | EGLSurface | surface | ) |
Definition at line 55 of file qopenvgcontext.cpp.
Definition at line 80 of file qopenvgcontext.cpp.
References QImage::bits(), QImage::bytesPerLine(), QImage::Format_RGB32, and QImage::mirrored().
Referenced by QSGOpenVGRenderLoop::renderWindow().
void QOpenVGContext::swapBuffers | ( | ) |
Definition at line 65 of file qopenvgcontext.cpp.
References swapBuffers().
Referenced by QSGOpenVGRenderLoop::renderWindow(), and swapBuffers().
void QOpenVGContext::swapBuffers | ( | EGLSurface | surface | ) |
Definition at line 70 of file qopenvgcontext.cpp.
QWindow * QOpenVGContext::window | ( | ) | const |
Definition at line 75 of file qopenvgcontext.cpp.
Referenced by QOpenVGContext(), and QSGOpenVGRenderLoop::windowDestroyed().