mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1071241. Call ComputeRotation before TransformShadowTree. r=mwoodrow
This is need so that the rotation transform is available at transform time. Without this rotation is delayed a frame.
This commit is contained in:
parent
b9a248bfae
commit
3862451b01
@ -685,6 +685,8 @@ CompositorParent::CompositeToTarget(DrawTarget* aTarget, const nsIntRect* aRect)
|
||||
}
|
||||
}
|
||||
|
||||
mCompositionManager->ComputeRotation();
|
||||
|
||||
TimeStamp time = mIsTesting ? mTestTime : mLastCompose;
|
||||
bool requestNextFrame = mCompositionManager->TransformShadowTree(time);
|
||||
if (requestNextFrame) {
|
||||
@ -693,8 +695,6 @@ CompositorParent::CompositeToTarget(DrawTarget* aTarget, const nsIntRect* aRect)
|
||||
|
||||
RenderTraceLayers(mLayerManager->GetRoot(), "0000");
|
||||
|
||||
mCompositionManager->ComputeRotation();
|
||||
|
||||
#ifdef MOZ_DUMP_PAINTING
|
||||
static bool gDumpCompositorTree = false;
|
||||
if (gDumpCompositorTree) {
|
||||
|
Loading…
Reference in New Issue
Block a user