Skip to content

[Flutter GPU] Allow specifying the mip level/slice for color attachments. #150455

Description

@bdero
  • Support needs to be added to Impeller's HAL for this.
  • Allow specifying a specific ColorAttachment.mipLevel (default 0) and ColorAttachment.slice (default 0).
  • Throw a Dart exception if !(0 < mipLevel < mipLevelCount) or if slice is is out of range for the given TextureType (i.e. TextureType.cube has 6 slices, whereas TextureType.2d has 1).

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterflutter-gputeam-fluttergpuOwned by Flutter GPU team

Type

No type
No fields configured for issues without a type.

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions