photosgallery/viewframework/texturemanager/src/glxtexturemanagerimpl.cpp
branchRCL_3
changeset 75 01504893d9cb
parent 60 5b3385a43d68
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
   516     TRACER("CGlxTextureManagerImpl::RemoveZoomList");
   516     TRACER("CGlxTextureManagerImpl::RemoveZoomList");
   517     TInt count = iZoomedList.Count();
   517     TInt count = iZoomedList.Count();
   518     GLX_LOG_INFO1("CGlxTextureManagerImpl RemoveZoomList  Count()=%d",count);
   518     GLX_LOG_INFO1("CGlxTextureManagerImpl RemoveZoomList  Count()=%d",count);
   519 	if(iZoomDecoder)
   519 	if(iZoomDecoder)
   520       {
   520       {
   521        iZoomDecoder->Cancel();
   521       iZoomDecoder->CancelRequest();
   522       }
   522       }
   523     for(TInt i = count - 1; i >= 0; i--)
   523     for(TInt i = count - 1; i >= 0; i--)
   524         {
   524         {
   525         iAlfTextureManager.UnloadTexture( iZoomedList[i].iTextureId );
   525         iAlfTextureManager.UnloadTexture( iZoomedList[i].iTextureId );
   526         if( iZoomedList[i].iBitmap)
   526         if( iZoomedList[i].iBitmap)
   857 	aMedia.GetDimensions( iZoomedList[index].iRequiredSize );
   857 	aMedia.GetDimensions( iZoomedList[index].iRequiredSize );
   858 	   
   858 	   
   859 	iZoomedList[index].iBitmap=NULL;
   859 	iZoomedList[index].iBitmap=NULL;
   860 	iZoomedList[index].iObserver = aObserver ;  
   860 	iZoomedList[index].iObserver = aObserver ;  
   861 
   861 
   862 	iZoomDecoder->DoDecodeImageL(aMedia.Uri(), iZoomedList.Count()-1);
   862 	iZoomDecoder->DoDecodeImageL(aMedia,iZoomedList.Count()-1);
   863 	return *(iZoomedList[index].iTexture);
   863 	return *(iZoomedList[index].iTexture);
   864     }
   864     }
   865 
   865 
   866 // -----------------------------------------------------------------------------
   866 // -----------------------------------------------------------------------------
   867 // CreateAnimatedGifTextureL
   867 // CreateAnimatedGifTextureL