uiacceltk/hitchcock/backgroundanim/src/bganimhost.cpp
branchRCL_3
changeset 7 433cbbb6a04b
parent 3 d8a3531bc6b8
child 8 10534483575f
equal deleted inserted replaced
3:d8a3531bc6b8 7:433cbbb6a04b
    24 #include "bganimhost.h"
    24 #include "bganimhost.h"
    25 
    25 
    26 
    26 
    27 typedef void* (*plugingetinterfacefunc)(int);
    27 typedef void* (*plugingetinterfacefunc)(int);
    28 
    28 
    29 const TInt KRefreshTarget = 15;
    29 const TInt KRefreshTarget = 99;
    30 _LIT(KExeCaption,"BG anim host");
    30 _LIT(KExeCaption,"BG anim host");
    31 
    31 
    32 static const TUint KMaxGPUMemUsage = 1024*1024*4;
    32 static const TUint KMaxGPUMemUsage = 1024*1024*4;
    33 
    33 
    34 
    34 
   368         User::Leave(KErrAbort);
   368         User::Leave(KErrAbort);
   369         }
   369         }
   370 	
   370 	
   371 	eglMakeCurrent( iEGLDisplay, iEGLSurface, iEGLSurface, iEGLContext );        
   371 	eglMakeCurrent( iEGLDisplay, iEGLSurface, iEGLSurface, iEGLContext );        
   372 
   372 
   373 
       
   374     free(configList);
   373     free(configList);
   375     free(preferredConfig);
   374     free(preferredConfig);
   376 	
   375 	
   377     FOREVER
   376     FOREVER
   378         {
   377         {