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

Conversation

@chinmaygarde
Copy link
Member

These were added to conditionally compile stuff when Impeller only had Metal on
Darwin implementation. These are no longer used.

These were added to conditionally compile stuff when Impeller only had Metal on
Darwin implementation. These are no longer used.
defines = []

if (impeller_supports_platform) {
defines += [ "IMPELLER_SUPPORTS_PLATFORM=1" ]
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to remove references to this from the code?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah. I built the unit-tests to verify. Going over the code to change these references.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 1, 2022
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/shell/common/shell_io_manager.h"
#include "flutter/shell/gpu/gpu_surface_gl_delegate.h"
#if IMPELLER_SUPPORTS_PLATFORM
Copy link
Contributor

Choose a reason for hiding this comment

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

This was done as a hack to make sure that google3 would build.

Can we make sure build_engine=1 still works with this patch applied in google3?

Copy link
Member Author

Choose a reason for hiding this comment

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

I expect the rules already ported for the Metal backend for ImpellerC to also work with the OpenGL backend (and others).

Copy link
Member

Choose a reason for hiding this comment

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

The g3 build hardcodes IMPELLER_SUPPORTS_PLATFORM when depending on impeller. An internal follow-up CL would remove the define from the impeller target.

#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/shell/common/shell_io_manager.h"
#include "flutter/shell/gpu/gpu_surface_gl_delegate.h"
#if IMPELLER_SUPPORTS_PLATFORM
Copy link
Member

Choose a reason for hiding this comment

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

The g3 build hardcodes IMPELLER_SUPPORTS_PLATFORM when depending on impeller. An internal follow-up CL would remove the define from the impeller target.

@auto-submit auto-submit bot merged commit 4567332 into flutter:main Aug 1, 2022
@chinmaygarde chinmaygarde deleted the red_flags branch August 1, 2022 21:54
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 1, 2022
betrevisan pushed a commit to betrevisan/engine that referenced this pull request Aug 5, 2022
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
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

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants