Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Issue 604483003: Increase device orientation event frequency to 60 Hz. Change constants (Closed)

Created:
6 years, 3 months ago by jdarpinian
Modified:
6 years, 2 months ago
Reviewers:
timvolodine
CC:
chromium-reviews, riju_, jam, timvolodine, darin-cc_chromium.org, Michael van Ouwerkerk, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Increase device orientation event frequency to 60 Hz to match requestAnimationFrame rate on most hardware. Change constants to microseconds for increased precision. BUG=413327 Committed: https://crrev.com/150650db7028bb7d738436f73071bc7127918390 Cr-Commit-Position: refs/heads/master@{#297332}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : sync #

Messages

Total messages: 17 (4 generated)
jdarpinian
With this change, http://vr.chromeexperiments.com works much better. However, it's not perfect: we miss frames often ...
6 years, 3 months ago (2014-09-25 00:55:15 UTC) #2
timvolodine
as an additional supporting argument maybe also add in the description that this frequency would ...
6 years, 2 months ago (2014-09-25 21:30:51 UTC) #3
jdarpinian
https://codereview.chromium.org/604483003/diff/20001/content/browser/device_sensors/inertial_sensor_consts.h File content/browser/device_sensors/inertial_sensor_consts.h (right): https://codereview.chromium.org/604483003/diff/20001/content/browser/device_sensors/inertial_sensor_consts.h#newcode22 content/browser/device_sensors/inertial_sensor_consts.h:22: const int kInertialSensorIntervalMicroseconds = 1000000 / 60; On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 22:36:19 UTC) #4
timvolodine
https://codereview.chromium.org/604483003/diff/40001/content/browser/device_sensors/inertial_sensor_consts.h File content/browser/device_sensors/inertial_sensor_consts.h (right): https://codereview.chromium.org/604483003/diff/40001/content/browser/device_sensors/inertial_sensor_consts.h#newcode27 content/browser/device_sensors/inertial_sensor_consts.h:27: base::Time::kMicrosecondsPerSecond / kInertialSensorSamplingRateHz; nit: maybe insert whiteline here, otherwise ...
6 years, 2 months ago (2014-09-26 13:09:16 UTC) #5
jdarpinian
I had changed the constants to int64 to match time::kMicrosecondsPerSecond, but now that I look ...
6 years, 2 months ago (2014-09-26 23:40:30 UTC) #6
jdarpinian
https://codereview.chromium.org/604483003/diff/40001/content/browser/device_sensors/inertial_sensor_consts.h File content/browser/device_sensors/inertial_sensor_consts.h (right): https://codereview.chromium.org/604483003/diff/40001/content/browser/device_sensors/inertial_sensor_consts.h#newcode27 content/browser/device_sensors/inertial_sensor_consts.h:27: base::Time::kMicrosecondsPerSecond / kInertialSensorSamplingRateHz; On 2014/09/26 13:09:16, timvolodine wrote: > ...
6 years, 2 months ago (2014-09-26 23:40:49 UTC) #7
timvolodine
I see, lgtm with nit. https://codereview.chromium.org/604483003/diff/60001/content/browser/device_sensors/inertial_sensor_consts.h File content/browser/device_sensors/inertial_sensor_consts.h (right): https://codereview.chromium.org/604483003/diff/60001/content/browser/device_sensors/inertial_sensor_consts.h#newcode8 content/browser/device_sensors/inertial_sensor_consts.h:8: #include "base/basictypes.h" is this ...
6 years, 2 months ago (2014-09-29 15:54:45 UTC) #8
jdarpinian
https://codereview.chromium.org/604483003/diff/60001/content/browser/device_sensors/inertial_sensor_consts.h File content/browser/device_sensors/inertial_sensor_consts.h (right): https://codereview.chromium.org/604483003/diff/60001/content/browser/device_sensors/inertial_sensor_consts.h#newcode8 content/browser/device_sensors/inertial_sensor_consts.h:8: #include "base/basictypes.h" On 2014/09/29 15:54:45, timvolodine wrote: > is ...
6 years, 2 months ago (2014-09-29 21:08:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/604483003/80001
6 years, 2 months ago (2014-09-29 21:09:14 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/72684) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/62076) win_gpu ...
6 years, 2 months ago (2014-09-29 21:14:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/604483003/100001
6 years, 2 months ago (2014-09-30 00:59:34 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001) as fcd7bd62a550791705af1dc45d3a7abaf88ebc99
6 years, 2 months ago (2014-09-30 01:36:59 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 01:37:39 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/150650db7028bb7d738436f73071bc7127918390
Cr-Commit-Position: refs/heads/master@{#297332}

Powered by Google App Engine
This is Rietveld 408576698