CHuiFxEngine Class Reference
class CHuiFxEngine : public CBase
|
Public Member Functions
|
|
~CHuiFxEngine
()
|
IMPORT_C
CHuiFxRenderbuffer
*
|
AcquireRenderbuffer
(const
TSize
&)
|
CHuiFxRenderbuffer
*
|
AcquireRenderbuffer
(const
TSize
&,
TBool
)
|
IMPORT_C
TInt
|
ActiveGroupEffect
()
|
IMPORT_C
TBool
|
AddEffectToGroup
(
TInt
)
|
IMPORT_C void
|
AdvanceTime
(
TReal32
)
|
IMPORT_C void
|
BeginGroupEffect
(
TInt
)
|
void
|
ClearCache
()
|
void
|
Composite
(
CHuiFxRenderbuffer
&,
CHuiFxRenderbuffer
&, const
TRect
&, const
TRect
&,
THuiFxBlendingMode
,
TInt
)
|
IMPORT_C void
|
Composite
(
CHuiGc
&,
CHuiFxRenderbuffer
&, const
TPoint
&,
TBool
,
TInt
)
|
CHuiFxFilter
*
|
CreateFilterL
(
THuiFxFilterType
)
|
CHuiFxRenderbuffer
*
|
DefaultRenderbuffer
()
|
IMPORT_C void
|
EnableLowMemoryState
(
TBool
)
|
IMPORT_C
THuiFxEngineType
|
EngineType
()
|
IMPORT_C
TBool
|
FxmlUsesInput1
(const
TDesC
&)
|
IMPORT_C
TBool
|
FxmlUsesOpaqueHint
(const
TDesC
&)
|
IMPORT_C
TReal32
|
GetReferenceValue
(
THuiFxReferencePoint
)
|
TBool
|
HasActiveEffects
()
|
TBool
|
HasActiveFadeEffect
()
|
IMPORT_C void
|
LoadEffectL
(const
TDesC
&,
CHuiFxEffect
*&,
MHuiEffectable
*,
TRect
*,
MAlfGfxEffectObserver
*,
TInt
,
TInt
)
|
IMPORT_C void
|
LoadGroupEffectL
(const
TDesC
&,
CHuiFxEffect
*&,
MHuiEffectable
*,
TInt
,
TRect
*,
MAlfGfxEffectObserver
*,
TInt
,
TInt
)
|
TInt
|
LowMemoryState
()
|
void
|
NotifyEffectEndObservers
()
|
void
|
NotifyEffectReady
(
TInt
)
|
IMPORT_C void
|
RegisterEffectL
(const
TDesC
&)
|
IMPORT_C void
|
Release
()
|
IMPORT_C void
|
ReleaseRenderbuffer
(
CHuiFxRenderbuffer
*)
|
IMPORT_C void
|
RestoreL
()
|
IMPORT_C void
|
SetMemoryLevel
(
THuiMemoryLevel
)
|
void
|
SetObserver
(
MHuiEffectObserver
*)
|
IMPORT_C void
|
StartGroupEffect
(
TInt
)
|
IMPORT_C void
|
UnRegisterEffectL
(const
TDesC
&)
|
Constructor & Destructor Documentation
~CHuiFxEngine()
IMPORT_C
|
~CHuiFxEngine
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AcquireNativeRenderbuffer(const TSize &)
Parameters
const
TSize
& aDesiredSize
|
|
AcquireRenderbuffer(const TSize &)
Parameters
const
TSize
& aDesiredSize
|
|
AcquireRenderbuffer(const TSize &, TBool)
ActiveGroupEffect()
IMPORT_C
TInt
|
ActiveGroupEffect
|
(
|
)
|
|
AddEffectL(CHuiFxEffect *)
IMPORT_C void
|
AddEffectL
|
(
|
CHuiFxEffect
*
|
aEffect
|
)
|
[protected]
|
AddEffectToGroup(TInt)
IMPORT_C
TBool
|
AddEffectToGroup
|
(
|
TInt
|
aGroup
|
)
|
|
AdvanceTime(TReal32)
IMPORT_C void
|
AdvanceTime
|
(
|
TReal32
|
aElapsedTime
|
)
|
|
BeginGroupEffect(TInt)
IMPORT_C void
|
BeginGroupEffect
|
(
|
TInt
|
aGroup
|
)
|
|
Composite(CHuiFxRenderbuffer &, CHuiFxRenderbuffer &, const TRect &, const TRect &, THuiFxBlendingMode, TInt)
Composite(CHuiGc &, CHuiFxRenderbuffer &, const TPoint &, TBool, TInt)
ConstructL(THuiFxEngineType)
CreateFilterL(THuiFxFilterType)
EnableLowMemoryState(TBool)
IMPORT_C void
|
EnableLowMemoryState
|
(
|
TBool
|
aEnable
|
)
|
|
FindEffectGroup(TInt)
TInt
|
FindEffectGroup
|
(
|
TInt
|
aGroup
|
)
|
[private]
|
FxmlUsesInput1(const TDesC &)
IMPORT_C
TBool
|
FxmlUsesInput1
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
FxmlUsesInput1(CHuiFxEffect &)
FxmlUsesOpaqueHint(const TDesC &)
IMPORT_C
TBool
|
FxmlUsesOpaqueHint
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
GetReferenceValue(THuiFxReferencePoint)
HasActiveEffects()
TBool
|
HasActiveEffects
|
(
|
)
|
const
|
HasActiveFadeEffect()
TBool
|
HasActiveFadeEffect
|
(
|
)
|
const
|
InsertFreeRenderbuffer(CHuiFxRenderbuffer *)
IsCacheEmpty()
TBool
|
IsCacheEmpty
|
(
|
)
|
const [private, inline]
|
IsCacheFull()
TBool
|
IsCacheFull
|
(
|
)
|
const [private, inline]
|
LoadEffectL(const TDesC &, CHuiFxEffect *&, MHuiEffectable *, TRect *, MAlfGfxEffectObserver *, TInt, TInt)
LoadGroupEffectL(const TDesC &, CHuiFxEffect *&, MHuiEffectable *, TInt, TRect *, MAlfGfxEffectObserver *, TInt, TInt)
LookupFreeRenderbuffer(const TSize &, TBool)
NONSHARABLE_STRUCT(TEffectGroupStruct)
NONSHARABLE_STRUCT
|
(
|
TEffectGroupStruct
|
|
)
|
[private, inline]
|
NotifyEffectEndObservers()
void
|
NotifyEffectEndObservers
|
(
|
)
|
|
NotifyEffectReady(TInt)
void
|
NotifyEffectReady
|
(
|
TInt
|
aGroupId
|
)
|
|
Group effects wait until each effect has been drawn once.
Group effects are set into motion by NotifyEffectReady, when all effects in the group have been drawn at least once.
RegisterEffectL(const TDesC &)
IMPORT_C void
|
RegisterEffectL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
Release()
IMPORT_C void
|
Release
|
(
|
)
|
[virtual]
|
ReleaseNativeRenderbuffer(CHuiFxRenderbuffer *)
ReleaseRenderbuffer(CHuiFxRenderbuffer *)
RemoveEffect(CHuiFxEffect *)
IMPORT_C void
|
RemoveEffect
|
(
|
CHuiFxEffect
*
|
aEffect
|
)
|
[protected]
|
RestoreL()
IMPORT_C void
|
RestoreL
|
(
|
)
|
[virtual]
|
SetMemoryLevel(THuiMemoryLevel)
SetObserver(MHuiEffectObserver *)
StartGroupEffect(TInt)
IMPORT_C void
|
StartGroupEffect
|
(
|
TInt
|
aGroup
|
)
|
|
UnRegisterEffectL(const TDesC &)
IMPORT_C void
|
UnRegisterEffectL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
Member Data Documentation
const TInt CACHE_SIZE
const
TInt
|
CACHE_SIZE
|
[private, static]
|
RArray< TEffectGroupStruct > iActiveEffectGroups
RArray
< TEffectGroupStruct >
|
iActiveEffectGroups
|
[private]
|
Only one simultanious effect group is supported
RPointerArray< CHuiFxEffect > iActiveEffects
CHuiFxRenderbuffer * iBufferCache
TInt
iBuffersInCache
TInt
|
iBuffersInCache
|
[private]
|
TInt
iBuffersInUse
TInt
|
iBuffersInUse
|
[protected]
|
CHuiFxEffectCache * iCache
MHuiEffectObserver * iEffectObserver
TInt
iLowGraphicsMemoryMode
TInt
|
iLowGraphicsMemoryMode
|
[private]
|
TRequestStatus
iParserStatus
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.