CEGLRendering Class Reference

List of all members.

Public Member Functions

 ~CEGLRendering ()
void Start ()
void Stop ()
TKeyResponse HandleKeyEventL (const TKeyEvent &aKeyEvent)
void UpdateDisplay ()

Static Public Member Functions

static CEGLRenderingNewL (RWindow &aWindow)
static CEGLRenderingNewLC (RWindow &aWindow)
static void EGLCheckError ()
static void EGLCheckReturnError (EGLBoolean aBool)
static void VGCheckError ()
static TInt TimerCallBack (TAny *aDemo)

Detailed Description

This class handles the rendering of the EGL display. It defines methods to:

Definition at line 40 of file eglrendering.h.


Constructor & Destructor Documentation

CEGLRendering::~CEGLRendering (  ) 

Destructor.

Definition at line 58 of file eglrendering.cpp.


Member Function Documentation

CEGLRendering * CEGLRendering::NewL ( RWindow &  aWindow  )  [static]

Performs the two-phase construction of an object of the CEGLRendering class.

Parameters:
aWindow A handle to the active window.
Returns:
A CEGLRendering object.

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.

Parameters:
aWindow A handle to the active window.
Returns:
A CEGLRendering object.

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.

Parameters:
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.

Parameters:
aKeyEvent The key event details.
Returns:
Indicates whether or not the key event was consumed.

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.

Parameters:
aDemo The pointer to the argument of the callback function.
Returns:
KErrNone.

Definition at line 290 of file eglrendering.cpp.


Generated by  doxygen 1.6.2