Regression introduced in flutter-team-archive/engine#56902.
One of the aims of the linked patch was to remove redundant calls to Viewport and DepthRange. It did this by moving the primary call to Viewport outside of the loop that iterated over the commands and only updating the viewport for commands that explicitly specified a viewport.
But this introduced a subtle bug where commands after one that specified a viewport that also did not specify their own viewport would get the viewport of a previous command (instead of one that covered the entire extent of the render pass).
This is an OpenGL specific regression.
Regression introduced in flutter-team-archive/engine#56902.
One of the aims of the linked patch was to remove redundant calls to
ViewportandDepthRange. It did this by moving the primary call toViewportoutside of the loop that iterated over the commands and only updating the viewport for commands that explicitly specified a viewport.But this introduced a subtle bug where commands after one that specified a viewport that also did not specify their own viewport would get the viewport of a previous command (instead of one that covered the entire extent of the render pass).
This is an OpenGL specific regression.