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

Conversation

@kjlubick
Copy link
Contributor

In https://skia-review.googlesource.com/c/skia/+/698237, Skia moved the SkSurface::flush* methods to GrDirectContext (and skgpu::ganesh::Flush). This updates Flutter to use those versions, which are drop-in replacements for the previous functionality.

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.

@kjlubick kjlubick requested a review from jason-simmons May 30, 2023 19:27
@kjlubick kjlubick merged commit ee53c04 into flutter:main May 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 31, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 31, 2023
…127972)

flutter/engine@682bd0f...ee53c04

2023-05-31 [email protected] Replace SkSurface::flush methods with GrDirectContext methods (flutter/engine#42425)

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 flushing branch August 3, 2023 18:18
HinTak added a commit to HinTak/skia-m1xx-python that referenced this pull request Aug 10, 2023
commit e3ca856e7ed6c285734dacf87faccdbf9a321f05
Author: Kevin Lubick <[email protected]>
Date:   Wed Jul 26 08:58:05 2023 -0400

    Remove legacy SkImage and SkSurface methods

    Client CLs:
     - http://ag/23168890
     - http://ag/23171851
     - http://ag/23473641
     - http://ag/23494824
     - http://cl/551209733
     - https://crrev.com/c/4566404
     - https://crrev.com/c/4705004
     - flutter/engine#42425
     - flutter/engine#43786
     - flutter/engine#43965

    Change-Id: I06c71cf6dc77aeaa3f78dec61c7b7c6eca688884
    Bug: b/40045064
    Reviewed-on: https://skia-review.googlesource.com/c/skia/+/729776
    Reviewed-by: Michael Ludwig <[email protected]>
    Commit-Queue: Kevin Lubick <[email protected]>
    Reviewed-by: Brian Osman <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants