Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats

Also add a related PixelCastJustification and a utility function.
This commit is contained in:
Botond Ballo
2016-01-06 18:56:25 -05:00
parent 18bf5aaa2c
commit d300745fa5
3 changed files with 34 additions and 1 deletions

View File

@@ -47,7 +47,11 @@ enum class PixelCastJustification : uint8_t {
LayoutDeviceIsScreenForTabDims,
// A combination of LayoutDeviceIsScreenForBounds and
// ScreenIsParentLayerForRoot, which is how we're using it.
LayoutDeviceIsParentLayerForRCDRSF
LayoutDeviceIsParentLayerForRCDRSF,
// Used to treat the product of AsyncTransformComponentMatrix objects
// as an AsyncTransformMatrix. See the definitions of these matrices in
// LayersTypes.h for details.
MultipleAsyncTransforms
};
template <class TargetUnits, class SourceUnits>