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

[Impeller] Include AndroidSurfaceVulkanImpeller behind a flag. #37486

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

iskakaushik
Copy link
Contributor

This is to enable building in google3.

See also: b/258506856

@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.

Copy link
Contributor

@chingjun chingjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a nit

@@ -16,7 +16,9 @@
#include "flutter/shell/platform/android/android_surface_gl_impeller.h"
#include "flutter/shell/platform/android/android_surface_gl_skia.h"
#include "flutter/shell/platform/android/android_surface_software.h"
#ifdef IMPELLER_ENABLE_VULKAN // b/258506856 for why this is behind an ifdef
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Should we use #if instead of #ifdef just to be a bit safer? Seems like #if us more common than #ifdef in flutter/engine

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

This is to enable building in google3.

See also: b/258506856
@iskakaushik iskakaushik added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 10, 2022
@chinmaygarde chinmaygarde changed the title Include AndroidSurfaceVulkanImpeller behind a flag [Impeller] Include AndroidSurfaceVulkanImpeller behind a flag. Nov 10, 2022
@auto-submit auto-submit bot merged commit b42ed69 into flutter:main Nov 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 10, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 10, 2022
…115048)

* 7a746dd9c Add external factories for @staticInterop classes instead of synthetic constructor (flutter/engine#37443)

* b42ed6933 Include AndroidSurfaceVulkanImpeller behind a flag (flutter/engine#37486)
schwa423 pushed a commit to schwa423/engine that referenced this pull request Nov 16, 2022
This is to enable building in google3.

See also: b/258506856
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…lutter#115048)

* 7a746dd9c Add external factories for @staticInterop classes instead of synthetic constructor (flutter/engine#37443)

* b42ed6933 Include AndroidSurfaceVulkanImpeller behind a flag (flutter/engine#37486)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#115048)

* 7a746dd9c Add external factories for @staticInterop classes instead of synthetic constructor (flutter/engine#37443)

* b42ed6933 Include AndroidSurfaceVulkanImpeller behind a flag (flutter/engine#37486)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller needs tests platform-android
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants