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

Issue 1325453007: Added support for EXTDisjointTimerQuery on the Blink side. (Closed)

Created:
5 years, 3 months ago by David Yen
Modified:
5 years, 3 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Added support for EXTDisjointTimerQuery on the Blink side. R=jochen@chromium.org, kbr@chromium.org BUG=345227 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201806

Patch Set 1 #

Patch Set 2 : Use int64 instead of uint64 for getParameter(GL_TIMESTAMP) #

Patch Set 3 : WebGLTimerQueryEXT() now generates the query id in the constructor #

Patch Set 4 : Switch to use HeapHashMap instead #

Total comments: 2

Patch Set 5 : Marked EXTDisjointTimerQuery as a draft extension, also added TODO for kbr about per frame updates #

Total comments: 8

Patch Set 6 : GL_INVALID_ENUM when timer query not enabled for GetParameter, use context3d for deletion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -4 lines) Patch
M Source/bindings/modules/v8/WebGLAny.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/modules/v8/WebGLAny.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 4 chunks +6 lines, -0 lines 0 comments Download
A Source/modules/webgl/EXTDisjointTimerQuery.h View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A Source/modules/webgl/EXTDisjointTimerQuery.cpp View 1 2 3 4 1 chunk +218 lines, -0 lines 0 comments Download
A Source/modules/webgl/EXTDisjointTimerQuery.idl View 1 chunk +30 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLExtensionName.h View 2 chunks +1 line, -1 line 0 comments Download
M Source/modules/webgl/WebGLRenderingContext.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContext.cpp View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 2 chunks +19 lines, -0 lines 0 comments Download
A Source/modules/webgl/WebGLTimerQueryEXT.h View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A Source/modules/webgl/WebGLTimerQueryEXT.cpp View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A + Source/modules/webgl/WebGLTimerQueryEXT.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M public/platform/WebGraphicsContext3D.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
David Yen
5 years, 3 months ago (2015-09-03 17:21:15 UTC) #1
Ken Russell (switch to Gerrit)
5 years, 3 months ago (2015-09-03 17:51:09 UTC) #4
dglazkov
On 2015/09/03 at 17:51:09, kbr wrote: > Intent to implement? :)
5 years, 3 months ago (2015-09-03 20:43:47 UTC) #5
Ken Russell (switch to Gerrit)
On 2015/09/03 20:43:47, dglazkov wrote: > On 2015/09/03 at 17:51:09, kbr wrote: > > > ...
5 years, 3 months ago (2015-09-03 21:01:00 UTC) #6
dglazkov
On 2015/09/03 at 21:01:00, kbr wrote: > On 2015/09/03 20:43:47, dglazkov wrote: > > On ...
5 years, 3 months ago (2015-09-03 21:02:22 UTC) #7
bajones
modules/webgl LGTM modulo one critical change. Please get haraken@ or another member of the Oilpan ...
5 years, 3 months ago (2015-09-03 22:00:02 UTC) #9
David Yen
Will wait for LGTM from kbr@ over the implementation on EXTDisjointTimerQuery based on the spec, ...
5 years, 3 months ago (2015-09-03 22:39:57 UTC) #10
haraken
https://codereview.chromium.org/1325453007/diff/80001/Source/modules/webgl/WebGLTimerQueryEXT.cpp File Source/modules/webgl/WebGLTimerQueryEXT.cpp (right): https://codereview.chromium.org/1325453007/diff/80001/Source/modules/webgl/WebGLTimerQueryEXT.cpp#newcode34 Source/modules/webgl/WebGLTimerQueryEXT.cpp:34: context()->webContext()->deleteQueryEXT(m_queryId); This looks unsafe. deleteObjectImpl() is called in a ...
5 years, 3 months ago (2015-09-03 23:32:58 UTC) #11
Ken Russell (switch to Gerrit)
Excellent work pushing this through. LGTM overall. Couple of minor issues and a comment on ...
5 years, 3 months ago (2015-09-04 01:17:09 UTC) #12
haraken
LGTM https://codereview.chromium.org/1325453007/diff/80001/Source/modules/webgl/WebGLTimerQueryEXT.cpp File Source/modules/webgl/WebGLTimerQueryEXT.cpp (right): https://codereview.chromium.org/1325453007/diff/80001/Source/modules/webgl/WebGLTimerQueryEXT.cpp#newcode34 Source/modules/webgl/WebGLTimerQueryEXT.cpp:34: context()->webContext()->deleteQueryEXT(m_queryId); On 2015/09/04 01:17:09, Ken Russell wrote: > ...
5 years, 3 months ago (2015-09-04 01:30:13 UTC) #13
chrishtr
lgtm
5 years, 3 months ago (2015-09-04 15:38:01 UTC) #14
David Yen
https://codereview.chromium.org/1325453007/diff/80001/Source/modules/webgl/WebGLRenderingContextBase.cpp File Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1325453007/diff/80001/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode2872 Source/modules/webgl/WebGLRenderingContextBase.cpp:2872: return ScriptValue::createNull(scriptState); On 2015/09/04 01:17:09, Ken Russell wrote: > ...
5 years, 3 months ago (2015-09-04 16:04:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325453007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325453007/100001
5 years, 3 months ago (2015-09-04 16:08:18 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-04 17:23:27 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201806

Powered by Google App Engine
This is Rietveld 408576698