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

Issue 894143002: Adding Blink bindings for WebGL 2 (Closed)

Created:
5 years, 10 months ago by bajones
Modified:
5 years, 10 months ago
CC:
aandrey+blink_chromium.org, arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-html_chromium.org, Rik, Inactive, danakj, dglazkov+blink, Dominik Röttsches, dshwang, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Adding Blink bindings for WebGL 2 Some entry points are still unimplemented. Must be enabled with --enable-unsafe-es3-apis BUG=295792 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189868

Patch Set 1 #

Patch Set 2 : Updating objects to use the correct Oilpan transition types. #

Total comments: 17

Patch Set 3 : Addressed @kbr's feedback #

Total comments: 8

Patch Set 4 : Addressed feedback from dongseong.hwang@ and jochen@ #

Patch Set 5 : TODO => FIXME, as per haraken@'s request #

Patch Set 6 : Fixing Windows and Linux compile bugs #

Patch Set 7 : Fix for OSX compile issues #

Patch Set 8 : Rebase #

Patch Set 9 : Testing potential Mac fixes, compile problems don't occur on my machine. #

Patch Set 10 : Ugh. Rebase again. #

Patch Set 11 : Removed accidentally added scratch file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2390 lines, -103 lines) Patch
M Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 7 chunks +20 lines, -0 lines 0 comments Download
M Source/core/html/HTMLCanvasElement.cpp View 1 2 3 4 5 6 7 9 3 chunks +19 lines, -3 lines 0 comments Download
A Source/core/html/canvas/WebGL2RenderingContext.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGL2RenderingContext.cpp View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGL2RenderingContext.idl View 1 chunk +12 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGL2RenderingContextBase.h View 1 2 1 chunk +176 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGL2RenderingContextBase.cpp View 1 2 3 4 5 6 7 1 chunk +1157 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGL2RenderingContextBase.idl View 1 2 3 4 1 chunk +447 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLFenceSync.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLFenceSync.cpp View 1 1 chunk +28 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLQuery.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLQuery.cpp View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A + Source/core/html/canvas/WebGLQuery.idl View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContext.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/canvas/WebGLRenderingContext.cpp View 1 2 3 4 5 9 2 chunks +2 lines, -56 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 2 3 4 5 9 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 3 16 chunks +83 lines, -20 lines 0 comments Download
A Source/core/html/canvas/WebGLSampler.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLSampler.cpp View 1 1 chunk +34 lines, -0 lines 0 comments Download
A + Source/core/html/canvas/WebGLSampler.idl View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M Source/core/html/canvas/WebGLSharedObject.h View 1 chunk +4 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLSync.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLSync.cpp View 1 chunk +29 lines, -0 lines 0 comments Download
A + Source/core/html/canvas/WebGLSync.idl View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
A Source/core/html/canvas/WebGLTransformFeedback.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLTransformFeedback.cpp View 1 1 chunk +34 lines, -0 lines 0 comments Download
A + Source/core/html/canvas/WebGLTransformFeedback.idl View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 9 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/GraphicsTypes3D.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M Source/web/WebRuntimeFeatures.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebRuntimeFeatures.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (18 generated)
bajones
Here's the latest version of the WebGL2 bindings in all it's incomplete glory. Not concerned ...
5 years, 10 months ago (2015-02-02 19:10:54 UTC) #2
Ken Russell (switch to Gerrit)
This looks good overall. A few relatively minor issues. Please feel free to get others ...
5 years, 10 months ago (2015-02-03 01:23:25 UTC) #3
bajones
jochen@ or mkwst@: Could you review the minor changes to: bindings/ platform/ WebRuntimeFeatures.h/cpp @kbr: Thanks ...
5 years, 10 months ago (2015-02-03 21:46:57 UTC) #5
Ken Russell (switch to Gerrit)
Great. Nice cleanup of the WebGraphicsContext3D creation. LGTM https://codereview.chromium.org/894143002/diff/40001/Source/core/html/canvas/WebGL2RenderingContextBase.idl File Source/core/html/canvas/WebGL2RenderingContextBase.idl (right): https://codereview.chromium.org/894143002/diff/40001/Source/core/html/canvas/WebGL2RenderingContextBase.idl#newcode312 Source/core/html/canvas/WebGL2RenderingContextBase.idl:312: // ...
5 years, 10 months ago (2015-02-03 21:58:23 UTC) #6
haraken
On 2015/02/03 21:58:23, Ken Russell wrote: > Great. Nice cleanup of the WebGraphicsContext3D creation. LGTM ...
5 years, 10 months ago (2015-02-04 04:24:17 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/894143002/diff/40001/Source/platform/RuntimeEnabledFeatures.in File Source/platform/RuntimeEnabledFeatures.in (right): https://codereview.chromium.org/894143002/diff/40001/Source/platform/RuntimeEnabledFeatures.in#newcode146 Source/platform/RuntimeEnabledFeatures.in:146: UnsafeES3APIs status=experimental is this a going to be shipped ...
5 years, 10 months ago (2015-02-04 12:54:09 UTC) #9
dshwang
lgtm. looks great! with small nits. https://codereview.chromium.org/894143002/diff/40001/Source/core/html/canvas/WebGLFenceSync.h File Source/core/html/canvas/WebGLFenceSync.h (right): https://codereview.chromium.org/894143002/diff/40001/Source/core/html/canvas/WebGLFenceSync.h#newcode17 Source/core/html/canvas/WebGLFenceSync.h:17: virtual ~WebGLFenceSync(); after ...
5 years, 10 months ago (2015-02-04 14:05:22 UTC) #11
bajones
On 2015/02/04 at 12:54:09, jochen wrote: > https://codereview.chromium.org/894143002/diff/40001/Source/platform/RuntimeEnabledFeatures.in > File Source/platform/RuntimeEnabledFeatures.in (right): > > https://codereview.chromium.org/894143002/diff/40001/Source/platform/RuntimeEnabledFeatures.in#newcode146 ...
5 years, 10 months ago (2015-02-04 18:36:06 UTC) #12
bajones
CL updated to account for the feedback thus far. Thanks!
5 years, 10 months ago (2015-02-04 20:05:00 UTC) #14
Ken Russell (switch to Gerrit)
Still LGTM
5 years, 10 months ago (2015-02-04 22:36:52 UTC) #15
bajones
Only missing a review on public/web/WebRuntimeFeatures.h at this point. Any owners willing to give it ...
5 years, 10 months ago (2015-02-05 18:46:14 UTC) #17
dglazkov
Do we need Intent to implement?
5 years, 10 months ago (2015-02-05 22:01:15 UTC) #19
Ken Russell (switch to Gerrit)
On 2015/02/05 22:01:15, dglazkov wrote: > Do we need Intent to implement? This is an ...
5 years, 10 months ago (2015-02-05 22:12:40 UTC) #20
dglazkov
On 2015/02/05 at 22:12:40, kbr wrote: > On 2015/02/05 22:01:15, dglazkov wrote: > > Do ...
5 years, 10 months ago (2015-02-05 22:52:03 UTC) #21
bajones
On 2015/02/05 at 22:52:03, dglazkov wrote: > On 2015/02/05 at 22:12:40, kbr wrote: > > ...
5 years, 10 months ago (2015-02-06 00:20:46 UTC) #22
dglazkov
lgtm
5 years, 10 months ago (2015-02-06 02:04:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894143002/80001
5 years, 10 months ago (2015-02-06 20:47:16 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/34264)
5 years, 10 months ago (2015-02-06 20:59:41 UTC) #27
Ken Russell (switch to Gerrit)
On 2015/02/06 20:59:41, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-06 21:06:39 UTC) #28
yunchao
https://codereview.chromium.org/894143002/diff/40001/Source/core/html/canvas/WebGL2RenderingContext.idl File Source/core/html/canvas/WebGL2RenderingContext.idl (right): https://codereview.chromium.org/894143002/diff/40001/Source/core/html/canvas/WebGL2RenderingContext.idl#newcode11 Source/core/html/canvas/WebGL2RenderingContext.idl:11: WebGL2RenderingContext implements WebGLRenderingContextBase; WebGL2RenderingContext implements/inherts WebGL2RenderingContextBase, and WebGL2RenderingContextBase implements/inherits ...
5 years, 10 months ago (2015-02-09 08:19:46 UTC) #31
jochen (gone - plz use gerrit)
lgtm
5 years, 10 months ago (2015-02-09 14:22:04 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894143002/120001
5 years, 10 months ago (2015-02-09 19:06:59 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/34506)
5 years, 10 months ago (2015-02-09 19:10:19 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894143002/130033
5 years, 10 months ago (2015-02-09 21:18:50 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/34524)
5 years, 10 months ago (2015-02-09 21:28:39 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894143002/190001
5 years, 10 months ago (2015-02-10 03:59:21 UTC) #43
commit-bot: I haz the power
Committed patchset #11 (id:190001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189868
5 years, 10 months ago (2015-02-10 05:18:20 UTC) #44
sof
Would have been good to have pinged oilpan-reviews about this one; not entirely ready for ...
5 years, 10 months ago (2015-02-10 06:26:33 UTC) #46
haraken
On 2015/02/10 06:26:33, sof wrote: > Would have been good to have pinged oilpan-reviews about ...
5 years, 10 months ago (2015-02-10 06:32:08 UTC) #47
sof
On 2015/02/10 06:32:08, haraken wrote: > On 2015/02/10 06:26:33, sof wrote: > > Would have ...
5 years, 10 months ago (2015-02-10 07:51:33 UTC) #48
bajones
5 years, 10 months ago (2015-02-10 16:02:28 UTC) #49
Message was sent while issue was closed.
On 2015/02/10 at 06:32:08, haraken wrote:
> On 2015/02/10 06:26:33, sof wrote:
> > Would have been good to have pinged oilpan-reviews about this one; not
entirely
> > ready for Oilpan.
> 
> Yeah, it looks like this broke oilpan builds in a lot of places. I'm not happy
about reverting a CL for oilpan builds, but would it be ok to revert the CL?

Thanks to sigbjornf@ for posting a fix, but please don't hesitate to revert if
my patches break the builds in any way, no matter how obscure! No offense will
be taken. :) That said it's all too easy to forget about potential Oilpan issues
when in the middle of a larger code review. http://crbug.com/387516 would have
been a nice safety to have in place.

I apologize for neglecting to ask for an oilpan review initially. Thanks for the
reminder!

Powered by Google App Engine
This is Rietveld 408576698