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

Conversation

@kjlubick
Copy link
Contributor

Context: https://g-issues.skia.org/issues/309785258

Skia would like to remove these deprecated fields, so this updates Flutter's use of them to use the new ways.

Note that VulkanWindow seems to be unused (or no longer used?) since there was a mistyped define (SK_VUKLAN -> SK_VULKAN) causing the code I am fixing to never be run.

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.

@kjlubick kjlubick requested review from bdero and brianosman May 31, 2024 17:55
@kjlubick kjlubick marked this pull request as ready for review May 31, 2024 17:56
@kjlubick
Copy link
Contributor Author

I also had one of Skia's Vulkan experts look at the changes to make sure I handled the extensions correctly.

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. (FYI @chinmaygarde)

@kjlubick kjlubick merged commit d1365ee into flutter:main Jun 3, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 3, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 3, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 3, 2024
hubot pushed a commit to google/skia that referenced this pull request Jun 5, 2024
This incidentally fixes an issue where if clients provided a
non-null fDeviceFeatures but a null extensions, Skia could
dereference a null pointer (in Ganesh).

Client CLs:
 - flutter/engine#53122

Bug: b/309785258
Change-Id: I0af32b5e47ac65e882271eb9b75b036b82c6371e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/859517
Reviewed-by: Robert Phillips <[email protected]>
Reviewed-by: Nicolette Prevost <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants