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

Issue 1790753002: Expose GLES2Interface to blink, and delete isContextLost() from WGC3D. (Closed)

Created:
4 years, 9 months ago by danakj
Modified:
4 years, 9 months ago
CC:
ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jam, jbauman+watch_chromium.org, jbroman, kalyank, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, piman, rwlbuis, Stephen Chennney, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose GLES2Interface to blink, and delete isContextLost() from WGC3D. This deletes the isContextLost() method from WebGraphicsContext3D, as an example, and replaces calls to that in blink by called to GetGraphicsResetStatusKHR() on the GLES2Interface directly. R=esprehn@chromium.org, kbr@chromium.org, zmo@chromium.org BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/cdf8787552cc045c829fb7c6a43973d2452b8f4c Cr-Commit-Position: refs/heads/master@{#381392}

Patch Set 1 #

Total comments: 1

Patch Set 2 : wgc3d: add modules/webgl/DEPS #

Patch Set 3 : wgc3d: add platform build deps #

Total comments: 4

Patch Set 4 : wgc3d: tests-and-name #

Patch Set 5 : wgc3d: more-build-deps-for-tests #

Patch Set 6 : wgc3d: order #

Patch Set 7 : wgc3d: blink_platform_tests #

Patch Set 8 : wgc3d: deps-for-tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -104 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/webgraphicscontext3d_provider_impl.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/webgraphicscontext3d_provider_impl.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 2 chunks +4 lines, -4 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc View 2 chunks +4 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/modules/webgl/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 3 5 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp View 1 2 3 30 chunks +61 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/gpu/DEPS View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 3 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 8 chunks +9 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 2 3 4 5 6 12 chunks +33 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h View 3 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.cpp View 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/test/DEPS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/test/MockGLES2Interface.h View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/web_tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (11 generated)
danakj
4 years, 9 months ago (2016-03-11 23:28:29 UTC) #2
Ken Russell (switch to Gerrit)
How will WebGraphicsContext3DInProcessCommandBufferImpl (the other primary WebGraphicsContext3D subclass, after WebGraphicsContext3DCommandBufferImpl) be handled after WebGraphicsContext3D is ...
4 years, 9 months ago (2016-03-14 20:17:42 UTC) #3
danakj
On Mon, Mar 14, 2016 at 1:17 PM, <kbr@chromium.org> wrote: > How will WebGraphicsContext3DInProcessCommandBufferImpl (the ...
4 years, 9 months ago (2016-03-14 21:05:23 UTC) #4
danakj
On Mon, Mar 14, 2016 at 1:17 PM, <kbr@chromium.org> wrote: > How will WebGraphicsContext3DInProcessCommandBufferImpl (the ...
4 years, 9 months ago (2016-03-14 21:05:24 UTC) #5
Ken Russell (switch to Gerrit)
On 2016/03/14 21:05:24, danakj wrote: > On Mon, Mar 14, 2016 at 1:17 PM, <mailto:kbr@chromium.org> ...
4 years, 9 months ago (2016-03-14 21:09:49 UTC) #6
danakj
On Mon, Mar 14, 2016 at 2:09 PM, <kbr@chromium.org> wrote: > On 2016/03/14 21:05:24, danakj ...
4 years, 9 months ago (2016-03-14 21:12:28 UTC) #7
danakj
On Mon, Mar 14, 2016 at 2:09 PM, <kbr@chromium.org> wrote: > On 2016/03/14 21:05:24, danakj ...
4 years, 9 months ago (2016-03-14 21:17:51 UTC) #8
Ken Russell (switch to Gerrit)
On 2016/03/14 21:17:51, danakj wrote: > On Mon, Mar 14, 2016 at 2:09 PM, <mailto:kbr@chromium.org> ...
4 years, 9 months ago (2016-03-14 23:02:45 UTC) #9
Ken Russell (switch to Gerrit)
On 2016/03/14 23:02:45, Ken Russell wrote: > On 2016/03/14 21:17:51, danakj wrote: > > On ...
4 years, 9 months ago (2016-03-15 00:53:10 UTC) #10
piman
LGTM for content/ and gpu/
4 years, 9 months ago (2016-03-15 01:28:37 UTC) #12
Ken Russell (switch to Gerrit)
Blink Source/modules/webgl/ and Source/platform/graphics/ LGTM, though junov should probably sign off on Canvas2DLayerBridge.cpp. https://codereview.chromium.org/1790753002/diff/1/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h File ...
4 years, 9 months ago (2016-03-15 01:53:09 UTC) #13
Justin Novosad
On 2016/03/15 01:53:09, Ken Russell wrote: > Blink Source/modules/webgl/ and Source/platform/graphics/ LGTM, though junov > ...
4 years, 9 months ago (2016-03-15 15:35:49 UTC) #14
danakj
esprehn can you review public/ ?
4 years, 9 months ago (2016-03-15 19:42:49 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1790753002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1790753002/1
4 years, 9 months ago (2016-03-15 19:43:22 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/36353) cast_shell_linux on ...
4 years, 9 months ago (2016-03-15 19:47:40 UTC) #19
chrishtr
lgtm
4 years, 9 months ago (2016-03-15 20:41:04 UTC) #21
esprehn
lgtm https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h File third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h (right): https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h#newcode54 third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h:54: virtual gpu::gles2::GLES2Interface* getGLInterface() = 0; this could just ...
4 years, 9 months ago (2016-03-15 20:45:18 UTC) #22
danakj
https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h File third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h (right): https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h#newcode54 third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h:54: virtual gpu::gles2::GLES2Interface* getGLInterface() = 0; On 2016/03/15 20:45:17, esprehn ...
4 years, 9 months ago (2016-03-15 20:47:12 UTC) #23
danakj
https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h File third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h (right): https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h#newcode54 third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h:54: virtual gpu::gles2::GLES2Interface* getGLInterface() = 0; On 2016/03/15 20:45:17, esprehn ...
4 years, 9 months ago (2016-03-15 20:54:29 UTC) #24
esprehn
On 2016/03/15 at 20:54:29, danakj wrote: > https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h > File third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h (right): > > https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h#newcode54 ...
4 years, 9 months ago (2016-03-15 21:00:17 UTC) #25
danakj
On Tue, Mar 15, 2016 at 2:00 PM, <esprehn@chromium.org> wrote: > On 2016/03/15 at 20:54:29, ...
4 years, 9 months ago (2016-03-15 21:08:03 UTC) #26
danakj
On Tue, Mar 15, 2016 at 2:00 PM, <esprehn@chromium.org> wrote: > On 2016/03/15 at 20:54:29, ...
4 years, 9 months ago (2016-03-15 21:09:06 UTC) #27
danakj
I had to update the canvas tests and add a MockGLES2Interface. junov PTAL! https://codereview.chromium.org/1790753002/diff/40001/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h File ...
4 years, 9 months ago (2016-03-15 21:22:06 UTC) #28
danakj
kbr@ i also had to update the DrawingBuffer tests, PTAL
4 years, 9 months ago (2016-03-15 22:08:54 UTC) #29
Ken Russell (switch to Gerrit)
Thanks, still LGTM.
4 years, 9 months ago (2016-03-15 22:09:40 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1790753002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1790753002/140001
4 years, 9 months ago (2016-03-15 22:49:32 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1790753002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1790753002/140001
4 years, 9 months ago (2016-03-16 00:36:17 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-16 05:22:49 UTC) #38
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 05:25:02 UTC) #40
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cdf8787552cc045c829fb7c6a43973d2452b8f4c
Cr-Commit-Position: refs/heads/master@{#381392}

Powered by Google App Engine
This is Rietveld 408576698