c80a0580f45f3db80935fb4422a4a0ee0a40f1fe
Potentially fixes https://github.com/flutter/flutter/issues/141495 The texture used as a render target attachment can have miplevels, but the image view cannot. Unconditionally create two image views per texture (this could be optimized in some cases), where the specific "render target texture view" always sets a mipcount of 1. In theory this should allow us to generate mipmaps for textures that are used as render target attachments, including toImage and toImageSync textures which are currently missing this functionality. --------- Co-authored-by: Aaron Clarke <aaclarke@google.com> Co-authored-by: gaaclarke <30870216+gaaclarke@users.noreply.github.com>
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%