#include <CGLRenderThread.h>
Private Member Functions | |
CGLRenderThread (CGLSurface *newSurface) | |
~CGLRenderThread () | |
void | run () |
Private Attributes | |
CGLSurface * | surface |
volatile bool | render_flag |
volatile bool | resize_flag |
Friends | |
class | CGLSurface |
Definition at line 21 of file CGLRenderThread.h.
CGLRenderThread::CGLRenderThread | ( | CGLSurface * | newSurface | ) | [private] |
Definition at line 18 of file CGLRenderTread.cpp.
CGLRenderThread::~CGLRenderThread | ( | ) | [private] |
Definition at line 25 of file CGLRenderTread.cpp.
void CGLRenderThread::run | ( | ) | [private] |
Definition at line 34 of file CGLRenderTread.cpp.
References CGLSurface::bRenderWithOverlay, CGLSurface::initialized, CGLSurface::onDraw(), CGLSurface::onFinishRendering(), CGLSurface::onInitialize(), CGLSurface::onOverlayDraw(), CGLSurface::onResize(), CGLSurface::pPainter, CGLSurface::render_condition, render_flag, CGLSurface::render_mutex, resize_flag, and surface.
friend class CGLSurface [friend] |
Definition at line 25 of file CGLRenderThread.h.
volatile bool CGLRenderThread::render_flag [private] |
Definition at line 43 of file CGLRenderThread.h.
Referenced by CGLSurface::finishRendering(), CGLSurface::initRendering(), and run().
volatile bool CGLRenderThread::resize_flag [private] |
Definition at line 44 of file CGLRenderThread.h.
Referenced by CGLSurface::paintEvent(), CGLSurface::resizeEvent(), and run().
CGLSurface* CGLRenderThread::surface [private] |