зеркало из https://github.com/mozilla/gecko-dev.git
Rename LayerManager::Composite to LayerManager::ScheduleComposite. (bug 1365879 part 17, r=mattwoodrow)
This commit is contained in:
Родитель
452df9e9d2
Коммит
eda24ede27
|
@ -1617,7 +1617,7 @@ void nsPluginInstanceOwner::Recomposite() {
|
|||
|
||||
clm->SendInvalidRegion(
|
||||
clm->GetRoot()->GetLocalVisibleRegion().ToUnknownRegion().GetBounds());
|
||||
clm->Composite();
|
||||
clm->ScheduleComposite();
|
||||
}
|
||||
|
||||
void nsPluginInstanceOwner::RequestFullScreen() {
|
||||
|
|
|
@ -327,7 +327,7 @@ public:
|
|||
* for this LayerManager. Useful in conjunction with the END_NO_REMOTE_COMPOSITE
|
||||
* flag to EndTransaction.
|
||||
*/
|
||||
virtual void Composite() {}
|
||||
virtual void ScheduleComposite() {}
|
||||
|
||||
virtual void SetNeedsComposite(bool aNeedsComposite) {}
|
||||
virtual bool NeedsComposite() const { return false; }
|
||||
|
|
|
@ -491,7 +491,7 @@ ClientLayerManager::GetCompositorBridgeChild()
|
|||
}
|
||||
|
||||
void
|
||||
ClientLayerManager::Composite()
|
||||
ClientLayerManager::ScheduleComposite()
|
||||
{
|
||||
mForwarder->Composite();
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ public:
|
|||
}
|
||||
virtual bool NeedsComposite() const override { return mNeedsComposite; }
|
||||
|
||||
virtual void Composite() override;
|
||||
virtual void ScheduleComposite() override;
|
||||
virtual void GetFrameUniformity(FrameUniformityData* aFrameUniformityData) override;
|
||||
|
||||
virtual void DidComposite(uint64_t aTransactionId,
|
||||
|
|
|
@ -509,7 +509,7 @@ WebRenderLayerManager::SendInvalidRegion(const nsIntRegion& aRegion)
|
|||
}
|
||||
|
||||
void
|
||||
WebRenderLayerManager::Composite()
|
||||
WebRenderLayerManager::ScheduleComposite()
|
||||
{
|
||||
WrBridge()->SendForceComposite();
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ public:
|
|||
|
||||
virtual void SendInvalidRegion(const nsIntRegion& aRegion) override;
|
||||
|
||||
virtual void Composite() override;
|
||||
virtual void ScheduleComposite() override;
|
||||
|
||||
virtual void SetNeedsComposite(bool aNeedsComposite) override
|
||||
{
|
||||
|
|
|
@ -3801,7 +3801,7 @@ nsLayoutUtils::PaintFrame(gfxContext* aRenderingContext, nsIFrame* aFrame,
|
|||
// transaction because we wanted to update plugins first. Schedule the
|
||||
// composite now.
|
||||
if (layerManager) {
|
||||
layerManager->Composite();
|
||||
layerManager->ScheduleComposite();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2102,7 +2102,7 @@ nsWindow::OnExposeEvent(cairo_t *cr)
|
|||
}
|
||||
|
||||
if (GetLayerManager()->AsKnowsCompositor() && GetLayerManager()->NeedsComposite()) {
|
||||
GetLayerManager()->Composite();
|
||||
GetLayerManager()->ScheduleComposite();
|
||||
GetLayerManager()->SetNeedsComposite(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ bool nsWindow::OnPaint(HDC aDC, uint32_t aNestingLevel)
|
|||
if (GetLayerManager()->AsKnowsCompositor() && !mBounds.IsEqualEdges(mLastPaintBounds)) {
|
||||
// Do an early async composite so that we at least have something on the
|
||||
// screen in the right place, even if the content is out of date.
|
||||
GetLayerManager()->Composite();
|
||||
GetLayerManager()->ScheduleComposite();
|
||||
}
|
||||
mLastPaintBounds = mBounds;
|
||||
|
||||
|
@ -292,7 +292,7 @@ bool nsWindow::OnPaint(HDC aDC, uint32_t aNestingLevel)
|
|||
}
|
||||
|
||||
if (GetLayerManager()->AsKnowsCompositor() && GetLayerManager()->NeedsComposite()) {
|
||||
GetLayerManager()->Composite();
|
||||
GetLayerManager()->ScheduleComposite();
|
||||
GetLayerManager()->SetNeedsComposite(false);
|
||||
}
|
||||
|
||||
|
@ -401,7 +401,7 @@ bool nsWindow::OnPaint(HDC aDC, uint32_t aNestingLevel)
|
|||
break;
|
||||
case LayersBackend::LAYERS_WR:
|
||||
{
|
||||
GetLayerManager()->Composite();
|
||||
GetLayerManager()->ScheduleComposite();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Загрузка…
Ссылка в новой задаче