зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1462672 - Part 8: Flatten inactive nsDisplayTransform items r=mattwoodrow
MozReview-Commit-ID: 5ushAgOec9U --HG-- extra : rebase_source : 17d866e038f594f8f544ce4786d1581995824915
This commit is contained in:
Родитель
03a67e4d61
Коммит
411fe6b5c6
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -20,6 +20,7 @@
|
||||||
#include "Layers.h"
|
#include "Layers.h"
|
||||||
#include "LayerUserData.h"
|
#include "LayerUserData.h"
|
||||||
#include "nsDisplayItemTypes.h"
|
#include "nsDisplayItemTypes.h"
|
||||||
|
#include "MatrixStack.h"
|
||||||
|
|
||||||
class nsDisplayListBuilder;
|
class nsDisplayListBuilder;
|
||||||
class nsDisplayList;
|
class nsDisplayList;
|
||||||
|
@ -119,6 +120,8 @@ public:
|
||||||
return mRefCnt;
|
return mRefCnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RefPtr<TransformClipNode> mTransform;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DisplayItemData(LayerManagerData* aParent,
|
DisplayItemData(LayerManagerData* aParent,
|
||||||
uint32_t aKey,
|
uint32_t aKey,
|
||||||
|
@ -224,7 +227,8 @@ struct AssignedDisplayItem
|
||||||
DisplayItemData* aData,
|
DisplayItemData* aData,
|
||||||
const nsRect& aContentRect,
|
const nsRect& aContentRect,
|
||||||
DisplayItemEntryType aType,
|
DisplayItemEntryType aType,
|
||||||
const bool aHasOpacity);
|
const bool aHasOpacity,
|
||||||
|
const RefPtr<TransformClipNode>& aTransform);
|
||||||
~AssignedDisplayItem();
|
~AssignedDisplayItem();
|
||||||
|
|
||||||
nsDisplayItem* mItem;
|
nsDisplayItem* mItem;
|
||||||
|
@ -238,11 +242,13 @@ struct AssignedDisplayItem
|
||||||
* used for the inactive transaction.
|
* used for the inactive transaction.
|
||||||
*/
|
*/
|
||||||
RefPtr<layers::LayerManager> mInactiveLayerManager;
|
RefPtr<layers::LayerManager> mInactiveLayerManager;
|
||||||
|
RefPtr<TransformClipNode> mTransform;
|
||||||
DisplayItemEntryType mType;
|
DisplayItemEntryType mType;
|
||||||
|
|
||||||
bool mReused;
|
bool mReused;
|
||||||
bool mMerged;
|
bool mMerged;
|
||||||
bool mHasOpacity;
|
bool mHasOpacity;
|
||||||
|
bool mHasTransform;
|
||||||
bool mHasPaintRect;
|
bool mHasPaintRect;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
|
|
||||||
fuzzy(111,1802) fuzzy-if(skiaContent,130,1000) == additive-1.svg additive-1-ref.svg # bug 981344, bug 1239766
|
fuzzy(111,1802) fuzzy-if(skiaContent,130,1000) == additive-1.svg additive-1-ref.svg # bug 981344, bug 1239766
|
||||||
== animate-width-1.svg lime.svg
|
== animate-width-1.svg lime.svg
|
||||||
fuzzy-if(cocoaWidget,1,32) fuzzy-if(winWidget,15,30) fuzzy-if(gtkWidget,1,30) fuzzy-if(webrender,3-3,9-9) == paced-1.svg paced-1-ref.svg # bug 981640, Bug 1293550
|
fuzzy-if(cocoaWidget,1,32) fuzzy-if(winWidget,15,30) fuzzy-if(gtkWidget,3,39) fuzzy-if(webrender,3-3,9-9) == paced-1.svg paced-1-ref.svg # bug 981640, Bug 1293550
|
||||||
fuzzy-if(skiaContent,7,90) == rotate-angle-1.svg rotate-angle-ref.svg
|
fuzzy-if(skiaContent,7,90) == rotate-angle-1.svg rotate-angle-ref.svg
|
||||||
fuzzy-if(skiaContent,7,90) == rotate-angle-2.svg rotate-angle-ref.svg
|
fuzzy-if(skiaContent,7,90) == rotate-angle-2.svg rotate-angle-ref.svg
|
||||||
fuzzy-if(skiaContent,7,130) == rotate-angle-3.svg rotate-angle-ref.svg
|
fuzzy-if(skiaContent,7,130) == rotate-angle-3.svg rotate-angle-ref.svg
|
||||||
fuzzy-if(skiaContent,7,90) == rotate-angle-4.svg rotate-angle-ref.svg
|
fuzzy-if(skiaContent,7,90) == rotate-angle-4.svg rotate-angle-ref.svg
|
||||||
fuzzy-if(skiaContent,7,60) == rotate-angle-5.svg rotate-angle-ref.svg
|
fuzzy-if(skiaContent,7,60) == rotate-angle-5.svg rotate-angle-ref.svg
|
||||||
fuzzy(12,27) fuzzy-if(skiaContent,1,180) fuzzy-if(Android,16,3) == scale-1.svg scale-1-ref.svg # bug 981004
|
fuzzy(7,306) == scale-1.svg scale-1-ref.svg # bug 981004, AA difference
|
||||||
== set-transform-1.svg lime.svg
|
== set-transform-1.svg lime.svg
|
||||||
fuzzy-if(winWidget||gtkWidget||OSX,3,27) fuzzy-if(skiaContent,7,1548) == skew-1.svg skew-1-ref.svg # bug 983671, Bug 1260629
|
fuzzy-if(winWidget||gtkWidget||OSX,3,27) fuzzy-if(skiaContent,7,1548) == skew-1.svg skew-1-ref.svg # bug 983671, Bug 1260629
|
||||||
== translate-clipPath-1.svg lime.svg
|
== translate-clipPath-1.svg lime.svg
|
||||||
|
|
Загрузка…
Ссылка в новой задаче