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

Issue 51323003: Expose WEBGL_debug_renderer_info through a chromium finch experiment. (Closed)

Created:
7 years, 1 month ago by Zhenyao Mo
Modified:
7 years, 1 month ago
CC:
blink-reviews, jamesr, Nate Chapin, dglazkov+blink, Rik, adamk+blink_chromium.org, aandrey+blink_chromium.org, gavinp+loader_chromium.org
Visibility:
Public.

Description

Expose WEBGL_debug_renderer_info through a chromium finch experiment. This is the blink side part: use a FrameLoaderClient query to decide whether to expose this extension or not. The decidion making will be in the chromium side. BUG=309831 TEST=no behavioral change until chromium side lands Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161008

Patch Set 1 #

Patch Set 2 : fix typo in comments #

Total comments: 4

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Use WebPermissionClient #

Total comments: 2

Patch Set 5 : fix member init order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M Source/core/html/canvas/WebGLRenderingContext.h View 1 2 3 4 5 chunks +13 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContext.cpp View 4 chunks +13 lines, -1 line 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M public/web/WebPermissionClient.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Zhenyao Mo
Ken, James, could you please review this? Due to the fact that we want to ...
7 years, 1 month ago (2013-10-29 22:22:55 UTC) #1
jamesr
Hm, does this mean we'll expose a new WebGL extension object in the registry, etc? ...
7 years, 1 month ago (2013-10-29 22:38:58 UTC) #2
Ken Russell (switch to Gerrit)
On 2013/10/29 22:38:58, jamesr wrote: > Hm, does this mean we'll expose a new WebGL ...
7 years, 1 month ago (2013-10-29 22:45:35 UTC) #3
Zhenyao Mo
On 2013/10/29 22:38:58, jamesr wrote: > Hm, does this mean we'll expose a new WebGL ...
7 years, 1 month ago (2013-10-29 22:45:51 UTC) #4
Zhenyao Mo
This extension is already there, only before we only expose it to privileged code in ...
7 years, 1 month ago (2013-10-29 22:46:48 UTC) #5
Zhenyao Mo
chromium side CL: https://codereview.chromium.org/48113021/
7 years, 1 month ago (2013-10-29 22:47:00 UTC) #6
Ken Russell (switch to Gerrit)
LGTM overall. Minor comments. https://codereview.chromium.org/51323003/diff/40001/Source/core/html/canvas/WebGLRenderingContext.cpp File Source/core/html/canvas/WebGLRenderingContext.cpp (right): https://codereview.chromium.org/51323003/diff/40001/Source/core/html/canvas/WebGLRenderingContext.cpp#newcode627 Source/core/html/canvas/WebGLRenderingContext.cpp:627: registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDebugRendererInfoExtension); Would it work ...
7 years, 1 month ago (2013-10-29 23:00:17 UTC) #7
Zhenyao Mo
https://codereview.chromium.org/51323003/diff/40001/Source/core/html/canvas/WebGLRenderingContext.cpp File Source/core/html/canvas/WebGLRenderingContext.cpp (right): https://codereview.chromium.org/51323003/diff/40001/Source/core/html/canvas/WebGLRenderingContext.cpp#newcode627 Source/core/html/canvas/WebGLRenderingContext.cpp:627: registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDebugRendererInfoExtension); On 2013/10/29 23:00:17, Ken Russell wrote: > ...
7 years, 1 month ago (2013-10-29 23:05:52 UTC) #8
jamesr
I'm not familiar enough with WebFrameClient to know if this is the right plumbing. Maybe ...
7 years, 1 month ago (2013-10-29 23:09:32 UTC) #9
Zhenyao Mo
Darin or Adam: could you take a look? Just FYI: this follows a preexisting example ...
7 years, 1 month ago (2013-10-29 23:36:06 UTC) #10
abarth-chromium
https://codereview.chromium.org/51323003/diff/130001/public/web/WebFrameClient.h File public/web/WebFrameClient.h (right): https://codereview.chromium.org/51323003/diff/130001/public/web/WebFrameClient.h#newcode375 public/web/WebFrameClient.h:375: virtual bool allowWebGLDebugRendererInfo(WebFrame*) { return false; } I don't ...
7 years, 1 month ago (2013-10-30 06:36:16 UTC) #11
abarth-chromium
I believe the right place is WebPermissionClient. Take a look at how allowMutationEvents is wired ...
7 years, 1 month ago (2013-10-30 06:39:23 UTC) #12
Alexei Svitkine (slow)
You still need a FieldTrialList::FindFullName() call from somewhere to detect the trial group. But since ...
7 years, 1 month ago (2013-10-30 18:07:47 UTC) #13
Alexei Svitkine (slow)
On 2013/10/30 18:07:47, Alexei Svitkine wrote: > You still need a FieldTrialList::FindFullName() call from somewhere ...
7 years, 1 month ago (2013-10-30 18:08:20 UTC) #14
Zhenyao Mo
Adam: revised. please take another look.
7 years, 1 month ago (2013-10-30 20:03:46 UTC) #15
Ken Russell (switch to Gerrit)
LGTM if the new structure works.
7 years, 1 month ago (2013-10-30 20:07:08 UTC) #16
Zhenyao Mo
On 2013/10/30 20:07:08, Ken Russell wrote: > LGTM if the new structure works. It works. ...
7 years, 1 month ago (2013-10-30 20:07:52 UTC) #17
abarth-chromium
Why not route this through ContextFeatures like all the rest of the context-enabled features? We ...
7 years, 1 month ago (2013-10-30 21:41:56 UTC) #18
Zhenyao Mo
Looking ContextFeatures mechanisms, let's avoid going down that path for now. This is very temporary ...
7 years, 1 month ago (2013-10-30 21:57:10 UTC) #19
abarth-chromium
On 2013/10/30 21:57:10, Zhenyao Mo wrote: > I am confused. There are multiple examples using ...
7 years, 1 month ago (2013-10-30 22:00:09 UTC) #20
Zhenyao Mo
On 2013/10/30 22:00:09, abarth wrote: > On 2013/10/30 21:57:10, Zhenyao Mo wrote: > > I ...
7 years, 1 month ago (2013-10-30 22:03:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zmo@chromium.org/51323003/250001
7 years, 1 month ago (2013-10-30 22:05:41 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-10-30 23:10:53 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zmo@chromium.org/51323003/470001
7 years, 1 month ago (2013-10-30 23:20:18 UTC) #24
commit-bot: I haz the power
7 years, 1 month ago (2013-10-31 02:27:49 UTC) #25
Message was sent while issue was closed.
Change committed as 161008

Powered by Google App Engine
This is Rietveld 408576698