-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Include AndroidSurfaceVulkanImpeller behind a flag. #37486
Conversation
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. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
d0a46c3
to
6c497c3
Compare
…115048) * 7a746dd9c Add external factories for @staticInterop classes instead of synthetic constructor (flutter/engine#37443) * b42ed6933 Include AndroidSurfaceVulkanImpeller behind a flag (flutter/engine#37486)
This is to enable building in google3. See also: b/258506856
…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)
…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)
This is to enable building in google3.
See also: b/258506856