Bug 1409446 - Modify the extra-clip flag to instead track more useful information. r=ethlin,mstange
Instead of just keeping a count of how many "extra clips" (aka out-of-band clips) we have pushed, track more complex information for each clip. In particular, track the display item's normal clip chain, as well as the clip id of the extra clip that was pushed. This will be needed to override clip cache information in the next patch. MozReview-Commit-ID: AWKDTkelhyL
This commit is contained in:
@@ -383,7 +383,7 @@ nsDisplayButtonBorder::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder&
|
||||
visible,
|
||||
mFrame,
|
||||
buttonRect);
|
||||
mBorderRenderer->CreateWebRenderCommands(aBuilder, aResources, aSc);
|
||||
mBorderRenderer->CreateWebRenderCommands(this, aBuilder, aResources, aSc);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -551,7 +551,7 @@ nsDisplayButtonForeground::CreateWebRenderCommands(mozilla::wr::DisplayListBuild
|
||||
return false;
|
||||
}
|
||||
|
||||
mBorderRenderer->CreateWebRenderCommands(aBuilder, aResources, aSc);
|
||||
mBorderRenderer->CreateWebRenderCommands(this, aBuilder, aResources, aSc);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user