Rename LayerManager::Composite to LayerManager::ScheduleComposite. (bug 1365879 part 17, r=mattwoodrow)

This commit is contained in:
David Anderson 2017-06-20 01:17:21 -07:00
Родитель 452df9e9d2
Коммит eda24ede27
9 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -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: