Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename FlBackingStoreProvider to FlFramebuffer #54047

Merged

Conversation

robert-ancell
Copy link
Contributor

The name was confusing, as it only provided one type of backing store. FlBackingStoreProvider sounds more like an interface that the FlFramebuffer would implement if we had multiple backing stores.

Use OpenGL types for values.

Fix cases where this was sometimes called a texture.

Improve documentation.

Remove the use of GdkRectangle for dimensions - the framebuffer only has a width and a height. There was code that was using the x,y values which would always have been zero - this has now been removed.

This should be test exempt as it is only a renaming and will be covered by existing tests.

The name was confusing, as it only provided one type of backing store. FlBackingStoreProvider
sounds more like an interface that the FlFramebuffer would implement if we had multiple
backing stores.

Use OpenGL types for values.

Fix cases where this was sometimes called a texture.

Improve documentation.

Remove the use of GdkRectangle for dimensions - the framebuffer only has a width and a height.
There was code that was using the x,y values which would always have been zero - this has now
been removed.
@robert-ancell robert-ancell force-pushed the linux-rename-backing-store-class branch from 123d9e9 to ea61968 Compare July 23, 2024 15:56
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.

LGTM stamp from a Japanese personal seal

@cbracken
Copy link
Member

A bit puzzled because the failure here is a mac host build failure:

[8555/10607] ACTION //flutter/lib/snapshot:generate_snapshot_bin(//build/toolchain/mac:clang_arm64)
FAILED: gen/flutter/lib/snapshot/vm_isolate_snapshot.bin gen/flutter/lib/snapshot/vm_snapshot_instructions.bin gen/flutter/lib/snapshot/isolate_snapshot.bin gen/flutter/lib/snapshot/isolate_snapshot_instructions.bin 
vpython3 ../../build/gn_run_binary.py clang_x64/gen_snapshot --snapshot_kind=core --enable_mirrors=false --vm_snapshot_data=/Volumes/Work/s/w/ir/cache/builder/src/out/host_release_arm64/gen/flutter/lib/snapshot/vm_isolate_snapshot.bin --vm_snapshot_instructions=/Volumes/Work/s/w/ir/cache/builder/src/out/host_release_arm64/gen/flutter/lib/snapshot/vm_snapshot_instructions.bin --isolate_snapshot_data=/Volumes/Work/s/w/ir/cache/builder/src/out/host_release_arm64/gen/flutter/lib/snapshot/isolate_snapshot.bin --isolate_snapshot_instructions=/Volumes/Work/s/w/ir/cache/builder/src/out/host_release_arm64/gen/flutter/lib/snapshot/isolate_snapshot_instructions.bin /Volumes/Work/s/w/ir/cache/builder/src/out/host_release_arm64/flutter_patched_sdk/platform_strong.dill

@robert-ancell
Copy link
Contributor Author

A bit puzzled because the failure here is a mac host build failure.

A number of builds today have had mac failures. I guess we ignore them?

@cbracken
Copy link
Member

I would try rebasing to tip of tree in case this was a bad commit that was reverted. This looks nearby to code I changed a week ago, but would be strange if it only started breaking as a delayed time bomb. The engine tree seems green right now. I'll kick off a re-run on that test to see what happens. The error doesn't seem like it would be a flake though.

@robert-ancell robert-ancell merged commit d3800a9 into flutter:main Jul 24, 2024
28 checks passed
@robert-ancell robert-ancell deleted the linux-rename-backing-store-class branch July 24, 2024 06:55
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 24, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 24, 2024
…152214)

flutter/engine@0b13fa3...d3800a9

2024-07-24 [email protected] Rename FlBackingStoreProvider to FlFramebuffer (flutter/engine#54047)
2024-07-24 [email protected] Remove unnecessary double cast (flutter/engine#54044)
2024-07-24 [email protected] Fix variable name (flutter/engine#54045)

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
TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
…lutter#152214)

flutter/engine@0b13fa3...d3800a9

2024-07-24 [email protected] Rename FlBackingStoreProvider to FlFramebuffer (flutter/engine#54047)
2024-07-24 [email protected] Remove unnecessary double cast (flutter/engine#54044)
2024-07-24 [email protected] Fix variable name (flutter/engine#54045)

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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#152214)

flutter/engine@0b13fa3...d3800a9

2024-07-24 [email protected] Rename FlBackingStoreProvider to FlFramebuffer (flutter/engine#54047)
2024-07-24 [email protected] Remove unnecessary double cast (flutter/engine#54044)
2024-07-24 [email protected] Fix variable name (flutter/engine#54045)

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants