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

Conversation

@loic-sharma
Copy link
Member

@loic-sharma loic-sharma commented Jan 19, 2024

This is a refactoring with no semantic changes. The following types were renamed:

  • flutter::AngleSurfaceManager to flutter::egl::Manager. In subsequent pull requests, this type will create but not own surfaces. Furthermore, this type will be split up to introduce flutter::egl::Surface and flutter::egl::Context. The manager will own the contexts and each surface will be owned by its view.
  • flutter::GlProcTable to flutter::egl::ProcTable

This also introduces an egl directory to the Windows embedder.

Previous pull request: #49895

Part of flutter/flutter#141996

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@loic-sharma loic-sharma marked this pull request as draft January 19, 2024 18:51
@loic-sharma loic-sharma force-pushed the windows_split_egl branch 2 times, most recently from 445666e to f6a7c49 Compare January 19, 2024 20:31
auto-submit bot pushed a commit that referenced this pull request Jan 19, 2024
This is a refactoring with no semantic changes:

1. Fixes incorrect style in `AngleSurfaceManager`
2. Cleans `AngleSurfaceManager`'s initialization logic

Next pull request: #49900

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
@loic-sharma loic-sharma marked this pull request as ready for review January 19, 2024 22:58
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

I like it -- nice cleanup!

LGTM stamp from a Japanese personal seal

Copy link
Contributor

@yaakovschectman yaakovschectman left a comment

Choose a reason for hiding this comment

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

Looks good. Should we open/link to an issue for this?

@loic-sharma
Copy link
Member Author

@yaakovschectman Good idea, opened: flutter/flutter#141996

@loic-sharma loic-sharma added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 22, 2024
@auto-submit auto-submit bot merged commit 5187843 into flutter:main Jan 22, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 23, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 23, 2024
…142023)

flutter/engine@d3dbd42...df6b15d

2024-01-22 [email protected] [Impeller] dont emulate command buffers for compute on Metal/Vulkan. (flutter/engine#49922)
2024-01-22 [email protected] [Impeller] fixed colorspace for metal screenshots (flutter/engine#49941)
2024-01-22 [email protected] [Impeller] remove frame counter that was unused in Vulkan allocator. (flutter/engine#49913)
2024-01-22 [email protected] [Impeller] Create the golden test screenshotter after setting the Vulkan ICD environment variable (flutter/engine#49948)
2024-01-22 [email protected] [Windows] Rename and move EGL types (flutter/engine#49900)
2024-01-22 [email protected] Roll Skia from fa5f2461554f to 58973cca0edd (2 revisions) (flutter/engine#49947)

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
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-windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants