Qt 4.8
|
#include <qwaylandxcompositeglxcontext.h>
Public Functions | |
void | doneCurrent () |
Reimplement in subclass to release current context. More... | |
void | geometryChanged () |
void * | getProcAddress (const QString &procName) |
Reimplement in subclass to native getProcAddr calls. More... | |
void | makeCurrent () |
Reimplement in subclass to do makeCurrent on native GL context. More... | |
QPlatformWindowFormat | platformWindowFormat () const |
QWidget has the function qplatformWindowFormat(). More... | |
QWaylandXCompositeGLXContext (QWaylandXCompositeGLXIntegration *glxIntegration, QWaylandXCompositeGLXWindow *window) | |
void | swapBuffers () |
Reimplement in subclass to native swap buffers calls. More... | |
Public Functions inherited from QPlatformGLContext | |
QPlatformGLContext () | |
All subclasses needs to specify the platformWindow. More... | |
virtual | ~QPlatformGLContext () |
If this is the current context for the thread, doneCurrent is called. More... | |
Private Functions | |
void | waitForSync () |
Static Private Functions | |
static void | sync_function (void *data) |
Properties | |
QWaylandBuffer * | mBuffer |
GLXFBConfig | mConfig |
GLXContext | mContext |
QWaylandXCompositeGLXIntegration * | mGlxIntegration |
bool | mWaitingForSyncCallback |
QWaylandXCompositeGLXWindow * | mWindow |
Window | mXWindow |
Additional Inherited Members | |
Static Public Functions inherited from QPlatformGLContext | |
static const QPlatformGLContext * | currentContext () |
Returns the last context which called makeCurrent. More... | |
Protected Variables inherited from QPlatformGLContext | |
QScopedPointer< QPlatformGLContextPrivate > | d_ptr |
Definition at line 57 of file qwaylandxcompositeglxcontext.h.
QWaylandXCompositeGLXContext::QWaylandXCompositeGLXContext | ( | QWaylandXCompositeGLXIntegration * | glxIntegration, |
QWaylandXCompositeGLXWindow * | window | ||
) |
Definition at line 52 of file qwaylandxcompositeglxcontext.cpp.
|
virtual |
Reimplement in subclass to release current context.
Typically this is calling makeCurrent with 0 "surface"
Reimplemented from QPlatformGLContext.
Definition at line 73 of file qwaylandxcompositeglxcontext.cpp.
void QWaylandXCompositeGLXContext::geometryChanged | ( | ) |
Definition at line 117 of file qwaylandxcompositeglxcontext.cpp.
Referenced by QWaylandXCompositeGLXContext(), and QWaylandXCompositeGLXWindow::setGeometry().
|
virtual |
Reimplement in subclass to native getProcAddr calls.
Note: its convenient to use qPrintable(const QString &str) to get the const char * pointer
Implements QPlatformGLContext.
Definition at line 88 of file qwaylandxcompositeglxcontext.cpp.
|
virtual |
Reimplement in subclass to do makeCurrent on native GL context.
Reimplemented from QPlatformGLContext.
Definition at line 67 of file qwaylandxcompositeglxcontext.cpp.
|
virtual |
QWidget has the function qplatformWindowFormat().
That function is for the application programmer to request the format of the window and the context that he wants.
Reimplement this function in a subclass to indicate what format the glContext actually has.
Implements QPlatformGLContext.
Definition at line 93 of file qwaylandxcompositeglxcontext.cpp.
|
virtual |
Reimplement in subclass to native swap buffers calls.
Implements QPlatformGLContext.
Definition at line 79 of file qwaylandxcompositeglxcontext.cpp.
|
staticprivate |
Definition at line 98 of file qwaylandxcompositeglxcontext.cpp.
Referenced by waitForSync().
|
private |
Definition at line 104 of file qwaylandxcompositeglxcontext.cpp.
Referenced by geometryChanged().
|
private |
Definition at line 74 of file qwaylandxcompositeglxcontext.h.
Referenced by geometryChanged().
|
private |
Definition at line 77 of file qwaylandxcompositeglxcontext.h.
Referenced by geometryChanged(), platformWindowFormat(), and QWaylandXCompositeGLXContext().
|
private |
Definition at line 78 of file qwaylandxcompositeglxcontext.h.
Referenced by makeCurrent(), platformWindowFormat(), and QWaylandXCompositeGLXContext().
|
private |
Definition at line 72 of file qwaylandxcompositeglxcontext.h.
Referenced by doneCurrent(), geometryChanged(), makeCurrent(), platformWindowFormat(), swapBuffers(), and waitForSync().
|
private |
Definition at line 82 of file qwaylandxcompositeglxcontext.h.
Referenced by sync_function(), and waitForSync().
|
private |
Definition at line 73 of file qwaylandxcompositeglxcontext.h.
Referenced by geometryChanged(), and swapBuffers().
|
private |
Definition at line 76 of file qwaylandxcompositeglxcontext.h.
Referenced by geometryChanged(), makeCurrent(), and swapBuffers().