MAlfBufferProvider Class Reference

class MAlfBufferProvider

Inferface for the pixel buffer provider to provide information, frames and get events concerning context events

Member Functions Documentation

BufferAttributes()

TBufferCreationAttributes &BufferAttributes()[pure virtual]

Called by framework when new buffer is been created. Client should provide desired creation attributes.

ContextAboutToSuspend()

voidContextAboutToSuspend()[pure virtual]

Notification from FW

OnActivation()

voidOnActivation()[pure virtual]

ProduceNewFrameL(const TRegion &, TUint8 *&)

TBool ProduceNewFrameL(const TRegion &aVisibleRegion,
TUint8 *&aBuffer
)[pure virtual]

Called by framework when the next buffer is ready and available for the client to draw.

Parameters

const TRegion & aVisibleRegionis currently visible surface region
TUint8 *& aBuffer

Member Enumerations Documentation

Enum TBufferFormat

Enumerators

ESourceFormatRGB_565 = 0
ESourceFormatXRGB_8888 = 1
ESourceFormatARGB_8888 = 2
ESourceFormatARGB_8888_PRE = 3