Qt 4.8
|
Public Functions | |
void | doneCurrent () |
Reimplement in subclass to release current context. More... | |
EAGLPlatformContext (EAGLView *view) | |
void * | getProcAddress (const QString &) |
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... | |
void | swapBuffers () |
Reimplement in subclass to native swap buffers calls. More... | |
~EAGLPlatformContext () | |
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... | |
Properties | |
QPlatformWindowFormat | mFormat |
EAGLView * | mView |
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 73 of file quikitwindow.mm.
|
inline |
Definition at line 76 of file quikitwindow.mm.
|
inline |
Definition at line 106 of file quikitwindow.mm.
|
inlinevirtual |
Reimplement in subclass to release current context.
Typically this is calling makeCurrent with 0 "surface"
Reimplemented from QPlatformGLContext.
Definition at line 114 of file quikitwindow.mm.
|
inlinevirtual |
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 124 of file quikitwindow.mm.
|
inlinevirtual |
Reimplement in subclass to do makeCurrent on native GL context.
Reimplemented from QPlatformGLContext.
Definition at line 108 of file quikitwindow.mm.
|
inlinevirtual |
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 126 of file quikitwindow.mm.
|
inlinevirtual |
Reimplement in subclass to native swap buffers calls.
Implements QPlatformGLContext.
Definition at line 119 of file quikitwindow.mm.
|
private |
Definition at line 134 of file quikitwindow.mm.
Referenced by EAGLPlatformContext(), and platformWindowFormat().
|
private |
Definition at line 132 of file quikitwindow.mm.
Referenced by EAGLPlatformContext(), makeCurrent(), and swapBuffers().