mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 716439; User data for mask layers. r=roc
This commit is contained in:
parent
c4f07f19a1
commit
32f2aad481
@ -459,6 +459,18 @@ public:
|
||||
gfxPoint mActiveScrolledRootPosition;
|
||||
};
|
||||
|
||||
/*
|
||||
* User data for layers which will be used as masks.
|
||||
*/
|
||||
struct MaskLayerUserData : public LayerUserData
|
||||
{
|
||||
// properties of the mask layer; the mask layer may be re-used if these
|
||||
// remain unchanged.
|
||||
nsTArray<FrameLayerBuilder::Clip::RoundedRect> mRoundedClipRects;
|
||||
gfx3DMatrix mTransform;
|
||||
nsIntRect mBounds;
|
||||
};
|
||||
|
||||
/**
|
||||
* The address of gThebesDisplayItemLayerUserData is used as the user
|
||||
* data key for ThebesLayers created by FrameLayerBuilder.
|
||||
@ -487,6 +499,12 @@ PRUint8 gImageLayerUserData;
|
||||
* The user data is a LayerManagerData.
|
||||
*/
|
||||
PRUint8 gLayerManagerUserData;
|
||||
/**
|
||||
* The address of gMaskLayerUserData is used as the user
|
||||
* data key for mask layers managed by FrameLayerBuilder.
|
||||
* The user data is a MaskLayerUserData.
|
||||
*/
|
||||
PRUint8 gMaskLayerUserData;
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user