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

Issue 189143010: Cache values for panning and spatialization effects to enhance performance on pannerNode. (Closed)

Created:
6 years, 9 months ago by KhNo
Modified:
6 years, 9 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Cache values for panning and spatialization effects to enhance performance on pannerNode. DopplerShif, azimuth, elevation, distanceGain and ConeGain are calculated always to give panning and spatialization effects. These values are valid before changing parameters in AudioListener and PannerNode. When there is no changing of parameters, cached values will be returned. There were 3 FIXMEs on current implementation. FIXME: we should cache azimuth and elevation (if possible), so we only re-calculate if a change has been made. FIXME: optimize for case when neither source nor listener has changed... FIXME: could optimize by caching coneGain BUG=347456 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168976

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -21 lines) Patch
M Source/modules/webaudio/PannerNode.h View 2 5 chunks +32 lines, -7 lines 0 comments Download
M Source/modules/webaudio/PannerNode.cpp View 1 2 11 chunks +143 lines, -14 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
KhNo
Please review the patch. I fixed nits as well. There is my misunderstanding of style. ...
6 years, 9 months ago (2014-03-10 17:32:42 UTC) #1
Raymond Toy
On 2014/03/10 17:32:42, KhNo wrote: > Please review the patch. I fixed nits as well. ...
6 years, 9 months ago (2014-03-10 17:36:52 UTC) #2
KhNo
On 2014/03/10 17:36:52, Raymond Toy wrote: > On 2014/03/10 17:32:42, KhNo wrote: > > Please ...
6 years, 9 months ago (2014-03-10 17:40:51 UTC) #3
Raymond Toy
On 2014/03/10 17:40:51, KhNo wrote: > On 2014/03/10 17:36:52, Raymond Toy wrote: > > On ...
6 years, 9 months ago (2014-03-10 17:43:58 UTC) #4
Raymond Toy
lgtm. Unfortunate that we lost the original review CL. Please don't do that. https://codereview.chromium.org/189143010/diff/1/Source/modules/webaudio/PannerNode.cpp File ...
6 years, 9 months ago (2014-03-10 20:47:19 UTC) #5
KhNo
On 2014/03/10 20:47:19, Raymond Toy wrote: > lgtm. > > Unfortunate that we lost the ...
6 years, 9 months ago (2014-03-11 05:31:10 UTC) #6
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-11 05:31:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/189143010/40001
6 years, 9 months ago (2014-03-11 05:31:30 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-11 05:31:32 UTC) #9
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-03-11 05:31:32 UTC) #10
KhNo
https://codereview.chromium.org/189143010/diff/1/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/189143010/diff/1/Source/modules/webaudio/PannerNode.cpp#newcode464 Source/modules/webaudio/PannerNode.cpp:464: if (m_cachedPosition != m_position) On 2014/03/10 20:47:20, Raymond Toy ...
6 years, 9 months ago (2014-03-11 05:32:11 UTC) #11
KhNo
On 2014/03/11 05:32:11, KhNo wrote: > https://codereview.chromium.org/189143010/diff/1/Source/modules/webaudio/PannerNode.cpp > File Source/modules/webaudio/PannerNode.cpp (right): > > https://codereview.chromium.org/189143010/diff/1/Source/modules/webaudio/PannerNode.cpp#newcode464 > ...
6 years, 9 months ago (2014-03-11 06:30:16 UTC) #12
Ken Russell (switch to Gerrit)
Raymond's an OWNER in modules/webaudio/ and platform/audio/ now. His review is sufficient.
6 years, 9 months ago (2014-03-11 19:03:21 UTC) #13
Raymond Toy
On 2014/03/11 19:03:21, Ken Russell wrote: > Raymond's an OWNER in modules/webaudio/ and platform/audio/ now. ...
6 years, 9 months ago (2014-03-11 19:32:11 UTC) #14
KhNo
On 2014/03/11 19:32:11, Raymond Toy wrote: > On 2014/03/11 19:03:21, Ken Russell wrote: > > ...
6 years, 9 months ago (2014-03-12 01:05:50 UTC) #15
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-12 01:05:56 UTC) #16
KhNo
6 years, 9 months ago (2014-03-12 01:07:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/189143010/40001
6 years, 9 months ago (2014-03-12 01:15:29 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 01:15:31 UTC) #19
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-03-12 01:15:32 UTC) #20
Ken Russell (switch to Gerrit)
Raymond, could you look into whether you're a full Blink committer? LGTM based on Raymond's ...
6 years, 9 months ago (2014-03-12 01:20:20 UTC) #21
KhNo
On 2014/03/12 01:20:20, Ken Russell wrote: > Raymond, could you look into whether you're a ...
6 years, 9 months ago (2014-03-12 01:25:26 UTC) #22
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-12 01:25:36 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/189143010/40001
6 years, 9 months ago (2014-03-12 01:26:51 UTC) #24
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 05:38:47 UTC) #25
Message was sent while issue was closed.
Change committed as 168976

Powered by Google App Engine
This is Rietveld 408576698