Bug 1738385 - Drop APZSampler::AdvanceAnimations and relevant stuff. r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D129885
This commit is contained in:
Hiroyuki Ikezoe 2021-10-29 02:58:17 +00:00
Родитель f7bfaba790
Коммит 0713dc0d2f
4 изменённых файлов: 0 добавлений и 20 удалений

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

@ -65,8 +65,6 @@ class APZSampler {
void SampleForWebRender(const Maybe<VsyncId>& aGeneratedFrameId,
wr::TransactionWrapper& aTxn);
bool AdvanceAnimations(const SampleTime& aSampleTime);
/**
* Similar to above GetCurrentAsyncTransform, but get the current transform
* with LayersId and ViewID.

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

@ -899,11 +899,6 @@ void APZCTreeManager::SampleForWebRender(const Maybe<VsyncId>& aVsyncId,
aTxn.AppendTransformProperties(transforms);
}
bool APZCTreeManager::AdvanceAnimations(const SampleTime& aSampleTime) {
MutexAutoLock lock(mMapLock);
return AdvanceAnimationsInternal(lock, aSampleTime);
}
ParentLayerRect APZCTreeManager::ComputeClippedCompositionBounds(
const MutexAutoLock& aProofOfMapLock, ClippedCompositionBoundsMap& aDestMap,
ScrollableLayerGuid aGuid) {

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

@ -195,13 +195,6 @@ class APZCTreeManager : public IAPZCTreeManager, public APZInputBridge {
wr::TransactionWrapper& aTxn,
const SampleTime& aSampleTime);
/**
* Walk through all the APZCs and do the sampling steps needed when
* advancing to the next frame. The APZCs walked can be restricted to a
* specific render root by providing that as the first argument.
*/
bool AdvanceAnimations(const SampleTime& aSampleTime);
/**
* Refer to the documentation of APZInputBridge::ReceiveInputEvent() and
* APZEventResult.

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

@ -101,12 +101,6 @@ void APZSampler::SampleForWebRender(const Maybe<VsyncId>& aVsyncId,
mApz->SampleForWebRender(aVsyncId, aTxn, sampleTime);
}
bool APZSampler::AdvanceAnimations(const SampleTime& aSampleTime) {
MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread());
AssertOnSamplerThread();
return mApz->AdvanceAnimations(aSampleTime);
}
AsyncTransform APZSampler::GetCurrentAsyncTransform(
const LayersId& aLayersId, const ScrollableLayerGuid::ViewID& aScrollId,
AsyncTransformComponents aComponents) const {