Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flock][Feature] - Add Texture Registry to Flutter Web #45

Open
jezell opened this issue Jan 14, 2025 · 0 comments
Open

[Flock][Feature] - Add Texture Registry to Flutter Web #45

jezell opened this issue Jan 14, 2025 · 0 comments
Labels
feature flock Relates to the Flock, a fork of Flutter

Comments

@jezell
Copy link
Collaborator

jezell commented Jan 14, 2025

Flutter Issue Ticket Link:
flutter/flutter#119649

Why didn't Flutter implement this?
Lack of resources / prioritization. Originally was given P1, but then bumped to P2 where it remains.

Why does this belong in Flock?

Texture support is a core feature of all platforms except web.

Describe the solution you'd like

Expose a TextureRegistry hook similar to what is available on iOS / Android so that native textures can be utilized in Flutter Web.

CanvasKit already has the following hooks which may be useful as a starting point:

CanvasKit.Surface.prototype.makeImageFromTextureSource
CanvasKit.Surface.prototype.updateTextureFromSource 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature flock Relates to the Flock, a fork of Flutter
Projects
None yet
Development

No branches or pull requests

1 participant