Public Member Functions | |
~CEGLRendering () | |
void | Start () |
void | Stop () |
TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent) |
void | UpdateDisplay () |
Static Public Member Functions | |
static CEGLRendering * | NewL (RWindow &aWindow) |
static CEGLRendering * | NewLC (RWindow &aWindow) |
static void | EGLCheckError () |
static void | EGLCheckReturnError (EGLBoolean aBool) |
static void | VGCheckError () |
static TInt | TimerCallBack (TAny *aDemo) |
This class handles the rendering of the EGL display. It defines methods to:
Definition at line 40 of file eglrendering.h.
CEGLRendering::~CEGLRendering | ( | ) |
Destructor.
Definition at line 58 of file eglrendering.cpp.
CEGLRendering * CEGLRendering::NewL | ( | RWindow & | aWindow | ) | [static] |
Performs the two-phase construction of an object of the CEGLRendering class.
aWindow | A handle to the active window. |
Definition at line 35 of file eglrendering.cpp.
CEGLRendering * CEGLRendering::NewLC | ( | RWindow & | aWindow | ) | [static] |
Performs the two-phase construction of an object of the CEGLRendering class.
aWindow | A handle to the active window. |
Definition at line 47 of file eglrendering.cpp.
void CEGLRendering::Start | ( | ) |
Starts the timer object.
Definition at line 90 of file eglrendering.cpp.
void CEGLRendering::Stop | ( | ) |
Stops the timer object.
Definition at line 99 of file eglrendering.cpp.
void CEGLRendering::EGLCheckError | ( | ) | [static] |
Checks for any egl errors.
Definition at line 110 of file eglrendering.cpp.
void CEGLRendering::EGLCheckReturnError | ( | EGLBoolean | aBool | ) | [static] |
Checks for any egl errors.
aBool | Indicates an error if true. |
Definition at line 135 of file eglrendering.cpp.
void CEGLRendering::VGCheckError | ( | ) | [static] |
Checks for any vg errors.
Definition at line 122 of file eglrendering.cpp.
TKeyResponse CEGLRendering::HandleKeyEventL | ( | const TKeyEvent & | aKeyEvent | ) |
Handles key events.
aKeyEvent | The key event details. |
Definition at line 157 of file eglrendering.cpp.
void CEGLRendering::UpdateDisplay | ( | ) |
Updates the display .
Definition at line 255 of file eglrendering.cpp.
TInt CEGLRendering::TimerCallBack | ( | TAny * | aDemo | ) | [static] |
Callback called by refresh timer.
aDemo | The pointer to the argument of the callback function. |
Definition at line 290 of file eglrendering.cpp.