Skip to content
This repository was archived by the owner on Oct 25, 2021. It is now read-only.
This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Better support for KMS enums and bitfields #39

@emersion

Description

@emersion

Enum and bitfield properties may have different definitions across planes. This would be silly and annoying, but could happen. For instance, plane 1 may have "rotation": bitmask {"rotate-90" = 0x1, "rotate-180" = 0x2} and plane 2 may have "rotation": bitmask {"rotate-180" = 0x1}.

In this case, library users don't know which value needs to be set without knowing the plane that will be used. In the rotation example, rotate-180 has value 0x1 or 0x2 depending on the plane used.

I'm not aware of any property that behaves like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions