mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1465784 - Remove unnecessary render step with async-scene-building. r=sotaro
MozReview-Commit-ID: 8iOQHLhlcjA --HG-- extra : rebase_source : 4dab621c8364d719ce895f6ab62d16c73b12bee7
This commit is contained in:
parent
c1fc73bb2d
commit
28ebbe606f
@ -677,7 +677,11 @@ WebRenderBridgeParent::RecvSetDisplayList(const gfx::IntSize& aSize,
|
||||
|
||||
mApi->SendTransaction(txn);
|
||||
|
||||
ScheduleGenerateFrame();
|
||||
if (!gfxPrefs::WebRenderAsyncSceneBuild()) {
|
||||
// With async-scene-build enabled, we will trigger this after the scene
|
||||
// build is done, so we don't need to do it here.
|
||||
ScheduleGenerateFrame();
|
||||
}
|
||||
|
||||
if (ShouldParentObserveEpoch()) {
|
||||
mCompositorBridge->ObserveLayerUpdate(GetLayersId(), GetChildLayerObserverEpoch(), true);
|
||||
|
Loading…
Reference in New Issue
Block a user