Skip to content

[Impeller] Support instanced rendering in the Impeller HAL. #154145

Description

@chinmaygarde

Impeller doesn't support instanced rendering with base vertex specification today. It is not portable across all platforms and client rendering APIs Impeller supports today.

OpenGL ES 2.0 doesn't support instanced rendering at all (without extensions). Metal does support instanced rendering but not on MTLGPUFamilyMac1 and MTLGPUFamilyApple2 and earlier families per the Metal Feature Set Tables. Vulkan does seem to support instanced rendering everywhere and MoltenVK has an emulation for the older GPU families.

It should be trivial to support instanced rendering via emulation as a start and add fast paths for newer devices. These should cover the vast majority of devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilitye: impellerImpeller rendering backend issues and features requestsflutter-gputeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    💡 Features

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions