这是indexloc提供的服务,不要输入任何密码
Skip to content

Remove hard coded refresh rate for fps calculation. #4289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

kenzieschmoll
Copy link
Member

We were hard coding 60.0. Now we pull the actual refresh rate from the VM and use it in our frame calculation. Verified that we correctly show 90.0 FPS for a pixel 4.

Before:
Screen Shot 2020-01-16 at 9 38 35 AM

After:
Screen Shot 2020-01-16 at 9 33 14 AM

Fixes #4205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flutter plugin in the Android Studio / IntelliJ is giving the wrong fps number (60) even if the app is running at 90 fps
3 participants