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
Opengles texture upside-down in ImageFilter.compose golden tests #177611
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
jason-simmons commentedon Oct 27, 2025
Does this work as intended if the shader adjusts the y-axis direction for OpenGL as described in https://github.com/flutter/flutter/blob/master/engine/src/flutter/lib/ui/painting.dart#L4265?
gaaclarke commentedon Oct 27, 2025
No, it doesn't fix it unfortunately. I messed up in the description. I'll update it.
Without any change
ComposePaintRuntimeInnerrenders right side up, butComposePaintRuntimeOuterrenders upside down.Adding the flip like in the linked document fixes
ComposePaintRuntimeOuterbut flopsComposePaintRuntimeInner.gaaclarke commentedon Oct 27, 2025
The shader with the documented y flip:
gaaclarke commentedon Oct 27, 2025
The workaround for this is to just use 2 different shaders. One with the y coordinate swap in it, one without it.
Fixes RuntimeEffect when used with ImageFilter.compose and gaussian b…
github-actions commentedon Nov 13, 2025
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.Fixes RuntimeEffect when used with ImageFilter.compose and gaussian b…
Fixes RuntimeEffect when used with ImageFilter.compose and gaussian b…