MAlfScreenBufferObserver Class Reference

class MAlfScreenBufferObserver

Observer class for screen buffer.

Member Functions Documentation

BufferComplete(TUid, TRect &, TRect &)

TBool BufferComplete(TUidaBufferUid,
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 aBufferUidUnique id of the buffer.
TRect & aDisplayRectScreen buffer rect.
TRect & aDirtyRectDirty rect for the buffer.

HandleScreenBufferEvent(TUid, TInt)

voidHandleScreenBufferEvent(TUidaBufferUid,
TIntaEvent
)[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