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 Nov 28, 2018

The current implementation only deals with Android devices and we'll add iOS devices support soon.

This is more consistent with the `flutter query refresh-rate` command
line and it indicates that the "query" might be more costly than a
simple "get" (e.g., we have to communicate with Android/Java or
iOS/ObjC).
@liyuqian
Copy link
Contributor Author

CC @devoncarew and @kenzieschmoll : as you suggested, the string returned only includes a single number (e.g., "60.0") and the unit (FPS) is embedded in the method name or the key of the key-value pair.

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.

@devoncarew
Copy link
Contributor

the string returned only includes a single number (e.g., "60.0") and the unit (FPS) is embedded in the method name or the key of the key-value pair

sounds great, thanks for the changes

@kenzieschmoll
Copy link
Member

Awesome, thanks Yuqian!

@liyuqian liyuqian changed the title Support querying refresh rate fps in engine Support querying display refresh rate in engine Nov 29, 2018
@liyuqian
Copy link
Contributor Author

@chinmaygarde : can you please review the change to see if your comments are addressed?

@liyuqian liyuqian merged commit 2bd75ae into flutter:master Dec 12, 2018
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 12, 2018
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 12, 2018
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 13, 2018
goderbauer pushed a commit to flutter/flutter that referenced this pull request Dec 13, 2018
* 2bd75ae Support querying display refresh rate in engine (flutter/engine#7002)

* 793a08b Add .woff file to binary format (flutter/engine#7202)

* daf0ede Roll src/third_party/skia 6417060b1c23..340aeda6b3ba (41 commits) (flutter/engine#7205)

* 571f474 Update marked text before selection so textInRange is never called with (flutter/engine#6989)
@kenzieschmoll
Copy link
Member

@liyuqian when will support for iOS devices be added?

@liyuqian
Copy link
Contributor Author

liyuqian commented Sep 3, 2019 via email

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.

5 participants