equal
deleted
inserted
replaced
189 |
189 |
190 // When dirty regions are transformed it is possible to avoid |
190 // When dirty regions are transformed it is possible to avoid |
191 // full display refresh in many cases -> better performance. |
191 // full display refresh in many cases -> better performance. |
192 iGc->EnableTransformedClippingRects(iUseTransformedDirtyRegions); |
192 iGc->EnableTransformedClippingRects(iUseTransformedDirtyRegions); |
193 |
193 |
|
194 iDisplaySizeChangePending = EFalse; |
|
195 |
194 HUI_DEBUG1(_L("CHuiDisplay::ConstructL - Free memory when exiting ConstructL: %i"), HuiUtil::FreeMemory()); |
196 HUI_DEBUG1(_L("CHuiDisplay::ConstructL - Free memory when exiting ConstructL: %i"), HuiUtil::FreeMemory()); |
195 } |
197 } |
196 |
198 |
197 |
199 |
198 EXPORT_C CHuiDisplay::~CHuiDisplay() |
200 EXPORT_C CHuiDisplay::~CHuiDisplay() |
1608 TBool CHuiDisplay::AlfContentChanged() |
1610 TBool CHuiDisplay::AlfContentChanged() |
1609 { |
1611 { |
1610 return iDisplayContainsChangedAlfContent; |
1612 return iDisplayContainsChangedAlfContent; |
1611 } |
1613 } |
1612 |
1614 |
|
1615 EXPORT_C void CHuiDisplay::SetSkinSizeChangePending() |
|
1616 { |
|
1617 iDisplaySizeChangePending = ETrue; |
|
1618 } |
|
1619 |
|
1620 TBool CHuiDisplay::QueryAndResetSkinSizeChangePendingStatus() |
|
1621 { |
|
1622 TBool ret = iDisplaySizeChangePending; |
|
1623 iDisplaySizeChangePending = EFalse; |
|
1624 return ret; |
|
1625 } |
|
1626 |
1613 void CHuiDisplay::ClipDirtyRect(TRect& aRect, TRect aClippingRect) |
1627 void CHuiDisplay::ClipDirtyRect(TRect& aRect, TRect aClippingRect) |
1614 { |
1628 { |
1615 if (aRect.Intersects(aClippingRect)) |
1629 if (aRect.Intersects(aClippingRect)) |
1616 { |
1630 { |
1617 aRect.Intersection(aClippingRect); |
1631 aRect.Intersection(aClippingRect); |