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

Issue 2870073002: [Sensors] Decouple sensor readings update from rAF (Closed)

Created:
3 years, 7 months ago by Mikhail
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews, haraken, wanming.lin, shalamov, Mikhail, esprehn, Sami, tdresser
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sensors] Decouple sensor readings update from rAF Before this change the implementation was using Document::EnqueueAnimationFrameTask() which caused runs of the whole rendering pipeline at up to 60Hz whether or not the sensor readings have been updated. BUG=715872 Review-Url: https://codereview.chromium.org/2870073002 Cr-Commit-Position: refs/heads/master@{#471726} Committed: https://chromium.googlesource.com/chromium/src/+/d0458b1c5e117db5cb8b63688ef39af43fd4fc97

Patch Set 1 #

Patch Set 2 : [Sensors] Decouple sensor readings update from rAF #

Total comments: 10

Patch Set 3 : Comments from Reilly #

Patch Set 4 : rebased #

Patch Set 5 : Fix creation of TimeDelta #

Patch Set 6 : [Sensors] Decouple sensor readings update from rAF #

Messages

Total messages: 43 (35 generated)
Mikhail
PTAL
3 years, 7 months ago (2017-05-10 09:42:30 UTC) #9
shalamov
lgtm
3 years, 7 months ago (2017-05-10 10:56:21 UTC) #10
Reilly Grant (use Gerrit)
Remove BUG=606766 from the issue description. This resolves a specific issue and that ALS launch ...
3 years, 7 months ago (2017-05-10 14:53:28 UTC) #13
Mikhail
Thanks for your comments! https://codereview.chromium.org/2870073002/diff/20001/third_party/WebKit/Source/modules/sensor/Sensor.cpp File third_party/WebKit/Source/modules/sensor/Sensor.cpp (right): https://codereview.chromium.org/2870073002/diff/20001/third_party/WebKit/Source/modules/sensor/Sensor.cpp#newcode197 third_party/WebKit/Source/modules/sensor/Sensor.cpp:197: ->PostTask(BLINK_FROM_HERE, std::move(sensor_reading_changed)); On 2017/05/10 14:53:28, ...
3 years, 7 months ago (2017-05-11 10:46:20 UTC) #15
Reilly Grant (use Gerrit)
lgtm with comments https://codereview.chromium.org/2870073002/diff/20001/third_party/WebKit/Source/modules/sensor/Sensor.cpp File third_party/WebKit/Source/modules/sensor/Sensor.cpp (right): https://codereview.chromium.org/2870073002/diff/20001/third_party/WebKit/Source/modules/sensor/Sensor.cpp#newcode197 third_party/WebKit/Source/modules/sensor/Sensor.cpp:197: ->PostTask(BLINK_FROM_HERE, std::move(sensor_reading_changed)); On 2017/05/11 10:46:20, Mikhail ...
3 years, 7 months ago (2017-05-11 18:28:12 UTC) #16
Mikhail
https://codereview.chromium.org/2870073002/diff/20001/third_party/WebKit/Source/modules/sensor/Sensor.cpp File third_party/WebKit/Source/modules/sensor/Sensor.cpp (right): https://codereview.chromium.org/2870073002/diff/20001/third_party/WebKit/Source/modules/sensor/Sensor.cpp#newcode197 third_party/WebKit/Source/modules/sensor/Sensor.cpp:197: ->PostTask(BLINK_FROM_HERE, std::move(sensor_reading_changed)); On 2017/05/11 18:28:12, Reilly Grant wrote: > ...
3 years, 7 months ago (2017-05-12 08:42:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2870073002/100001
3 years, 7 months ago (2017-05-15 11:41:00 UTC) #40
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 11:47:06 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d0458b1c5e117db5cb8b63688ef3...

Powered by Google App Engine
This is Rietveld 408576698