Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jason-simmons
Copy link
Member

fl_renderer_render uses the raster thread GL context that is also used by Skia. Skia expects that its bindings have not been changed elsewhere.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the mix of GObject/C++ style this looks good, thanks!

Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jason-simmons
Copy link
Member Author

Added a test that uses the GL/EGL mocks in testing/mock_epoxy.cc

fl_renderer_render uses the raster thread GL context that is also used by Skia.  Skia expects that its bindings have not been changed elsewhere.
@jason-simmons jason-simmons force-pushed the linux_restore_gl_bindings branch from 9f0c442 to 5e8ded2 Compare April 11, 2024 18:57
@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 11, 2024
@auto-submit auto-submit bot merged commit bbe63af into flutter:main Apr 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 11, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 11, 2024
…146663)

flutter/engine@16b0cfd...2d85d12

2024-04-11 skia-flutter-autoroll@skia.org Roll Skia from 08940c2e0c44 to 5101cbe5a6bb (1 revision) (flutter/engine#52066)
2024-04-11 dkwingsmt@users.noreply.github.com Move `Shell::Add/RemoveView` to `PlatformView` and refine embedder API doc (flutter/engine#52003)
2024-04-11 chaopeng@chaopeng.me [Fuchsia] Support per app present latency tracing (flutter/engine#51503)
2024-04-11 jason-simmons@users.noreply.github.com Save and restore OpenGL bindings that are changed by fl_renderer_render (flutter/engine#51887)

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 chinmaygarde@google.com,rmistry@google.com,zra@google.com 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
gilnobrega pushed a commit to gilnobrega/flutter that referenced this pull request Apr 22, 2024
…lutter#146663)

flutter/engine@16b0cfd...2d85d12

2024-04-11 skia-flutter-autoroll@skia.org Roll Skia from 08940c2e0c44 to 5101cbe5a6bb (1 revision) (flutter/engine#52066)
2024-04-11 dkwingsmt@users.noreply.github.com Move `Shell::Add/RemoveView` to `PlatformView` and refine embedder API doc (flutter/engine#52003)
2024-04-11 chaopeng@chaopeng.me [Fuchsia] Support per app present latency tracing (flutter/engine#51503)
2024-04-11 jason-simmons@users.noreply.github.com Save and restore OpenGL bindings that are changed by fl_renderer_render (flutter/engine#51887)

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 chinmaygarde@google.com,rmistry@google.com,zra@google.com 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects: desktop autosubmit Merge PR when tree becomes green via auto submit App platform-linux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants