Result of requesting an editor-facing compositor presentation plan. More...
#include "donner/svg/compositor/CompositorController.h"
Public Types | |
| enum class | Code : uint8_t { PromotedLayer , OwningTilesRequired , InvalidEntity , LayerLimit , MemoryLimit , DescendantPromoted } |
| Outcome of a request to promote an entity into a compositor layer. More... | |
Public Attributes | |
| Code | code = Code::PromotedLayer |
| Result code for this promotion request. | |
Static Public Attributes | |
| static constexpr Code | PromotedLayer = Code::PromotedLayer |
| Entity owns a promoted layer. | |
| static constexpr Code | OwningTilesRequired |
| Valid request that must remain in owning tiles. | |
| static constexpr Code | InvalidEntity |
| Entity is not a live SVG element. | |
| static constexpr Code | LayerLimit = Code::LayerLimit |
| Layer count limit was reached. | |
| static constexpr Code | MemoryLimit = Code::MemoryLimit |
| Memory limit was reached. | |
| static constexpr Code | DescendantPromoted |
| A descendant already owns a promoted layer. | |
Friends | |
| bool | operator== (PromoteResult result, Code code) |
| Compare a promotion result with a result code. | |
| bool | operator== (Code code, PromoteResult result) |
| Compare a result code with a promotion result. | |
Result of requesting an editor-facing compositor presentation plan.
|
strong |
Outcome of a request to promote an entity into a compositor layer.
|
friend |
Compare a result code with a promotion result.
| code | Code to compare against. |
| result | Promotion result to inspect. |
|
friend |
Compare a promotion result with a result code.
| result | Promotion result to inspect. |
| code | Code to compare against. |
|
staticconstexpr |
A descendant already owns a promoted layer.
|
staticconstexpr |
Entity is not a live SVG element.
|
staticconstexpr |
Valid request that must remain in owning tiles.