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

[Impeller] Refactor CapabilitiesGLES into a Capabilties. #46621

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

jonahwilliams
Copy link
Member

From #46585

For Framebuffer fetch and other changes we should refactor the CapabilitiesGLES into a regular capabilities.

@jonahwilliams
Copy link
Member Author

Doing this separately so that changes that require other extension checks aren't blocked on the framebuffer fetch PR.

Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

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

LGTM

.SetSupportsDeviceTransientTextures(false)
.Build();
}
{ device_capabilities_ = reactor_->GetProcTable().GetCapabilities(); }
Copy link
Member

Choose a reason for hiding this comment

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

Nit: No need for these curlys?

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 6, 2023
@auto-submit auto-submit bot merged commit 63f0080 into flutter:main Oct 6, 2023
@jonahwilliams jonahwilliams deleted the capabilities_gles branch October 6, 2023 19:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 6, 2023
// Create the device capabilities.
{
device_capabilities_ =
CapabilitiesBuilder()
Copy link
Member

Choose a reason for hiding this comment

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

Can we get rid of CapabilitiesBuilder entirely? All backends should follow the pattern of having a custom capabilities subclass.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 6, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 6, 2023
…136094)

flutter/engine@1bb228d...eb5d5c6

2023-10-06 [email protected] [Impeller] Ensure known geometry has simple bounds computation. (flutter/engine#46623)
2023-10-06 [email protected] [Impeller] Refactor CapabilitiesGLES into a Capabilties. (flutter/engine#46621)

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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
…lutter#136094)

flutter/engine@1bb228d...eb5d5c6

2023-10-06 [email protected] [Impeller] Ensure known geometry has simple bounds computation. (flutter/engine#46623)
2023-10-06 [email protected] [Impeller] Refactor CapabilitiesGLES into a Capabilties. (flutter/engine#46621)

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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
From #46585

For Framebuffer fetch and other changes we should refactor the CapabilitiesGLES into a regular capabilities.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants