Qt 4.8
|
#include <qglxintegration.h>
Public Functions | |
virtual void | doneCurrent () |
Reimplement in subclass to release current context. More... | |
virtual void | doneCurrent () |
Reimplement in subclass to release current context. More... | |
virtual void * | getProcAddress (const QString &procName) |
Reimplement in subclass to native getProcAddr calls. More... | |
virtual void * | getProcAddress (const QString &procName) |
Reimplement in subclass to native getProcAddr calls. More... | |
GLXContext | glxContext () const |
GLXContext | glxContext () const |
virtual void | makeCurrent () |
Reimplement in subclass to do makeCurrent on native GL context. More... | |
virtual void | makeCurrent () |
Reimplement in subclass to do makeCurrent on native GL context. More... | |
QPlatformWindowFormat | platformWindowFormat () const |
QWidget has the function qplatformWindowFormat(). More... | |
QPlatformWindowFormat | platformWindowFormat () const |
QWidget has the function qplatformWindowFormat(). More... | |
QGLXContext (Window window, QXcbScreen *xd, const QPlatformWindowFormat &format) | |
QGLXContext (Window window, QXlibScreen *xd, const QPlatformWindowFormat &format) | |
virtual void | swapBuffers () |
Reimplement in subclass to native swap buffers calls. More... | |
virtual void | swapBuffers () |
Reimplement in subclass to native swap buffers calls. More... | |
~QGLXContext () | |
~QGLXContext () | |
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 | |
QGLXContext (QXcbScreen *screen, Drawable drawable, GLXContext context) | |
QGLXContext (QXlibScreen *screen, Drawable drawable, GLXContext context) | |
Properties | |
GLXContext | m_context |
Drawable | m_drawable |
QXcbScreen * | m_screen |
QXlibScreen * | m_screen |
QPlatformWindowFormat | m_windowFormat |
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 54 of file qglxintegration.h.
QGLXContext::QGLXContext | ( | Window | window, |
QXcbScreen * | xd, | ||
const QPlatformWindowFormat & | format | ||
) |
Definition at line 60 of file qglxintegration.cpp.
QGLXContext::~QGLXContext | ( | ) |
|
private |
Definition at line 79 of file qglxintegration.cpp.
QGLXContext::QGLXContext | ( | Window | window, |
QXlibScreen * | xd, | ||
const QPlatformWindowFormat & | format | ||
) |
Definition at line 62 of file qglxintegration.cpp.
QGLXContext::~QGLXContext | ( | ) |
|
private |
Definition at line 84 of file qglxintegration.cpp.
|
virtual |
Reimplement in subclass to release current context.
Typically this is calling makeCurrent with 0 "surface"
Reimplemented from QPlatformGLContext.
Definition at line 101 of file qglxintegration.cpp.
Referenced by QGLXContext().
|
virtual |
Reimplement in subclass to release current context.
Typically this is calling makeCurrent with 0 "surface"
Reimplemented from QPlatformGLContext.
|
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 116 of file qglxintegration.cpp.
Referenced by QGLXContext().
|
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.
|
inline |
|
inline |
Definition at line 68 of file qglxintegration.h.
|
virtual |
Reimplement in subclass to do makeCurrent on native GL context.
Reimplemented from QPlatformGLContext.
Definition at line 93 of file qglxintegration.cpp.
Referenced by QGLXContext().
|
virtual |
Reimplement in subclass to do makeCurrent on native GL context.
Reimplemented from QPlatformGLContext.
|
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 150 of file qglxintegration.cpp.
Referenced by glxContext(), and QGLXContext().
|
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.
|
virtual |
Reimplement in subclass to native swap buffers calls.
Implements QPlatformGLContext.
Definition at line 109 of file qglxintegration.cpp.
Referenced by QGLXContext().
|
virtual |
Reimplement in subclass to native swap buffers calls.
Implements QPlatformGLContext.
|
private |
Definition at line 72 of file qglxintegration.h.
Referenced by glxContext(), makeCurrent(), QGLXContext(), and ~QGLXContext().
|
private |
Definition at line 71 of file qglxintegration.h.
Referenced by makeCurrent(), QGLXContext(), and swapBuffers().
|
private |
Definition at line 70 of file qglxintegration.h.
Referenced by doneCurrent(), getProcAddress(), makeCurrent(), QGLXContext(), swapBuffers(), and ~QGLXContext().
|
private |
Definition at line 73 of file qglxintegration.h.
|
private |
Definition at line 73 of file qglxintegration.h.
Referenced by platformWindowFormat(), and QGLXContext().