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

Issue 1882503002: Remove setErrorMessageCallback from WebGraphicsContext3D. (Closed)

Created:
4 years, 8 months ago by danakj
Modified:
4 years, 8 months ago
CC:
ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chrishtr, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), haraken, jam, jbauman+watch_chromium.org, jbroman, Justin Novosad, kalyank, Ken Russell (switch to Gerrit), kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, piman, rwlbuis, Stephen Chennney, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@errorcallback
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove setErrorMessageCallback from WebGraphicsContext3D. This adds a SetErrorMessageCallback on ContextSupport and we use that from blink now. We move the method on WebGraphicsContext3D to WebGraphicsContext3DProvider, which takes a WebCallback instead of using adaptor classes/pointers. This callback is passed through the ContextProvider directly to the ContextSupport (aka the GLES2Implementation). This was the last thing used on WebGraphicsContext3D in blink so we can delete it next, from blink's perspective at least. R=kbr@chromium.org, esprehn@chromium.org, piman@chromium.org BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/83b35d4f80982666fbccf74651d881130802cb8a Cr-Commit-Position: refs/heads/master@{#386846}

Patch Set 1 #

Patch Set 2 : weberrors: rebase #

Patch Set 3 : weberrors: webfunction #

Patch Set 4 : weberrors: onemore #

Patch Set 5 : weberrors: rebase #

Total comments: 1

Patch Set 6 : weberrors: owned #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -178 lines) Patch
M cc/test/test_context_support.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/test_context_support.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 3 chunks +1 line, -16 lines 0 comments Download
M content/renderer/webgraphicscontext3d_provider_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/webgraphicscontext3d_provider_impl.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 3 chunks +0 lines, -9 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 chunk +1 line, -4 lines 0 comments Download
M gpu/command_buffer/client/context_support.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 6 chunks +19 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
D third_party/WebKit/public/platform/callback/DEPS View 1 2 1 chunk +0 lines, -11 lines 0 comments Download
D third_party/WebKit/public/platform/callback/WebClosure.h View 1 chunk +0 lines, -79 lines 0 comments Download
A + third_party/WebKit/public/platform/functional/DEPS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/public/platform/functional/WebFunction.h View 1 2 3 4 5 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (25 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/1
4 years, 8 months ago (2016-04-12 00:39:14 UTC) #5
danakj
piman: cc/ content/ gpu/ kbr: webgl/ esprehn: public/ (I renamed WebClosure to WebCallback and generalized ...
4 years, 8 months ago (2016-04-12 00:40:01 UTC) #8
danakj
oh, kbr is away. +zmo and bajones, can one of you please have a look ...
4 years, 8 months ago (2016-04-12 00:41:33 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/17426) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-04-12 00:42:35 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/20001
4 years, 8 months ago (2016-04-12 00:45:34 UTC) #14
esprehn
This is kind of confusing since we have WebCallbacks (note the "s" at the end) ...
4 years, 8 months ago (2016-04-12 00:45:43 UTC) #15
danakj
On Mon, Apr 11, 2016 at 5:45 PM, <esprehn@chromium.org> wrote: > This is kind of ...
4 years, 8 months ago (2016-04-12 00:46:37 UTC) #16
danakj
On Mon, Apr 11, 2016 at 5:45 PM, <esprehn@chromium.org> wrote: > This is kind of ...
4 years, 8 months ago (2016-04-12 00:51:49 UTC) #17
danakj
On 2016/04/12 00:45:43, esprehn wrote: > This is kind of confusing since we have WebCallbacks ...
4 years, 8 months ago (2016-04-12 00:58:00 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/40001
4 years, 8 months ago (2016-04-12 00:59:25 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/60001
4 years, 8 months ago (2016-04-12 01:00:59 UTC) #22
piman
lgtm
4 years, 8 months ago (2016-04-12 01:45:13 UTC) #23
esprehn
lgtm
4 years, 8 months ago (2016-04-12 01:59:56 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/210686)
4 years, 8 months ago (2016-04-12 02:30:30 UTC) #26
bajones
webgl/ lgtm
4 years, 8 months ago (2016-04-12 03:57:27 UTC) #27
commit-bot: I haz the power
This CL has an open dependency (Issue 1864723003 Patch 360001). Please resolve the dependency and ...
4 years, 8 months ago (2016-04-12 18:22:52 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/60001
4 years, 8 months ago (2016-04-12 18:57:11 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/167642) linux_chromium_rel_ng on ...
4 years, 8 months ago (2016-04-12 19:02:39 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/80001
4 years, 8 months ago (2016-04-12 20:03:20 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/203796)
4 years, 8 months ago (2016-04-12 21:27:44 UTC) #41
danakj
https://codereview.chromium.org/1882503002/diff/80001/third_party/WebKit/public/platform/functional/WebFunction.h File third_party/WebKit/public/platform/functional/WebFunction.h (right): https://codereview.chromium.org/1882503002/diff/80001/third_party/WebKit/public/platform/functional/WebFunction.h#newcode46 third_party/WebKit/public/platform/functional/WebFunction.h:46: m_callback = base::Bind(&RunAndDelete<R, Args...>, base::Passed(base::WrapUnique(c.leakPtr()))); A problem came up ...
4 years, 8 months ago (2016-04-12 21:42:16 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882503002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882503002/100001
4 years, 8 months ago (2016-04-12 21:42:20 UTC) #45
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-12 23:14:26 UTC) #47
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/83b35d4f80982666fbccf74651d881130802cb8a Cr-Commit-Position: refs/heads/master@{#386846}
4 years, 8 months ago (2016-04-12 23:17:41 UTC) #49
Ken Russell (switch to Gerrit)
4 years, 8 months ago (2016-04-14 04:33:57 UTC) #50
Message was sent while issue was closed.
Very nice and sorry for the late reply. LGTM after the fact.

Powered by Google App Engine
This is Rietveld 408576698