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

Conversation

@stuartmorgan-g
Copy link
Contributor

Addresses overflow issues with timer multiplication by using std::chrono
instead of QueryPerformanceCounter. The Windows implementatino of
std::chrono uses QPC, so this should have no impact on performance or
clock resolution.

Fixes #32121

Addresses overflow issues with timer multiplication by using std::chrono
instead of QueryPerformanceCounter. The Windows implementatino of
std::chrono uses QPC, so this should have no impact on performance or
clock resolution.

Fixes flutter#32121
@stuartmorgan-g
Copy link
Contributor Author

I'm deliberately separating changing the Windows implementation from unifying the implementations, so that if for some unlikely reason unifying causes issues on iOS or Android, a revert won't regress Windows.

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.

Sounds good about fixing the Windows issue in isolation. Can you also patch the other platforms to use this in a subsequent patch?

@stuartmorgan-g
Copy link
Contributor Author

Yes, will do.

@stuartmorgan-g stuartmorgan-g merged commit 812616a into flutter:master May 9, 2019
@stuartmorgan-g stuartmorgan-g deleted the windows-time-fix branch May 9, 2019 03:22
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 9, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request May 9, 2019
flutter/engine@3ef5007...644db5a

git log 3ef5007..644db5a --no-merges --oneline
644db5a Standardize TimePoint implementaion on std::chrono (flutter/engine#8913)
1c8e31b Make sure Window.dpr still has a setter (flutter/engine#8912)
ad02f3c Roll src/third_party/dart 678f4bb926..a0290f823c (1 commits)
ccfc02a Roll src/third_party/skia dfda5f57bf25..dbded16fadde (1 commits) (flutter/engine#8918)
f901126 Roll src/third_party/skia b9330017c070..dfda5f57bf25 (2 commits) (flutter/engine#8917)
c12b917 Roll src/third_party/dart ef0c812b0d..678f4bb926 (11 commits)
ee45100 Roll src/third_party/skia 15c91422339a..b9330017c070 (11 commits) (flutter/engine#8915)
812616a Fix TimePoint on Windows (flutter/engine#8910)
30885db Roll src/third_party/dart f7bf890ff7..ef0c812b0d (13 commits)
78adbf7 Add web sdk implementation. (flutter/engine#8891)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff ([email protected]), and stop
the roller if necessary.
huqiuser pushed a commit to huqiuser/engine that referenced this pull request Jun 12, 2019
Addresses overflow issues with timer multiplication by using std::chrono
instead of QueryPerformanceCounter. The Windows implementation of
std::chrono uses QPC, so this should have no impact on performance or
clock resolution.

Fixes flutter#32121
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.

3 participants