Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ed383ce authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Document crop and finalCrop

The difference between crop and finalCrop is not documented anywhere.
"finalCrop" is not a very good name either and it would also be a
good thing to rename it to windowSpaceClip and propagate this to
framework API.

Change-Id: I7542cdb7e2430b873b30e63f06a8d39de3fa2b6d
parent 7c978712
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -121,9 +121,11 @@ public:
        int32_t sequence; // changes when visible regions can change
        bool modified;

        // Crop is expressed in layer space coordinate.
        Rect crop;
        Rect requestedCrop;

        // finalCrop is expressed in display space coordinate.
        Rect finalCrop;

        // If set, defers this state update until the Layer identified by handle