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

Conversation

@liyuqian
Copy link
Contributor

@liyuqian liyuqian commented Sep 1, 2019

Fixes flutter/flutter#31086

This patch is a lower level implementation of
flutter/flutter#36616 that would only impact iOS
engine, and host unittests.

Fixes flutter/flutter#31086

This patch is a lower level implementation of
flutter/flutter#36616 that would only impact iOS
engine, and host unittests.
@liyuqian liyuqian force-pushed the iphonex_fix branch 2 times, most recently from b53f6a5 to 1df541d Compare September 3, 2019 05:58
Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

I am still reviewing the patch but the immediate feedback is that we don't patch "shell/common" classes with platform specific behavior. Please move the same to PlatformView<Foo>

uint64_t trace_flow_id) {
TRACE_EVENT0("flutter", "Engine::DispatchPointerDataPacket");
TRACE_FLOW_STEP("flutter", "PointerEvent", trace_flow_id);
#ifdef ENABLE_IRREGULAR_INPUT_DELIVERY_FIX
Copy link
Member

Choose a reason for hiding this comment

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

Please perform this sanitization on the platform task runner and in the platform specific subclass for the entrypoint of these events into the engine. In this case, it would be PlatformViewIOS. We don't apply platform specific hacks in the "common" classes. This will also get rid of the the ENABLE_IRREGULAR_INPUT_DELIVERY_FIX.

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.

//
// The test here is insensitive to the choice of time unit as long as
// delivery_time and frame_time are in the same unit.
void TestSimulatedInputEvents(int num_events,
Copy link
Member

@chinmaygarde chinmaygarde Sep 3, 2019

Choose a reason for hiding this comment

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

This test utility can be moved into the TU that defines the test itself and out of the fixture.

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.

@chinmaygarde
Copy link
Member

We had a conversation offline to rework this so that platform specific stuff doesn't end up in the common classes but is also tested on all platforms.

And let the PlatforView decide which PointerDataDispatcher is used.
@liyuqian liyuqian force-pushed the iphonex_fix branch 2 times, most recently from a010efd to c432601 Compare September 4, 2019 19:40
@liyuqian
Copy link
Contributor Author

liyuqian commented Sep 4, 2019

@chinmaygarde : this is ready for review again.

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

Getting closer. Just a few more nits. Thanks.

);

pointer_data_dispatcher_ =
platform_view.MakePointerDataDispatcher(*animator_, *runtime_controller_);
Copy link
Member

Choose a reason for hiding this comment

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

Platform view methods can only be accessed on the platform task runner. Maybe create the dispatcher in the Shell::Create call on the platform task runner and pass the same to the engine in the constructor? You could then set the animator and the the runtime controller on the dispatcher if one is provided here. The dispatcher can be a thread safe object.

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. I sent in a std::function<std::unique_ptr<PointerDataDispatcher>(...)> instead of a PointerDataDispatcher because Animator& and RuntimeController& must be initialized at construction.


namespace flutter {

class PointerDataDispatcher {
Copy link
Member

Choose a reason for hiding this comment

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

Please document this classes in the doxygen format. See shell.h for an example. Please be sure to document the threading restrictions and lifecycle of these objects.

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.

protected:
RuntimeController& runtime_controller_;
Animator& animator_;
};
Copy link
Member

Choose a reason for hiding this comment

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

DISALLOW_COPY_AND_ASSIGN

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.


void DispatchPacket(std::unique_ptr<PointerDataPacket> packet,
uint64_t trace_flow_id) override;
void OnRender() override {} // Intentional no-op
Copy link
Member

Choose a reason for hiding this comment

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

Please make virtual's OOL.

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.

uint64_t trace_flow_id) override;
void OnRender() override {} // Intentional no-op

virtual ~DefaultPointerDataDispatcher() {}
Copy link
Member

Choose a reason for hiding this comment

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

Please OOL destructors.

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.


using Generator = std::function<int(int)>;

// Simulate n input events where the i-th one is delivered at
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the concise description. Please put these in doxygen format though so these end up being searchable in the docs for the test.

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.

namespace flutter {
namespace testing {

using Generator = std::function<int(int)>;
Copy link
Member

Choose a reason for hiding this comment

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

I realize the units dont matter, but can you make these be points anyway? Makes this clearer to read than just an int.

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.

Copy link
Member

Choose a reason for hiding this comment

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

Did you forget to push this? I still see these as ints. In any case, it was a nit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I probably misunderstood your previous comment and only added a comment. Now I've used UnitlessTime to make it more clear.

// Actual delivery times measured on iPhone Xs, in the unit of frame_time
// (16.67ms for 60Hz).
constexpr int n = 47;
constexpr double iphone_xs_times[n] = {0.15,
Copy link
Member

Choose a reason for hiding this comment

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

You can get rid of n = 47 and instead write sizeof(iphonx_xs_times) / sizeof(double) or arraysize. That way, we can add and remove items from this fixture without potentially forgetting to update the size. These are known at compile time anyway.

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.

Animator& animator_;
};

class IosPointerDataDispatcher : public DefaultPointerDataDispatcher {
Copy link
Member

Choose a reason for hiding this comment

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

The documentation you added inline in the implementation of the DispatchPacket can be added here instead in doxygen format to clarify the purpose if this class. Also, maybe a more descriptive name for this class would be better. One that describes what this class does and not where this class is used.

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.

void DispatchPendingPacket();
};

} // namespace flutter
Copy link
Member

Choose a reason for hiding this comment

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

DISALLOW_COPY_AND_ASSIGN

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.

Copy link
Contributor Author

@liyuqian liyuqian left a comment

Choose a reason for hiding this comment

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

Thanks for the comments! I've revised accordingly. Please check if I missed anything :-)


namespace flutter {

class PointerDataDispatcher {
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.

public:
virtual void DispatchPacket(std::unique_ptr<PointerDataPacket> packet,
uint64_t trace_flow_id) = 0;
virtual void OnRender() = 0;
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.

virtual void DispatchPacket(std::unique_ptr<PointerDataPacket> packet,
uint64_t trace_flow_id) = 0;
virtual void OnRender() = 0;
virtual ~PointerDataDispatcher() {}
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.

RuntimeController& runtime_controller)
: runtime_controller_(runtime_controller), animator_(animator) {}

void DispatchPacket(std::unique_ptr<PointerDataPacket> packet,
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.


void DispatchPacket(std::unique_ptr<PointerDataPacket> packet,
uint64_t trace_flow_id) override;
void OnRender() override {} // Intentional no-op
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.

);

pointer_data_dispatcher_ =
platform_view.MakePointerDataDispatcher(*animator_, *runtime_controller_);
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. I sent in a std::function<std::unique_ptr<PointerDataDispatcher>(...)> instead of a PointerDataDispatcher because Animator& and RuntimeController& must be initialized at construction.

namespace flutter {
namespace testing {

using Generator = std::function<int(int)>;
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.


using Generator = std::function<int(int)>;

// Simulate n input events where the i-th one is delivered at
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.

// Actual delivery times measured on iPhone Xs, in the unit of frame_time
// (16.67ms for 60Hz).
constexpr int n = 47;
constexpr double iphone_xs_times[n] = {0.15,
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.

Animator& animator_;
};

class IosPointerDataDispatcher : public DefaultPointerDataDispatcher {
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.

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

All nits and most about docs. lgtm once those are fixed. Thanks.

std::move(isolate_snapshot), // isolate snapshot
std::move(shared_snapshot), // shared snapshot
std::move(task_runners), // task runners
task_runners, // task runners
Copy link
Member

Choose a reason for hiding this comment

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

There is a story of suffering behind this isn't there :)

namespace flutter {
namespace testing {

using Generator = std::function<int(int)>;
Copy link
Member

Choose a reason for hiding this comment

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

Did you forget to push this? I still see these as ints. In any case, it was a nit.

///
/// @param[in] closure The callback to execute on the render thread when the
/// @brief Sets a callback that gets executed when the rasterizer
/// renders
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

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.

//----------------------------------------------------------------------------
/// @brief Gives embedders a chance to react to a "cold restart" of the
/// @brief Gives embedders a chance to react to a "cold restart" of
/// the
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

/// re-thread as necessary.
///
/// @attention The callback is executed on the render task runner and not
/// the
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

/// necessary.
///
/// @param[in] closure The callback to execute on the render thread when
/// the
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

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.

///
/// @param[in] packet The pointer data packet to dispatch to the framework.
/// @param[in] packet The pointer data packet to dispatch to the
/// framework.
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

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.

/// the texture has not been previously registered,
/// this call does nothing.
/// @param[in] texture_id The identifier of the texture to unregister.
/// If
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

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.

//--------------------------------------------------------------------------
/// @brief Used by the embedder to notify the rasterizer that the context
/// @brief Used by the embedder to notify the rasterizer that the
/// context
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect word wrapping.

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.

/// tasks that require access to components
/// that cannot be safely accessed by the
/// engine. This is the shell.
/// @param platform_view The object used by engine to create the
Copy link
Member

Choose a reason for hiding this comment

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

This param is now out of date. Please also make sure to specify the updated threading restrictions when you fix this.

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.

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.

Copy link
Contributor Author

@liyuqian liyuqian left a comment

Choose a reason for hiding this comment

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

What has clang-format done to my headers... Thank you for being smarter than clang-format! 😄

@chinmaygarde
Copy link
Member

What has clang-format done to my headers

If you correctly indent the second line, it matches the indentation correctly for all following lines. If the first line overflows, then stuff gets weird.

@liyuqian liyuqian merged commit b569e8c into flutter:master Sep 10, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 11, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 11, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 11, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 11, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Sep 11, 2019
[email protected]:flutter/engine.git/compare/7ea9884ab00e...5b94c8a

git log 7ea9884..5b94c8a --no-merges --oneline
2019-09-11 [email protected] Revert "Roll src/third_party/dart be66176534..ec7ec4ecf7 (37 commits)" (flutter/engine#12223)
2019-09-11 [email protected] Do not generate kernel platform files on topaz tree (flutter/engine#12222)
2019-09-11 [email protected] Don't disable toString in release mode for dart:ui classes (flutter/engine#12204)
2019-09-11 [email protected] Roll fuchsia/sdk/core/linux-amd64 from 7gDBN... to u7Q31... (flutter/engine#12221)
2019-09-11 [email protected] Roll src/third_party/skia d96ef09317d6..120e7d6766e4 (2 commits) (flutter/engine#12220)
2019-09-11 [email protected] Roll fuchsia/sdk/core/mac-amd64 from vDk46... to _nS67... (flutter/engine#12219)
2019-09-11 [email protected] Namespace patched SDK names to not conflict with Topaz (flutter/engine#12218)
2019-09-11 [email protected] Roll src/third_party/dart ca7baa4013..4d5e15abde (29 commits)
2019-09-11 [email protected] Roll src/third_party/skia 14318c140949..d96ef09317d6 (2 commits) (flutter/engine#12216)
2019-09-11 [email protected] Roll src/third_party/skia b23a4f9d9442..14318c140949 (2 commits) (flutter/engine#12215)
2019-09-11 [email protected] Roll src/third_party/skia 26ac0467cb4c..b23a4f9d9442 (2 commits) (flutter/engine#12214)
2019-09-11 [email protected] Roll src/third_party/dart 7bbfd532de..ca7baa4013 (3 commits)
2019-09-11 [email protected] Roll fuchsia/sdk/core/linux-amd64 from R1yqu... to 7gDBN... (flutter/engine#12212)
2019-09-11 [email protected] Roll fuchsia/sdk/core/mac-amd64 from spUG2... to vDk46... (flutter/engine#12210)
2019-09-11 [email protected] Roll buildroot and Fuchsia toolchain and unblock the Fuchsia/Linux autoroller manually. (flutter/engine#12209)
2019-09-11 [email protected] Roll src/third_party/skia 4fe30e15c06c..26ac0467cb4c (2 commits) (flutter/engine#12207)
2019-09-11 [email protected] Only build the x64 variant of Fuchsia on the try-jobs. (flutter/engine#12206)
2019-09-10 [email protected] Don't load Roboto by default (flutter/engine#12205)
2019-09-10 [email protected] Roll src/third_party/dart 300c3333d1..7bbfd532de (5 commits)
2019-09-10 [email protected] Roll src/third_party/skia 66d8006c2bb1..4fe30e15c06c (11 commits) (flutter/engine#12202)
2019-09-10 [email protected] add a convenience CLI tool for building and testing web engine (flutter/engine#12197)
2019-09-10 [email protected] [flutter_runner] Generate symbols for the Dart VM profiler (flutter/engine#12048)
2019-09-10 [email protected] Add custom test plugin that supports screenshot tests (flutter/engine#12079)
2019-09-10 [email protected] Move the Fuchsia tryjob into a its own step and disable LTO. (flutter/engine#12190)
2019-09-10 [email protected] Roll src/third_party/dart 62f78a7abb..300c3333d1 (6 commits)
2019-09-10 [email protected] Roll src/third_party/skia b88894c8811b..66d8006c2bb1 (5 commits) (flutter/engine#12178)
2019-09-10 [email protected] [flutter_runner] Port the accessibility bridge from Topaz (flutter/engine#12054)
2019-09-10 [email protected] Smooth out iOS irregular input events delivery (flutter/engine#11817)
2019-09-10 [email protected] Roll src/third_party/dart ccb6ba948b..62f78a7abb (3 commits)
2019-09-10 [email protected] Make ImageShader implement Shader for web ui (flutter/engine#12161)
2019-09-10 [email protected] Roll src/third_party/dart 2e8d912848..ccb6ba948b (30 commits)
2019-09-10 [email protected] Roll src/third_party/skia 9e5c47936b17..b88894c8811b (3 commits) (flutter/engine#12151)
2019-09-10 [email protected] Roll src/third_party/skia 1bf30ce852e0..9e5c47936b17 (2 commits) (flutter/engine#12129)
2019-09-10 [email protected] Roll src/third_party/skia 8cae1e95a23b..1bf30ce852e0 (2 commits) (flutter/engine#12106)
2019-09-10 [email protected] Roll fuchsia/clang/mac-amd64 from H1Qjc... to HfPKR... (flutter/engine#12088)
2019-09-10 [email protected] Don't launch the observatory by default on each embedder unit-test invocation. (flutter/engine#12087)
2019-09-10 [email protected] Roll src/third_party/skia c2d84bfa7421..8cae1e95a23b (4 commits) (flutter/engine#12086)
2019-09-10 [email protected] Roll src/third_party/dart fb14babf59..2e8d912848 (65 commits)
2019-09-10 [email protected] Guard availability of user notification related methods to iOS 10.0 (flutter/engine#12084)
2019-09-09 [email protected] Add capability to add AppDelegate as UNUserNotificationCenterDelegate (flutter/engine#9864)
2019-09-09 [email protected] Add GradientRadial paintStyle implementation (flutter/engine#12081)
2019-09-09 [email protected] Don't quote generic font families (flutter/engine#12080)
2019-09-09 [email protected] Roll src/third_party/skia 28d40b2e7ade..c2d84bfa7421 (3 commits) (flutter/engine#12082)
2019-09-09 [email protected] Remove ENABLE_BITCODE from Scenarios test app (flutter/engine#11839)
2019-09-09 [email protected] Roll src/third_party/skia 4f2674da4bbc..28d40b2e7ade (4 commits) (flutter/engine#12077)
...
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 12, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Sep 12, 2019
[email protected]:flutter/engine.git/compare/7ea9884ab00e...bbb1f12

git log 7ea9884..bbb1f12 --no-merges --oneline
2019-09-12 [email protected] Adjust iOS frame start times to match the platform info (flutter/engine#11802)
2019-09-12 [email protected] Roll src/third_party/skia 50f377e275c3..7c47d41067d4 (3 commits) (flutter/engine#12231)
2019-09-12 [email protected] Revert "Manage iOS contexts separately (#12078)" (flutter/engine#12233)
2019-09-11 [email protected] Manage iOS contexts separately (flutter/engine#12078)
2019-09-11 [email protected] Roll src/third_party/skia 120e7d6766e4..50f377e275c3 (7 commits) (flutter/engine#12224)
2019-09-11 [email protected] Revert "Roll src/third_party/dart be66176534..ec7ec4ecf7 (37 commits)" (flutter/engine#12223)
2019-09-11 [email protected] Do not generate kernel platform files on topaz tree (flutter/engine#12222)
2019-09-11 [email protected] Don't disable toString in release mode for dart:ui classes (flutter/engine#12204)
2019-09-11 [email protected] Roll fuchsia/sdk/core/linux-amd64 from 7gDBN... to u7Q31... (flutter/engine#12221)
2019-09-11 [email protected] Roll src/third_party/skia d96ef09317d6..120e7d6766e4 (2 commits) (flutter/engine#12220)
2019-09-11 [email protected] Roll fuchsia/sdk/core/mac-amd64 from vDk46... to _nS67... (flutter/engine#12219)
2019-09-11 [email protected] Namespace patched SDK names to not conflict with Topaz (flutter/engine#12218)
2019-09-11 [email protected] Roll src/third_party/dart ca7baa4013..4d5e15abde (29 commits)
2019-09-11 [email protected] Roll src/third_party/skia 14318c140949..d96ef09317d6 (2 commits) (flutter/engine#12216)
2019-09-11 [email protected] Roll src/third_party/skia b23a4f9d9442..14318c140949 (2 commits) (flutter/engine#12215)
2019-09-11 [email protected] Roll src/third_party/skia 26ac0467cb4c..b23a4f9d9442 (2 commits) (flutter/engine#12214)
2019-09-11 [email protected] Roll src/third_party/dart 7bbfd532de..ca7baa4013 (3 commits)
2019-09-11 [email protected] Roll fuchsia/sdk/core/linux-amd64 from R1yqu... to 7gDBN... (flutter/engine#12212)
2019-09-11 [email protected] Roll fuchsia/sdk/core/mac-amd64 from spUG2... to vDk46... (flutter/engine#12210)
2019-09-11 [email protected] Roll buildroot and Fuchsia toolchain and unblock the Fuchsia/Linux autoroller manually. (flutter/engine#12209)
2019-09-11 [email protected] Roll src/third_party/skia 4fe30e15c06c..26ac0467cb4c (2 commits) (flutter/engine#12207)
2019-09-11 [email protected] Only build the x64 variant of Fuchsia on the try-jobs. (flutter/engine#12206)
2019-09-10 [email protected] Don't load Roboto by default (flutter/engine#12205)
2019-09-10 [email protected] Roll src/third_party/dart 300c3333d1..7bbfd532de (5 commits)
2019-09-10 [email protected] Roll src/third_party/skia 66d8006c2bb1..4fe30e15c06c (11 commits) (flutter/engine#12202)
2019-09-10 [email protected] add a convenience CLI tool for building and testing web engine (flutter/engine#12197)
2019-09-10 [email protected] [flutter_runner] Generate symbols for the Dart VM profiler (flutter/engine#12048)
2019-09-10 [email protected] Add custom test plugin that supports screenshot tests (flutter/engine#12079)
2019-09-10 [email protected] Move the Fuchsia tryjob into a its own step and disable LTO. (flutter/engine#12190)
2019-09-10 [email protected] Roll src/third_party/dart 62f78a7abb..300c3333d1 (6 commits)
2019-09-10 [email protected] Roll src/third_party/skia b88894c8811b..66d8006c2bb1 (5 commits) (flutter/engine#12178)
2019-09-10 [email protected] [flutter_runner] Port the accessibility bridge from Topaz (flutter/engine#12054)
2019-09-10 [email protected] Smooth out iOS irregular input events delivery (flutter/engine#11817)
2019-09-10 [email protected] Roll src/third_party/dart ccb6ba948b..62f78a7abb (3 commits)
2019-09-10 [email protected] Make ImageShader implement Shader for web ui (flutter/engine#12161)
2019-09-10 [email protected] Roll src/third_party/dart 2e8d912848..ccb6ba948b (30 commits)
2019-09-10 [email protected] Roll src/third_party/skia 9e5c47936b17..b88894c8811b (3 commits) (flutter/engine#12151)
2019-09-10 [email protected] Roll src/third_party/skia 1bf30ce852e0..9e5c47936b17 (2 commits) (flutter/engine#12129)
2019-09-10 [email protected] Roll src/third_party/skia 8cae1e95a23b..1bf30ce852e0 (2 commits) (flutter/engine#12106)
2019-09-10 [email protected] Roll fuchsia/clang/mac-amd64 from H1Qjc... to HfPKR... (flutter/engine#12088)
2019-09-10 [email protected] Don't launch the observatory by default on each embedder unit-test invocation. (flutter/engine#12087)
2019-09-10 [email protected] Roll src/third_party/skia c2d84bfa7421..8cae1e95a23b (4 commits) (flutter/engine#12086)
2019-09-10 [email protected] Roll src/third_party/dart fb14babf59..2e8d912848 (65 commits)
2019-09-10 [email protected] Guard availability of user notification related methods to iOS 10.0 (flutter/engine#12084)
2019-09-09 [email protected] Add capability to add AppDelegate as UNUserNotificationCenterDelegate (flutter/engine#9864)
...
mklim pushed a commit that referenced this pull request Sep 12, 2019
liyuqian added a commit to liyuqian/engine that referenced this pull request Sep 13, 2019
liyuqian added a commit that referenced this pull request Sep 16, 2019
)

Additionally, we now use the engine directly as a delegate instead of storing potentially dead runtime_controller.

Unit tests have been updated to include an engine restart check which would fail before the fix.

This fixes flutter/flutter#40303
liyuqian added a commit to liyuqian/engine that referenced this pull request Sep 20, 2019
liyuqian added a commit that referenced this pull request Sep 20, 2019
@liyuqian liyuqian deleted the iphonex_fix branch September 24, 2019 00:14
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
[email protected]:flutter/engine.git/compare/7ea9884ab00e...bbb1f12

git log 7ea9884..bbb1f12 --no-merges --oneline
2019-09-12 [email protected] Adjust iOS frame start times to match the platform info (flutter/engine#11802)
2019-09-12 [email protected] Roll src/third_party/skia 50f377e275c3..7c47d41067d4 (3 commits) (flutter/engine#12231)
2019-09-12 [email protected] Revert "Manage iOS contexts separately (flutter#12078)" (flutter/engine#12233)
2019-09-11 [email protected] Manage iOS contexts separately (flutter/engine#12078)
2019-09-11 [email protected] Roll src/third_party/skia 120e7d6766e4..50f377e275c3 (7 commits) (flutter/engine#12224)
2019-09-11 [email protected] Revert "Roll src/third_party/dart be66176534..ec7ec4ecf7 (37 commits)" (flutter/engine#12223)
2019-09-11 [email protected] Do not generate kernel platform files on topaz tree (flutter/engine#12222)
2019-09-11 [email protected] Don't disable toString in release mode for dart:ui classes (flutter/engine#12204)
2019-09-11 [email protected] Roll fuchsia/sdk/core/linux-amd64 from 7gDBN... to u7Q31... (flutter/engine#12221)
2019-09-11 [email protected] Roll src/third_party/skia d96ef09317d6..120e7d6766e4 (2 commits) (flutter/engine#12220)
2019-09-11 [email protected] Roll fuchsia/sdk/core/mac-amd64 from vDk46... to _nS67... (flutter/engine#12219)
2019-09-11 [email protected] Namespace patched SDK names to not conflict with Topaz (flutter/engine#12218)
2019-09-11 [email protected] Roll src/third_party/dart ca7baa4013..4d5e15abde (29 commits)
2019-09-11 [email protected] Roll src/third_party/skia 14318c140949..d96ef09317d6 (2 commits) (flutter/engine#12216)
2019-09-11 [email protected] Roll src/third_party/skia b23a4f9d9442..14318c140949 (2 commits) (flutter/engine#12215)
2019-09-11 [email protected] Roll src/third_party/skia 26ac0467cb4c..b23a4f9d9442 (2 commits) (flutter/engine#12214)
2019-09-11 [email protected] Roll src/third_party/dart 7bbfd532de..ca7baa4013 (3 commits)
2019-09-11 [email protected] Roll fuchsia/sdk/core/linux-amd64 from R1yqu... to 7gDBN... (flutter/engine#12212)
2019-09-11 [email protected] Roll fuchsia/sdk/core/mac-amd64 from spUG2... to vDk46... (flutter/engine#12210)
2019-09-11 [email protected] Roll buildroot and Fuchsia toolchain and unblock the Fuchsia/Linux autoroller manually. (flutter/engine#12209)
2019-09-11 [email protected] Roll src/third_party/skia 4fe30e15c06c..26ac0467cb4c (2 commits) (flutter/engine#12207)
2019-09-11 [email protected] Only build the x64 variant of Fuchsia on the try-jobs. (flutter/engine#12206)
2019-09-10 [email protected] Don't load Roboto by default (flutter/engine#12205)
2019-09-10 [email protected] Roll src/third_party/dart 300c3333d1..7bbfd532de (5 commits)
2019-09-10 [email protected] Roll src/third_party/skia 66d8006c2bb1..4fe30e15c06c (11 commits) (flutter/engine#12202)
2019-09-10 [email protected] add a convenience CLI tool for building and testing web engine (flutter/engine#12197)
2019-09-10 [email protected] [flutter_runner] Generate symbols for the Dart VM profiler (flutter/engine#12048)
2019-09-10 [email protected] Add custom test plugin that supports screenshot tests (flutter/engine#12079)
2019-09-10 [email protected] Move the Fuchsia tryjob into a its own step and disable LTO. (flutter/engine#12190)
2019-09-10 [email protected] Roll src/third_party/dart 62f78a7abb..300c3333d1 (6 commits)
2019-09-10 [email protected] Roll src/third_party/skia b88894c8811b..66d8006c2bb1 (5 commits) (flutter/engine#12178)
2019-09-10 [email protected] [flutter_runner] Port the accessibility bridge from Topaz (flutter/engine#12054)
2019-09-10 [email protected] Smooth out iOS irregular input events delivery (flutter/engine#11817)
2019-09-10 [email protected] Roll src/third_party/dart ccb6ba948b..62f78a7abb (3 commits)
2019-09-10 [email protected] Make ImageShader implement Shader for web ui (flutter/engine#12161)
2019-09-10 [email protected] Roll src/third_party/dart 2e8d912848..ccb6ba948b (30 commits)
2019-09-10 [email protected] Roll src/third_party/skia 9e5c47936b17..b88894c8811b (3 commits) (flutter/engine#12151)
2019-09-10 [email protected] Roll src/third_party/skia 1bf30ce852e0..9e5c47936b17 (2 commits) (flutter/engine#12129)
2019-09-10 [email protected] Roll src/third_party/skia 8cae1e95a23b..1bf30ce852e0 (2 commits) (flutter/engine#12106)
2019-09-10 [email protected] Roll fuchsia/clang/mac-amd64 from H1Qjc... to HfPKR... (flutter/engine#12088)
2019-09-10 [email protected] Don't launch the observatory by default on each embedder unit-test invocation. (flutter/engine#12087)
2019-09-10 [email protected] Roll src/third_party/skia c2d84bfa7421..8cae1e95a23b (4 commits) (flutter/engine#12086)
2019-09-10 [email protected] Roll src/third_party/dart fb14babf59..2e8d912848 (65 commits)
2019-09-10 [email protected] Guard availability of user notification related methods to iOS 10.0 (flutter/engine#12084)
2019-09-09 [email protected] Add capability to add AppDelegate as UNUserNotificationCenterDelegate (flutter/engine#9864)
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scroll performance significantly degraded on iPhone X, Xs devices due to irregular input events delivery.

3 participants