equal
deleted
inserted
replaced
19 #include <AknsSrvChunkLookup.h> |
19 #include <AknsSrvChunkLookup.h> |
20 #include <AknsConstants.h> |
20 #include <AknsConstants.h> |
21 #include <AknsItemDef.h> |
21 #include <AknsItemDef.h> |
22 |
22 |
23 #include "bganimhost.h" |
23 #include "bganimhost.h" |
24 |
24 #include <platform/ssm/startupdomainpskeys.h> |
25 |
25 |
26 typedef void* (*plugingetinterfacefunc)(int); |
26 typedef void* (*plugingetinterfacefunc)(int); |
27 |
27 |
28 const TInt KRefreshTarget = 99; |
28 const TInt KRefreshTarget = 99; |
29 _LIT(KExeCaption,"BG anim host"); |
29 _LIT(KExeCaption,"BG anim host"); |
30 |
30 |
31 static const TUint KMaxGPUMemUsage = 1024*1024*4; |
31 static const TUint KMaxGPUMemUsage = 1024*1024*4; |
32 |
32 |
33 |
33 |
34 CBgAnimHost::CBgAnimHost() |
34 CBgAnimHost::CBgAnimHost():iIsUIReady(EFalse) |
35 { |
35 { |
36 } |
36 } |
37 |
37 |
38 CBgAnimHost::~CBgAnimHost() |
38 CBgAnimHost::~CBgAnimHost() |
39 { |
39 { |
514 } |
514 } |
515 if (!iSurfaceInitialized) |
515 if (!iSurfaceInitialized) |
516 { |
516 { |
517 return; |
517 return; |
518 } |
518 } |
|
519 if (!iIsUIReady) |
|
520 { |
|
521 TInt lValOfNoUse; |
|
522 TInt err = RProperty::Get( KPSUidStartup, |
|
523 KPSStartupUiPhase, |
|
524 lValOfNoUse); |
|
525 if (err == KErrNotFound) |
|
526 { |
|
527 iTimer->CallBack(1); |
|
528 return; |
|
529 } |
|
530 } |
|
531 iIsUIReady = ETrue; |
519 TTime start; |
532 TTime start; |
520 start.UniversalTime(); |
533 start.UniversalTime(); |
521 iPlugin->produceframe(); |
534 iPlugin->produceframe(); |
522 eglSwapBuffers(iEGLDisplay, iEGLSurface); |
535 eglSwapBuffers(iEGLDisplay, iEGLSurface); |
523 TTime end; |
536 TTime end; |