|
|
@ -56,7 +56,7 @@ internal partial class ServerCompositionVisual |
|
|
|
|
|
|
|
|
private bool NeedToPushBoundsAffectingProperties(ServerCompositionVisual node) |
|
|
private bool NeedToPushBoundsAffectingProperties(ServerCompositionVisual node) |
|
|
{ |
|
|
{ |
|
|
return (node._isDirtyForRenderInSubgraph || node._hasExtraDirtyRect || node._contentChanged); |
|
|
return (node._isDirtyForRenderInSubgraph || node._needsToAddExtraDirtyRectToDirtyRegion || node._contentChanged); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void PreSubgraph(ServerCompositionVisual node, out bool visitChildren) |
|
|
public void PreSubgraph(ServerCompositionVisual node, out bool visitChildren) |
|
|
@ -141,7 +141,7 @@ internal partial class ServerCompositionVisual |
|
|
// specified before the tranform, i.e. in inner space, hence we have to pick them
|
|
|
// specified before the tranform, i.e. in inner space, hence we have to pick them
|
|
|
// up before we pop the transform from the transform stack.
|
|
|
// up before we pop the transform from the transform stack.
|
|
|
//
|
|
|
//
|
|
|
if (node._hasExtraDirtyRect) |
|
|
if (node._needsToAddExtraDirtyRectToDirtyRegion) |
|
|
{ |
|
|
{ |
|
|
AddToDirtyRegion(node._extraDirtyRect); |
|
|
AddToDirtyRegion(node._extraDirtyRect); |
|
|
} |
|
|
} |
|
|
@ -167,7 +167,7 @@ internal partial class ServerCompositionVisual |
|
|
node._isDirtyForRender = false; |
|
|
node._isDirtyForRender = false; |
|
|
node._isDirtyForRenderInSubgraph = false; |
|
|
node._isDirtyForRenderInSubgraph = false; |
|
|
node._needsBoundingBoxUpdate = false; |
|
|
node._needsBoundingBoxUpdate = false; |
|
|
node._hasExtraDirtyRect = false; |
|
|
node._needsToAddExtraDirtyRectToDirtyRegion = false; |
|
|
node._contentChanged = false; |
|
|
node._contentChanged = false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|