mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1156742 Part 16: Add recording and forwarding of Matrix attribute set for Moz2D recording. r=bas
This commit is contained in:
parent
6e3ae6eaf0
commit
af9224e713
@ -202,6 +202,7 @@ public:
|
||||
FORWARD_SET_ATTRIBUTE(const Rect&, RECT);
|
||||
FORWARD_SET_ATTRIBUTE(const IntRect&, INTRECT);
|
||||
FORWARD_SET_ATTRIBUTE(const Point&, POINT);
|
||||
FORWARD_SET_ATTRIBUTE(const Matrix&, MATRIX);
|
||||
FORWARD_SET_ATTRIBUTE(const Matrix5x4&, MATRIX5X4);
|
||||
FORWARD_SET_ATTRIBUTE(const Point3D&, POINT3D);
|
||||
FORWARD_SET_ATTRIBUTE(const Color&, COLOR);
|
||||
|
@ -1522,6 +1522,7 @@ RecordedFilterNodeSetAttribute::PlayEvent(Translator *aTranslator) const
|
||||
REPLAY_SET_ATTRIBUTE(Rect, RECT);
|
||||
REPLAY_SET_ATTRIBUTE(IntRect, INTRECT);
|
||||
REPLAY_SET_ATTRIBUTE(Point, POINT);
|
||||
REPLAY_SET_ATTRIBUTE(Matrix, MATRIX);
|
||||
REPLAY_SET_ATTRIBUTE(Matrix5x4, MATRIX5X4);
|
||||
REPLAY_SET_ATTRIBUTE(Point3D, POINT3D);
|
||||
REPLAY_SET_ATTRIBUTE(Color, COLOR);
|
||||
|
@ -24,10 +24,10 @@ const uint32_t kMagicInt = 0xc001feed;
|
||||
// loss of backwards compatibility. Old streams will not work in a player
|
||||
// using a newer major revision. And new streams will not work in a player
|
||||
// using an older major revision.
|
||||
const uint16_t kMajorRevision = 3;
|
||||
const uint16_t kMajorRevision = 4;
|
||||
// A change in minor revision means additions of new events. New streams will
|
||||
// not play in older players.
|
||||
const uint16_t kMinorRevision = 2;
|
||||
const uint16_t kMinorRevision = 0;
|
||||
|
||||
struct ReferencePtr
|
||||
{
|
||||
@ -1034,6 +1034,7 @@ public:
|
||||
ARGTYPE_RECT,
|
||||
ARGTYPE_INTRECT,
|
||||
ARGTYPE_POINT,
|
||||
ARGTYPE_MATRIX,
|
||||
ARGTYPE_MATRIX5X4,
|
||||
ARGTYPE_POINT3D,
|
||||
ARGTYPE_COLOR,
|
||||
|
Loading…
Reference in New Issue
Block a user