Skip to content

[windows]: Clean up c/c++ interface for external textures #188120

Description

@gaaclarke

#187886 introduced an integration test for external textures on windows. It was pointed out that it was unfortunate we had to drop down to the C API to implement everything.

We should have a C++ way to do this. Right now that's not possible because FlutterEngine::GetRegistrarForPlugin returns a C reference and the way the "texture registry" should be accessed is from the "plugin registrar".

Loic suggested adding a getter to the FlutterEngine directly, but this would deviate from the pattern on other platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterc: tech-debtTechnical debt, code quality, testing, etc.team-windowsOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions