зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1738385 - Drop APZSampler::AdvanceAnimations and relevant stuff. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D129885
This commit is contained in:
Родитель
f7bfaba790
Коммит
0713dc0d2f
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче