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

Issue 179973004: Share Group plumbing in Blink; Remove WebGL from default share group (Closed)

Created:
6 years, 10 months ago by bajones
Modified:
6 years, 9 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, abarth-chromium, danakj, dglazkov+blink, Rik, adamk+blink_chromium.org, Stephen Chennney, aandrey+blink_chromium.org, pdr., rwlbuis
Visibility:
Public.

Description

Share Group plumbing in Blink; Remove WebGL from default share group BUG=127940 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169525

Patch Set 1 #

Patch Set 2 : Changed nullptr to 0 #

Total comments: 4

Patch Set 3 : Fixed some failing conformance tests on OSX #

Total comments: 4

Patch Set 4 : Refactored syncing based on piman@'s feedback #

Total comments: 6

Patch Set 5 : Addressed Ken's feedback #

Total comments: 8

Patch Set 6 : Fixed issue Ken described. #

Total comments: 1

Patch Set 7 : Addressed jamesr@'s feedback #

Total comments: 1

Patch Set 8 : Style nit and comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -9 lines) Patch
M Source/core/html/canvas/WebGLContextAttributes.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/WebGLRenderingContext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 5 chunks +23 lines, -1 line 0 comments Download
M Source/platform/graphics/ImageBuffer.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/graphics/ImageBuffer.cpp View 1 2 3 4 2 chunks +34 lines, -3 lines 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 4 5 2 chunks +27 lines, -3 lines 0 comments Download
M public/platform/Platform.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
bajones
Something to consider regarding this CL: As was mentioned in the Chrome-side CL for this ...
6 years, 10 months ago (2014-02-25 22:22:40 UTC) #1
bajones
Review Ping
6 years, 9 months ago (2014-03-03 18:29:26 UTC) #2
Zhenyao Mo
LGTM
6 years, 9 months ago (2014-03-03 18:38:18 UTC) #3
Zhenyao Mo
https://codereview.chromium.org/179973004/diff/20001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/179973004/diff/20001/public/platform/Platform.h#newcode558 public/platform/Platform.h:558: virtual WebGraphicsContext3D* createOffscreenGraphicsContext3D(const WebGraphicsContext3D::Attributes&) { return 0; } I ...
6 years, 9 months ago (2014-03-03 18:39:49 UTC) #4
bajones
https://codereview.chromium.org/179973004/diff/20001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/179973004/diff/20001/public/platform/Platform.h#newcode558 public/platform/Platform.h:558: virtual WebGraphicsContext3D* createOffscreenGraphicsContext3D(const WebGraphicsContext3D::Attributes&) { return 0; } On ...
6 years, 9 months ago (2014-03-03 18:48:27 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/179973004/diff/20001/Source/platform/graphics/gpu/DrawingBuffer.cpp File Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/179973004/diff/20001/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode339 Source/platform/graphics/gpu/DrawingBuffer.cpp:339: // Context may be in a different share group. ...
6 years, 9 months ago (2014-03-04 03:55:02 UTC) #6
bajones
Fixed some conformance test failures that were manifesting on OSX due to ImageBuffer::copyToPlatformTexture needing mailbox ...
6 years, 9 months ago (2014-03-08 01:19:37 UTC) #7
piman
https://codereview.chromium.org/179973004/diff/40001/Source/platform/graphics/ImageBuffer.cpp File Source/platform/graphics/ImageBuffer.cpp (right): https://codereview.chromium.org/179973004/diff/40001/Source/platform/graphics/ImageBuffer.cpp#newcode164 Source/platform/graphics/ImageBuffer.cpp:164: sharedContext->waitSyncPoint(mailbox->syncPoint); Same comments as in DrawingBuffer, you want to ...
6 years, 9 months ago (2014-03-11 00:02:24 UTC) #8
bajones
On 2014/03/11 00:02:24, piman wrote: > https://codereview.chromium.org/179973004/diff/40001/Source/platform/graphics/ImageBuffer.cpp > File Source/platform/graphics/ImageBuffer.cpp (right): > > https://codereview.chromium.org/179973004/diff/40001/Source/platform/graphics/ImageBuffer.cpp#newcode164 > ...
6 years, 9 months ago (2014-03-12 19:07:04 UTC) #9
Ken Russell (switch to Gerrit)
Sorry for the long delay reviewing this. It looks good overall. It's simple and easy ...
6 years, 9 months ago (2014-03-12 21:23:38 UTC) #10
bajones
Thanks for the optimization tips! Was able to remove 3 out of 4 gets, the ...
6 years, 9 months ago (2014-03-13 19:06:08 UTC) #11
piman
LGTM for my parts
6 years, 9 months ago (2014-03-13 19:21:08 UTC) #12
Ken Russell (switch to Gerrit)
Thanks, this looks better, but I think there's a bug. https://codereview.chromium.org/179973004/diff/80001/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/179973004/diff/80001/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode3425 ...
6 years, 9 months ago (2014-03-13 19:35:54 UTC) #13
no sievers
Will this break WebMediaPlayerImpl::copyVideoTextureToPlatformTexture() and WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture() since that passes in a texture id which the ...
6 years, 9 months ago (2014-03-14 01:50:29 UTC) #14
dshwang
Thank you for great improvement. I'm curious about perf difference of PerformanceTests/Canvas/* https://codereview.chromium.org/179973004/diff/80001/Source/platform/graphics/ImageBuffer.cpp File Source/platform/graphics/ImageBuffer.cpp ...
6 years, 9 months ago (2014-03-14 21:47:53 UTC) #15
dshwang
On 2014/03/14 01:50:29, sievers wrote: > Will this break WebMediaPlayerImpl::copyVideoTextureToPlatformTexture() and > WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture() since that ...
6 years, 9 months ago (2014-03-14 21:51:22 UTC) #16
no sievers
On 2014/03/14 21:51:22, dshwang wrote: > On 2014/03/14 01:50:29, sievers wrote: > > Will this ...
6 years, 9 months ago (2014-03-14 22:27:41 UTC) #17
bajones
Fixed issue kbr@ mentioned. A test has been added to the WebGL conformance suite to ...
6 years, 9 months ago (2014-03-14 23:19:30 UTC) #18
Ken Russell (switch to Gerrit)
Excellent work. LGTM as long as it passes tests. You might want to be prepared ...
6 years, 9 months ago (2014-03-14 23:51:24 UTC) #19
bajones
jamesr@ or abarth@: public/platform review please?
6 years, 9 months ago (2014-03-15 00:01:49 UTC) #20
jamesr
https://codereview.chromium.org/179973004/diff/120001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/179973004/diff/120001/public/platform/Platform.h#newcode562 public/platform/Platform.h:562: #ifdef ENABLE_EXPLICIT_GL_SHARE_GROUPS i don't see any need for an ...
6 years, 9 months ago (2014-03-15 00:05:32 UTC) #21
bajones
On 2014/03/15 00:05:32, jamesr wrote: > https://codereview.chromium.org/179973004/diff/120001/public/platform/Platform.h > File public/platform/Platform.h (right): > > https://codereview.chromium.org/179973004/diff/120001/public/platform/Platform.h#newcode562 > ...
6 years, 9 months ago (2014-03-17 20:58:17 UTC) #22
jamesr
public/ lgtm https://codereview.chromium.org/179973004/diff/140001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/179973004/diff/140001/public/platform/Platform.h#newcode561 public/platform/Platform.h:561: virtual WebGraphicsContext3D* createOffscreenGraphicsContext3D(const WebGraphicsContext3D::Attributes&, WebGraphicsContext3D* share_context) { ...
6 years, 9 months ago (2014-03-17 21:01:21 UTC) #23
no sievers
On 2014/03/14 23:19:30, bajones wrote: > Fixed issue kbr@ mentioned. A test has been added ...
6 years, 9 months ago (2014-03-19 00:24:44 UTC) #24
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 9 months ago (2014-03-19 05:02:20 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/179973004/160001
6 years, 9 months ago (2014-03-19 05:02:25 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 05:05:07 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-19 05:05:08 UTC) #28
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 9 months ago (2014-03-19 06:18:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/179973004/160001
6 years, 9 months ago (2014-03-19 06:18:44 UTC) #30
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 06:46:06 UTC) #31
Message was sent while issue was closed.
Change committed as 169525

Powered by Google App Engine
This is Rietveld 408576698