You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Flutter GPU] Allow specifying the mip levels/slices to use for overwriting a texture. #145015
changed the title [-][Flutter GPU] Allow specifying the mip level/slice for Texture attachments and Uploads.[/-][+][Flutter GPU] Allow specifying the mip levels/slices to use for writing a texture.[/+]on Jun 18, 2024
changed the title [-][Flutter GPU] Allow specifying the mip levels/slices to use for writing a texture.[/-][+][Flutter GPU] Allow specifying the mip levels/slices to use for overwriting a texture.[/+]on Jun 18, 2024
When creating a Texture with GpuContext.createTexture, allow specifying the mip level count, default to 1.
Allow specifying the mipLevel and slice for Texture.overwrite. We can always add something like Texture.overwriteRange later on for uploading/overwriting ranges of mip levels/slices.
For this to be usable end-to-end, #185883 (allow specifying mipLevelCount on createTexture) also needs to land. Without it, every flutter_gpu texture has exactly one mip level and there is no non-zero mipLevel for Texture.overwrite to address.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
bdero commentedon Jun 18, 2024
Making the attachment piece of this a separate issue.
[-][Flutter GPU] Allow specifying the mip level/slice for Texture attachments and Uploads.[/-][+][Flutter GPU] Allow specifying the mip levels/slices to use for writing a texture.[/+][-][Flutter GPU] Allow specifying the mip levels/slices to use for writing a texture.[/-][+][Flutter GPU] Allow specifying the mip levels/slices to use for overwriting a texture.[/+]bdero commentedon Jun 18, 2024
TexturewithGpuContext.createTexture, allow specifying the mip level count, default to 1.mipLevelandsliceforTexture.overwrite. We can always add something likeTexture.overwriteRangelater on for uploading/overwriting ranges of mip levels/slices.bdero commentedon May 1, 2026
For this to be usable end-to-end, #185883 (allow specifying
mipLevelCountoncreateTexture) also needs to land. Without it, every flutter_gpu texture has exactly one mip level and there is no non-zeromipLevelforTexture.overwriteto address.[Flutter GPU] Allow allocating multi-mip textures and overwriting spe…
[Flutter GPU] Allow allocating multi-mip textures and overwriting spe…
[Flutter GPU] Allow allocating multi-mip textures and overwriting spe…
github-actions commentedon May 26, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.