зеркало из https://github.com/mozilla/pjs.git
Bug 716439; User data for mask layers. r=roc
This commit is contained in:
Родитель
4f575ac298
Коммит
9fb3ed80d2
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче