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

Issue 1385793002: Only make timer queries' results available when control returns to browser. (Closed)

Created:
5 years, 2 months ago by Ken Russell (switch to Gerrit)
Modified:
5 years, 2 months ago
CC:
chromium-reviews, blink-reviews, asanka, benjhayden+dwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only make timer queries' results available when control returns to browser. This implements the specified semantics for WebGL's EXT_disjoint_timer_query extension. Once this is reviewed, the same semantics will be implemented for the WebGL 2.0 context's query objects. Tested with conformance/extensions/ext-disjoint-timer-query.html from https://github.com/KhronosGroup/WebGL (with the command line argument --enable-webgl-draft-extensions), which has been revised to test this behavior. Test is available at https://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/ext-disjoint-timer-query.html . BUG=345227 Committed: https://crrev.com/e99ac4a274307be415e397b5f3a8370bb6069f1d Cr-Commit-Position: refs/heads/master@{#352506}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Addressed review feedback from dyen. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -12 lines) Patch
M third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp View 1 3 chunks +7 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h View 3 chunks +21 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.cpp View 3 chunks +73 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
5 years, 2 months ago (2015-10-03 05:26:11 UTC) #2
bajones
Very nice update, thanks for doing the research to figure out the observer mechanism! (I'll ...
5 years, 2 months ago (2015-10-04 04:34:39 UTC) #3
David Yen
https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp File third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp (right): https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp#newcode100 third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp:100: m_currentElapsedQuery = query; We also need to reset the ...
5 years, 2 months ago (2015-10-05 17:23:16 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp File third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp (right): https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp#newcode100 third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp:100: m_currentElapsedQuery = query; On 2015/10/05 17:23:16, David Yen wrote: ...
5 years, 2 months ago (2015-10-05 23:17:59 UTC) #5
David Yen
https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp File third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp (right): https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp#newcode100 third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp:100: m_currentElapsedQuery = query; On 2015/10/05 23:17:59, Ken Russell wrote: ...
5 years, 2 months ago (2015-10-05 23:36:30 UTC) #6
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp File third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp (right): https://codereview.chromium.org/1385793002/diff/1/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp#newcode182 third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp:182: if (!query || query->isDeleted() || !query->validate(0, scoped.context())) { On ...
5 years, 2 months ago (2015-10-06 00:08:17 UTC) #7
David Yen
lgtm
5 years, 2 months ago (2015-10-06 00:10:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385793002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385793002/20001
5 years, 2 months ago (2015-10-06 00:17:37 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-06 01:34:54 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 01:35:57 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e99ac4a274307be415e397b5f3a8370bb6069f1d
Cr-Commit-Position: refs/heads/master@{#352506}

Powered by Google App Engine
This is Rietveld 408576698