MAlfScreenBufferObserver Class Reference

class MAlfScreenBufferObserver

Observer class for screen buffer.

Member Functions Documentation

BufferComplete(TUid, TRect &, TRect &)

TBool BufferComplete ( TUid aBufferUid,
TRect & aDisplayRect,
TRect & aDirtyRect
) [pure virtual]

Alf calls this when all the content have been draw to the back buffer. If EFalse is returned, the buffer is locked until the observer calls RequestNextBuffer(). If ETrue is returned, the RequestNextBuffer() is called automatically, immediately after this method returns.

Parameters

TUid aBufferUid Unique id of the buffer.
TRect & aDisplayRect Screen buffer rect.
TRect & aDirtyRect Dirty rect for the buffer.

HandleScreenBufferEvent(TUid, TInt)

void HandleScreenBufferEvent ( TUid aBufferUid,
TInt aEvent
) [pure virtual]

Alf calls this when e.g. the back buffer is created or deleted.

MAlfScreenBufferObserver::TAlfScreenBufferEvent

Parameters

TUid aBufferUid
TInt aEvent

Member Enumerations Documentation

Enum TAlfScreenBufferEvent

Screen buffer Events.

Enumerators

ENone
ECreated
EDeleted
ERestored
EReleased
EBufferDrawComplete