equal
deleted
inserted
replaced
183 |
183 |
184 // --------------------------------------------------------------------------- |
184 // --------------------------------------------------------------------------- |
185 // RequestFrameEndCallback |
185 // RequestFrameEndCallback |
186 // --------------------------------------------------------------------------- |
186 // --------------------------------------------------------------------------- |
187 // |
187 // |
188 void CAlfHierarchyModel::RequestFrameEndCallback( ) |
188 void CAlfHierarchyModel::RequestFrameEndCallback(TBool aCompositionModified) |
189 { |
189 { |
190 __ALFLOGSTRING( "CAlfHierarchyModel::RequestFrameEndCallback" ); |
190 __ALFLOGSTRING1( "CAlfHierarchyModel::RequestFrameEndCallback, composition modified: %d", aCompositionModified); |
191 iServer.Bridge()->StartNewBlock(); |
191 iServer.Bridge()->StartNewBlock(aCompositionModified); |
192 } |
192 } |
193 // --------------------------------------------------------------------------- |
193 // --------------------------------------------------------------------------- |
194 // HandleMessageL |
194 // HandleMessageL |
195 // --------------------------------------------------------------------------- |
195 // --------------------------------------------------------------------------- |
196 // |
196 // |
214 } |
214 } |
215 case EAlfBridgerAsyncronousData: |
215 case EAlfBridgerAsyncronousData: |
216 { |
216 { |
217 if ( iChunk.Handle() ) |
217 if ( iChunk.Handle() ) |
218 { |
218 { |
219 ExecuteCommandsL(); |
219 ExecuteCommandsL(aMessage.Int1()); |
220 if ( iBatchAlreadyCommited ) |
220 if ( iBatchAlreadyCommited ) |
221 { |
221 { |
222 // This may happen, if alfstreamerbridge happens to process the commands (containing the EAlfCommitBatch) |
222 // This may happen, if alfstreamerbridge happens to process the commands (containing the EAlfCommitBatch) |
223 // before this asyncronous request is received. |
223 // before this asyncronous request is received. |
224 __ALFLOGSTRING("Batch already completed. Complete immediately"); |
224 __ALFLOGSTRING("Batch already completed. Complete immediately"); |
396 |
396 |
397 // --------------------------------------------------------------------------- |
397 // --------------------------------------------------------------------------- |
398 // ExecuteCommandsL |
398 // ExecuteCommandsL |
399 // --------------------------------------------------------------------------- |
399 // --------------------------------------------------------------------------- |
400 // |
400 // |
401 void CAlfHierarchyModel::ExecuteCommandsL( ) |
401 void CAlfHierarchyModel::ExecuteCommandsL( TBool aCompositionModified ) |
402 { |
402 { |
403 if ( !iStream ) |
403 if ( !iStream ) |
404 { |
404 { |
405 return; |
405 return; |
406 } |
406 } |
562 } |
562 } |
563 break; |
563 break; |
564 |
564 |
565 case EAlfCommitBatch: |
565 case EAlfCommitBatch: |
566 { |
566 { |
567 RequestFrameEndCallback(); |
567 RequestFrameEndCallback(aCompositionModified); |
568 break; |
568 break; |
569 } |
569 } |
570 #ifdef ALF_DEBUG_TRACK_DRAWING |
570 #ifdef ALF_DEBUG_TRACK_DRAWING |
571 case EAlfDebugTrackNode: |
571 case EAlfDebugTrackNode: |
572 { |
572 { |
1095 CAlfNodeVisual* node = (CAlfNodeVisual*)FindNode( nodeId ); |
1095 CAlfNodeVisual* node = (CAlfNodeVisual*)FindNode( nodeId ); |
1096 if ( node && node->Window() ) |
1096 if ( node && node->Window() ) |
1097 { |
1097 { |
1098 // SetLayerUsesAplhaFlag is not supported for image visual |
1098 // SetLayerUsesAplhaFlag is not supported for image visual |
1099 node->Window()->SetLayerUsesAplhaFlag( enabled ); |
1099 node->Window()->SetLayerUsesAplhaFlag( enabled ); |
|
1100 #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS |
|
1101 node->Window()->SetTransparencyAlphaChannel( enabled ); |
|
1102 #endif // #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS |
1100 } |
1103 } |
1101 else if( node ) // this would mean that node has being orphaneded but not yet deleted |
1104 else if( node ) // this would mean that node has being orphaneded but not yet deleted |
1102 { |
1105 { |
1103 __ALFLOGSTRING1("CAlfHierarchyModel::DoNodeLayerUsesAlphaFlagChangedL node found but window %d was destroyed", nodeId); |
1106 __ALFLOGSTRING1("CAlfHierarchyModel::DoNodeLayerUsesAlphaFlagChangedL node found but window %d was destroyed", nodeId); |
1104 } |
1107 } |