Class

CanvasOp.ElisionMode

Strategy for optimizing a save/restore block.

Source set: Android
enum class ElisionMode {
        /** Keep the save/restore block and optimize within its scope. */
        PRESERVE,

        /**
         * Inline all non-transform children and any net-transform operations directly into the
         * parent scope.
         */
        INLINE,

        /** Discard the save/restore block and all of its children. */
        DISCARD,
    }

Strategy for optimizing a save/restore block.

Members

PRESERVE

Source set: Android
PRESERVE

Keep the save/restore block and optimize within its scope.

INLINE

Source set: Android
INLINE

Inline all non-transform children and any net-transform operations directly into the parent scope.

DISCARD

Source set: Android
DISCARD

Discard the save/restore block and all of its children.

Content updated: