-
Notifications
You must be signed in to change notification settings - Fork 6k
[skwasm] Don't mark the backend texture as mipmapped, since it isn't. #52501
Conversation
yjbanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
…147688) flutter/engine@f56c20c...3087ec1 2024-05-02 [email protected] [skwasm] Don't mark the backend texture as mipmapped, since it isn't. (flutter/engine#52501) 2024-05-01 [email protected] Roll Skia from 36ec16922dad to 81ccf3ab27ee (1 revision) (flutter/engine#52504) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
kjlubick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nit
| _textureSourceWrapper->getTextureSource(), fInfo.width(), | ||
| fInfo.height()); | ||
| glInfo.fFormat = GL_RGBA8_OES; | ||
| glInfo.fTarget = GL_TEXTURE_2D; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: also remove mipmapped on line 94 to make it more clear that param is not used in this impl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good idea. Unfortunately this already merged. I'll see about cleaning this up in a followup.

We don't actually produce mipmaps for any of the textures generated through the
TextureSourceImageGenerator, even if it is requested of us. So we shouldn't mark the texture as mipmapped in this case. This will allow rendering mechanisms to fall back to a non-mipmapped rendering strategy as needed.