uiacceltk/hitchcock/ServerCore/Src/alfbridge.cpp
changeset 38 69409653e863
parent 31 1b6909418757
equal deleted inserted replaced
32:27a3ad0677c1 38:69409653e863
  2716 				else
  2716 				else
  2717 				    {
  2717 				    {
  2718                     viz = CHuiCanvasVisual::AddNewL(control, layout);
  2718                     viz = CHuiCanvasVisual::AddNewL(control, layout);
  2719 				    }
  2719 				    }
  2720 
  2720 
  2721 				__ALFFXLOGSTRING2("CAlfBridge::HandleNewWindowL visual: 0x%x, id 0x%x", viz, windowNodeId);
  2721 				__ALFFXLOGSTRING3("CAlfBridge::HandleNewWindowL visual: 0x%x, id 0x%x, Owner group Uid: 0x%x", viz, windowNodeId, viz->Owner().ControlGroup()->SecureId());
  2722 				AddVisual( 
  2722 				AddVisual( 
  2723 				    windowNodeId, 
  2723 				    windowNodeId, 
  2724 					windowAttributes->iClientHandle, 
  2724 					windowAttributes->iClientHandle, 
  2725 					windowAttributes->iClientGroupHandle, 
  2725 					windowAttributes->iClientGroupHandle, 
  2726 					viz );
  2726 					viz );
  3428 		__ALFLOGSTRING3("CAlfBridge::HandlePostCanvasBufferL, EAlfDSPostCanvasBuffer: Visual not found! Screen: %d, Id: %d, GroupId: %d ", screenNumber, windowNodeId, windowGroupNodeId );                                 
  3428 		__ALFLOGSTRING3("CAlfBridge::HandlePostCanvasBufferL, EAlfDSPostCanvasBuffer: Visual not found! Screen: %d, Id: %d, GroupId: %d ", screenNumber, windowNodeId, windowGroupNodeId );                                 
  3429 		}    
  3429 		}    
  3430 #ifdef	USE_APPLICATION_ENDFULLSCREEN_TIMEOUT	
  3430 #ifdef	USE_APPLICATION_ENDFULLSCREEN_TIMEOUT	
  3431 	    if (iFSFxData
  3431 	    if (iFSFxData
  3432 	            && iFSFxData->iEffectType != CFullScreenEffectState::ENotDefinedEffect 
  3432 	            && iFSFxData->iEffectType != CFullScreenEffectState::ENotDefinedEffect 
  3433 	            && ((iFSFxData->State() == EWaitEndFullScreen && iFSFxData->iTwoPhaseEffect <= CFullScreenEffectState::EFirstPartRunning)))
  3433 	            && ((iFSFxData->State() == EWaitEndFullScreen && iFSFxData->iTwoPhaseEffect <= CFullScreenEffectState::ESecondPartActive)))
  3434 	        {
  3434 	        {
  3435 	        CHuiControlGroup *to_group = NULL;
  3435 	        CHuiControlGroup *to_group = NULL;
  3436             if (iFSFxData->iEffectType == CFullScreenEffectState::EExitEffect)
  3436             if (iFSFxData->iEffectType == CFullScreenEffectState::EExitEffect)
  3437                 {
  3437                 {
  3438                 to_group = FindControlGroupByFullScreenFromEffect();
  3438                 to_group = FindControlGroupByFullScreenFromEffect();
  4890 void CAlfBridge::FreezeLayoutUntilEffectDestroyedL(CHuiLayout* aLayout, TInt aHandle)
  4890 void CAlfBridge::FreezeLayoutUntilEffectDestroyedL(CHuiLayout* aLayout, TInt aHandle)
  4891     {
  4891     {
  4892     if (aLayout)
  4892     if (aLayout)
  4893         {
  4893         {
  4894 		TRAPD(err, StoreRenderBufferStartL(aLayout));
  4894 		TRAPD(err, StoreRenderBufferStartL(aLayout));
  4895 		__ALFFXLOGSTRING2("CAlfBridge::FreezeLayoutUntilEffectDestroyed - StoreRenderBufferStartL call returned: %d for layout 0x%x", err, aLayout);
  4895 		__ALFFXLOGSTRING3("CAlfBridge::FreezeLayoutUntilEffectDestroyed - Storing SecureId x%x, StoreRenderBufferStartL call returned: %d for layout 0x%x", aLayout->Owner().ControlGroup()->SecureId(), err, aLayout);
  4896 		if (err == KErrNone)
  4896 		if (err == KErrNone)
  4897 			{
  4897 			{
  4898             // Freeze only, if buffer was reserved succesfully 
  4898             // Freeze only, if buffer was reserved succesfully 
  4899             aLayout->SetFreezeState(ETrue);
  4899             aLayout->SetFreezeState(ETrue);
  4900         	TBool itemsDestroyed;
  4900         	TBool itemsDestroyed;
  6908             {
  6908             {
  6909             // FPS container doesn't contain canvas visuals
  6909             // FPS container doesn't contain canvas visuals
  6910             continue;
  6910             continue;
  6911             }
  6911             }
  6912 
  6912 
       
  6913         if (controlgroup.ResourceId() == iAlfWindowGroupNodeId)
       
  6914             {
       
  6915             // ALF window doesn't have drawing and it's meant to be completely semitransparent,
       
  6916             // so skip.
       
  6917             continue;
       
  6918             }
       
  6919 
  6913         CHuiCanvasVisual* layout = (CHuiCanvasVisual*)&control.Visual(0);
  6920         CHuiCanvasVisual* layout = (CHuiCanvasVisual*)&control.Visual(0);
  6914         
  6921         
  6915         // For optimization reasons, check if all visuals below in Z-order are covered    
  6922         // For optimization reasons, check if all visuals below in Z-order are covered    
  6916         if (!fullscreenCovered)
  6923         if (!fullscreenCovered)
  6917             {
  6924             {