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

Migrate SkSurface::getBackend* methods to static functions #41693

Merged
merged 1 commit into from
May 3, 2023

Conversation

kjlubick
Copy link
Contributor

@kjlubick kjlubick commented May 3, 2023

In https://skia-review.googlesource.com/c/skia/+/687642, Skia moved some gpu-related methods on SkSurface to be static functions in a different header. This updates those callsites in Flutter.

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 Hixie said 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.

@flutter-dashboard flutter-dashboard bot added embedder Related to the embedder API platform-fuchsia labels May 3, 2023
@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 Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on 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.

@jason-simmons jason-simmons merged commit 95d8f2e into flutter:main May 3, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 3, 2023
…126018)

flutter/engine@7d70dc8...a0906bd

2023-05-03 [email protected] [Impeller] Load instead of restore drawing for non-MSAA passes (flutter/engine#41676)
2023-05-03 [email protected] Remove physical model layer (flutter/engine#41593)
2023-05-03 [email protected] Reland: "Determine lifecycle by looking at window focus also" (#41094) (flutter/engine#41702)
2023-05-03 [email protected] Roll Skia from 887e58fff02f to 93c869da03f5 (12 revisions) (flutter/engine#41705)
2023-05-03 [email protected] [web] Improve null safety for color->css (flutter/engine#41699)
2023-05-03 [email protected] [web] Remove unused function parameter (flutter/engine#41700)
2023-05-03 [email protected] Migrate Android Engine Debug to Engine V2. (flutter/engine#41687)
2023-05-03 [email protected] Migrate SkSurface::getBackend* methods to static functions (flutter/engine#41693)

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
@kjlubick kjlubick deleted the maketexture branch August 3, 2023 18:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants