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

Issue 481433002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() in Blink (Closed)

Created:
6 years, 4 months ago by dshwang
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, blink-reviews-html_chromium.org, philipj_slow, krit, jbroman, eric.carlson_apple.com, abarth-chromium, danakj, feature-media-reviews_chromium.org, dglazkov+blink, Rik, Stephen Chennney, aandrey+blink_chromium.org, pdr., rwlbuis, Zhenyao Mo, bajones
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

gpu: Remove WebGraphicsContext3D::makeContextCurrent() in Blink makeContextCurrent() has two roles; 1. Initialize. 2. Makes the OpenGL context current on the current thread. #2 is the legacy of WebKit and chromium GPU architecture doesn't require it. So all #2 usages are removed. BUG=404121 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181032

Patch Set 1 #

Total comments: 1

Patch Set 2 : Design it as first land #

Total comments: 1

Patch Set 3 : fix gpu bot failure #

Total comments: 1

Patch Set 4 : rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -38 lines) Patch
M Source/core/html/HTMLVideoElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M Source/platform/graphics/ImageBuffer.cpp View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 9 chunks +2 lines, -21 lines 0 comments Download
M Source/platform/graphics/gpu/Extensions3DUtil.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/platform/graphics/test/MockWebGraphicsContext3D.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M public/platform/WebGraphicsContext3D.h View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
dshwang
Blink side of https://codereview.chromium.org/470973002/
6 years, 4 months ago (2014-08-15 14:47:27 UTC) #1
piman
LGTM if it works with skia.
6 years, 4 months ago (2014-08-15 18:10:46 UTC) #2
jamesr
Where is the initial bind happening?
6 years, 4 months ago (2014-08-15 23:38:28 UTC) #3
Ken Russell (switch to Gerrit)
I second James's question. Also, please send this to the try servers so its correctness ...
6 years, 4 months ago (2014-08-15 23:42:09 UTC) #4
jamesr
If you want to say that the initial bind to create happens on the chromium ...
6 years, 4 months ago (2014-08-15 23:57:06 UTC) #5
dshwang
I've made this CL depending on crrev.com/470973002, which makes 3d context for webgl initialized when ...
6 years, 4 months ago (2014-08-16 15:21:28 UTC) #6
dshwang
Patchset #3 (id:40001) has been deleted
6 years, 3 months ago (2014-08-26 18:18:36 UTC) #7
dshwang
Hi, could you review again? https://codereview.chromium.org/481433002/diff/60001/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/481433002/diff/60001/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode5508 Source/core/html/canvas/WebGLRenderingContextBase.cpp:5508: if (context && context->makeContextCurrent()) ...
6 years, 3 months ago (2014-08-26 18:21:47 UTC) #8
Ken Russell (switch to Gerrit)
LGTM The plan to land first this and later crrev.com/470973002 sounds fine. The fact that ...
6 years, 3 months ago (2014-08-26 21:52:11 UTC) #9
dshwang
On 2014/08/26 21:52:11, Ken Russell wrote: > LGTM > > The plan to land first ...
6 years, 3 months ago (2014-08-27 09:53:42 UTC) #10
jamesr
lgtm
6 years, 3 months ago (2014-08-27 18:20:57 UTC) #11
dshwang
The CQ bit was checked by dongseong.hwang@intel.com
6 years, 3 months ago (2014-08-27 22:04:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/481433002/60001
6 years, 3 months ago (2014-08-27 22:04:53 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 3 months ago (2014-08-27 22:09:55 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 22:11:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/39657) mac_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_triggered_tests/builds/39698)
6 years, 3 months ago (2014-08-27 22:11:09 UTC) #16
Ken Russell (switch to Gerrit)
On 2014/08/27 22:11:09, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-08-27 22:27:12 UTC) #17
dshwang
On 2014/08/27 22:27:12, Ken Russell wrote: > On 2014/08/27 22:11:09, I haz the power (commit-bot) ...
6 years, 3 months ago (2014-08-27 22:32:37 UTC) #18
dshwang
On 2014/08/27 22:32:37, dshwang wrote: > On 2014/08/27 22:27:12, Ken Russell wrote: > > On ...
6 years, 3 months ago (2014-08-28 12:34:57 UTC) #19
dshwang
The CQ bit was checked by dongseong.hwang@intel.com
6 years, 3 months ago (2014-08-28 12:35:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/481433002/80001
6 years, 3 months ago (2014-08-28 12:36:05 UTC) #21
commit-bot: I haz the power
6 years, 3 months ago (2014-08-28 12:52:04 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as 181032

Powered by Google App Engine
This is Rietveld 408576698