Skip to content

[Impeller] Make Matrix::MakeColumn and MakeRow constexpr factories. #111165

@chinmaygarde

Description

@chinmaygarde

Impeller matrices use column-major storage and the constructor expect arguments in the same order. This is confusing to API users who may be used to arguments to be in row-major storage order. Just have named constexpr factories so this is easier to reason about. Perhaps even remove the current constructors (likely to be a larger change now though).

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilitye: impellerImpeller rendering backend issues and features requestsr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions