equal
deleted
inserted
replaced
564 continue; |
564 continue; |
565 } |
565 } |
566 |
566 |
567 // Clip drawing to update area. This seems to improve performance although |
567 // Clip drawing to update area. This seems to improve performance although |
568 // it may depend on used HW. |
568 // it may depend on used HW. |
|
569 |
|
570 // Set position delta to zero, otherwise updateregion is adjusted incorrectly |
|
571 // in SW mode. No effect on HW mode as it does not adjust the updateregion in |
|
572 // EnableUpdateRegion call... |
|
573 TPoint delta(0,0); |
|
574 iCanvasWsGc->SetPositionDelta(delta); |
569 iCanvasWsGc->EnableUpdateRegion(iCommandBuffers[cb]->iUpdateRegion, aClearBeforeHandlingBuffers); |
575 iCanvasWsGc->EnableUpdateRegion(iCommandBuffers[cb]->iUpdateRegion, aClearBeforeHandlingBuffers); |
570 |
576 |
571 #ifdef HUI_DEBUG_PRINT_PERFORMANCE_INTERVAL |
577 #ifdef HUI_DEBUG_PRINT_PERFORMANCE_INTERVAL |
572 RDebug::Print(_L(">> CHuiCanvasWsPainter::DoHandleAllBuffersL ClipRegion after clipping to updateregion:")); |
578 RDebug::Print(_L(">> CHuiCanvasWsPainter::DoHandleAllBuffersL ClipRegion after clipping to updateregion:")); |
573 const TRegion& clipregion = aGc->ClipRegion(); |
579 const TRegion& clipregion = aGc->ClipRegion(); |