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

Eliminate Android-specific Vulkan support #28239

Merged
merged 1 commit into from Aug 23, 2021

Conversation

cbracken
Copy link
Member

@cbracken cbracken commented Aug 20, 2021

This eliminates Vulkan support for Android. As of #27980
(c2f2291) we are no longer running Android-Vulkan builds. This
eliminates the --enable-vulkan flag from tools/gn and any code that is
only reachable when that flag is enabled.

Note that after this patch, shell_enable_vulkan is always false,
however the //flutter/shell/gpu:gpu_surface_vulkan target and source
files remain since they are still used when test_enable_vulkan is
true, which is the case when is_fuchsia is true. Note that these files
are not built as part of a regular fuchsia build (see the
shell_gpu_configuration in //shell/platform/fuchsia/flutter/BUILD.gn),
but may be enabled once the Fuchsia embedder is migrated to the Embedder
API.

Related recipe patch: https://flutter-review.googlesource.com/c/recipes/+/17284

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.

@cbracken cbracken added the Work in progress (WIP) Not ready (yet) for review! label Aug 20, 2021
@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.

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.

This eliminates Vulkan support for Android. As of flutter#27980
(c2f2291) we are no longer running Android-Vulkan builds. This
eliminates the --enable-vulkan flag from tools/gn and any code that is
only reachable when that flag is enabled.

Note that after this patch, `shell_enable_vulkan` is always false,
however the //flutter/shell/gpu:gpu_surface_vulkan target and source
files remain since they are still used when `test_enable_vulkan` is
true, which is the case when `is_fuchsia` is true. Note that these files
are *not* built as part of a regular fuchsia build (see the
`shell_gpu_configuration` in //shell/platform/fuchsia/flutter/BUILD.gn),
but may be enabled once the Fuchsia embedder is migrated to the Embedder
API.

Also updates TODOs to dworsham, who is the committer who'll be
transitioning the Fuchsia embedder to the embedding API.
@cbracken cbracken merged commit 926ce0d into flutter:master Aug 23, 2021
@cbracken cbracken deleted the no-enable-vulkan branch August 23, 2021 20:59
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 23, 2021
pbo-linaro pushed a commit to pbo-linaro/flutter-recipes that referenced this pull request Nov 24, 2022
This has never shipped and isn't properly supported, so eliminating the
build and, in a separate patch [1], the associated code.

[1] flutter/engine#28239

Change-Id: Ie17bee40d88a35c8af1602d83be01c021c0266fd
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/17284
Commit-Queue: Chris Bracken <cbracken@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants