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

Issue 1384233003: Improve usefulness of webglcontextcreationerror statusMessage (Closed)

Created:
5 years, 2 months ago by sivag
Modified:
5 years, 2 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve usefulness of webglcontextcreationerror. Renamed blink::WebGLInfo to WebGraphicsContext3DInfo. Added helper functions to process, extract and format GPU information, error messages in blink/chromium. Added new gpu data types like gpu process crash count, sandboxed etc.Changed layout tests to validate gpu info collected on webglcontextcreationerror statusMessage. Append fake device and vendor id when they are 0, at present layout tests skips gpu information loading. BUG=534710 Committed: https://crrev.com/cb671452edad08a56ac2dae720c22e559380f6dc Cr-Commit-Position: refs/heads/master@{#355485}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : Updated tests and refactored code. #

Patch Set 9 : #

Patch Set 10 : Allow GPU data loading for shell. #

Patch Set 11 : Resetnotification strategy should be uint. #

Total comments: 22

Patch Set 12 : Addressed review comments. #

Patch Set 13 : Fix for build issue. #

Patch Set 14 : Build fix in chromium. #

Patch Set 15 : #

Patch Set 16 : #

Total comments: 14

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Patch Set 20 : Rebasing TOT. #

Patch Set 21 : #

Patch Set 22 : #

Total comments: 13

Patch Set 23 : #

Patch Set 24 : #

Total comments: 2

Patch Set 25 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -89 lines) Patch
M components/html_viewer/blink_platform_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +3 lines, -2 lines 0 comments Download
M components/html_viewer/web_graphics_context_3d_command_buffer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +51 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-error-response.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +14 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +28 lines, -39 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 74 (30 generated)
sivag
ptal..
5 years, 2 months ago (2015-10-06 13:33:11 UTC) #2
Ken Russell (switch to Gerrit)
I don't like the change of vendorId and deviceId to strings. Let's please keep them ...
5 years, 2 months ago (2015-10-06 23:33:15 UTC) #3
sivag
ptal.. https://codereview.chromium.org/1384233003/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1384233003/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode555 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:555: if (glInfo.vendorId.isEmpty()) { On 2015/10/06 23:33:15, Ken Russell ...
5 years, 2 months ago (2015-10-12 14:36:59 UTC) #5
Ken Russell (switch to Gerrit)
Thanks for revising this CL, but what state is it in? You're indicating that it ...
5 years, 2 months ago (2015-10-12 23:52:43 UTC) #6
sivag
ptal.. https://codereview.chromium.org/1384233003/diff/120001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/120001/content/renderer/renderer_blink_platform_impl.cc#newcode1020 content/renderer/renderer_blink_platform_impl.cc:1020: "failed"); On 2015/10/12 23:52:42, Ken Russell wrote: > ...
5 years, 2 months ago (2015-10-15 17:16:38 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/200001
5 years, 2 months ago (2015-10-15 21:23:31 UTC) #10
Ken Russell (switch to Gerrit)
Thanks, this generally seems god -- again, what is the status of this? Is there ...
5 years, 2 months ago (2015-10-15 21:30:28 UTC) #12
Ken Russell (switch to Gerrit)
(god -> good.)
5 years, 2 months ago (2015-10-15 21:30:42 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/145320) linux_chromium_rel_ng on ...
5 years, 2 months ago (2015-10-15 22:00:05 UTC) #15
Zhenyao Mo
https://codereview.chromium.org/1384233003/diff/200001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/200001/content/renderer/renderer_blink_platform_impl.cc#newcode1051 content/renderer/renderer_blink_platform_impl.cc:1051: gpu_channel_host.get()); On 2015/10/15 21:30:28, Ken Russell wrote: > I ...
5 years, 2 months ago (2015-10-15 22:30:38 UTC) #16
Ken Russell (switch to Gerrit)
Also, why did http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/127227 fail compilation with this patch?
5 years, 2 months ago (2015-10-15 23:07:03 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/220001
5 years, 2 months ago (2015-10-16 13:53:07 UTC) #19
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/127541)
5 years, 2 months ago (2015-10-16 14:05:02 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/240001
5 years, 2 months ago (2015-10-16 14:07:07 UTC) #23
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/127547)
5 years, 2 months ago (2015-10-16 14:28:47 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/300001
5 years, 2 months ago (2015-10-16 16:47:57 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-16 17:53:35 UTC) #30
sivag
ptal.. @sievers/piman -> content/ @kbr/zmo -> webgl/ @tkent -> third_party/Webkit/ @sky -> components/html_viewer/ https://codereview.chromium.org/1384233003/diff/200001/content/renderer/renderer_blink_platform_impl.cc File ...
5 years, 2 months ago (2015-10-16 18:29:20 UTC) #33
Zhenyao Mo
https://codereview.chromium.org/1384233003/diff/300001/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (left): https://codereview.chromium.org/1384233003/diff/300001/content/shell/app/shell_main_delegate.cc#oldcode161 content/shell/app/shell_main_delegate.cc:161: command_line.AppendSwitch(switches::kSkipGpuDataLoading); Note that removing this may slightly slows down ...
5 years, 2 months ago (2015-10-16 18:46:12 UTC) #34
sky
https://codereview.chromium.org/1384233003/diff/300001/components/html_viewer/blink_platform_impl.cc File components/html_viewer/blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/300001/components/html_viewer/blink_platform_impl.cc#newcode175 components/html_viewer/blink_platform_impl.cc:175: blink::WebGraphicsContext3D::WebGraphicsInfo glInfo; gl_info here and 193. https://codereview.chromium.org/1384233003/diff/300001/components/html_viewer/blink_platform_impl.h File components/html_viewer/blink_platform_impl.h ...
5 years, 2 months ago (2015-10-16 20:28:50 UTC) #35
Ken Russell (switch to Gerrit)
Thanks, this looks fairly good overall but please address sky's review comments. Only one major ...
5 years, 2 months ago (2015-10-16 21:44:13 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/320001
5 years, 2 months ago (2015-10-19 13:35:42 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/360001
5 years, 2 months ago (2015-10-19 13:45:30 UTC) #40
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/82923) ios_rel_device_ninja on ...
5 years, 2 months ago (2015-10-19 13:47:21 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/380001
5 years, 2 months ago (2015-10-19 14:03:22 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/420001
5 years, 2 months ago (2015-10-19 14:19:38 UTC) #46
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-19 16:02:55 UTC) #48
sivag
ptal... https://codereview.chromium.org/1384233003/diff/300001/components/html_viewer/blink_platform_impl.cc File components/html_viewer/blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/300001/components/html_viewer/blink_platform_impl.cc#newcode175 components/html_viewer/blink_platform_impl.cc:175: blink::WebGraphicsContext3D::WebGraphicsInfo glInfo; On 2015/10/16 20:28:50, sky wrote: > ...
5 years, 2 months ago (2015-10-19 16:19:23 UTC) #49
Zhenyao Mo
Mostly looks good with a few nits fixed. https://codereview.chromium.org/1384233003/diff/420001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/420001/content/renderer/renderer_blink_platform_impl.cc#newcode984 content/renderer/renderer_blink_platform_impl.cc:984: return; ...
5 years, 2 months ago (2015-10-19 17:44:48 UTC) #50
Ken Russell (switch to Gerrit)
Mo, thanks for reviewing. Could you take ownership of the review of this CL? Thanks.
5 years, 2 months ago (2015-10-19 18:52:10 UTC) #51
Zhenyao Mo
On 2015/10/19 18:52:10, Ken Russell wrote: > Mo, thanks for reviewing. Could you take ownership ...
5 years, 2 months ago (2015-10-20 00:53:00 UTC) #52
piman
LGTM+nits for content/ but please address other reviewers' comments https://codereview.chromium.org/1384233003/diff/420001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/420001/content/renderer/renderer_blink_platform_impl.cc#newcode979 content/renderer/renderer_blink_platform_impl.cc:979: ...
5 years, 2 months ago (2015-10-20 01:45:04 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/460001
5 years, 2 months ago (2015-10-20 09:03:30 UTC) #55
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-20 10:13:55 UTC) #60
sivag
ptal.. https://codereview.chromium.org/1384233003/diff/420001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/1384233003/diff/420001/content/renderer/renderer_blink_platform_impl.cc#newcode979 content/renderer/renderer_blink_platform_impl.cc:979: static void collect3DContextInformationOnFailure( On 2015/10/20 01:45:04, piman (slow ...
5 years, 2 months ago (2015-10-20 10:14:42 UTC) #61
Zhenyao Mo
LGTM.
5 years, 2 months ago (2015-10-20 17:24:42 UTC) #62
tkent
third_party/WebKit/public/ lgtm https://codereview.chromium.org/1384233003/diff/460001/third_party/WebKit/public/platform/WebGraphicsContext3D.h File third_party/WebKit/public/platform/WebGraphicsContext3D.h (right): https://codereview.chromium.org/1384233003/diff/460001/third_party/WebKit/public/platform/WebGraphicsContext3D.h#newcode119 third_party/WebKit/public/platform/WebGraphicsContext3D.h:119: : vendorId(0) nit: C++11 non-static member initializer ...
5 years, 2 months ago (2015-10-20 23:08:32 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/480001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/480001
5 years, 2 months ago (2015-10-21 06:33:53 UTC) #65
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-21 07:42:10 UTC) #67
sivag
@sky , ptal.. https://codereview.chromium.org/1384233003/diff/460001/third_party/WebKit/public/platform/WebGraphicsContext3D.h File third_party/WebKit/public/platform/WebGraphicsContext3D.h (right): https://codereview.chromium.org/1384233003/diff/460001/third_party/WebKit/public/platform/WebGraphicsContext3D.h#newcode119 third_party/WebKit/public/platform/WebGraphicsContext3D.h:119: : vendorId(0) On 2015/10/20 23:08:32, tkent ...
5 years, 2 months ago (2015-10-21 10:10:17 UTC) #68
sky
LGTM
5 years, 2 months ago (2015-10-21 21:17:11 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384233003/480001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384233003/480001
5 years, 2 months ago (2015-10-22 02:49:48 UTC) #72
commit-bot: I haz the power
Committed patchset #25 (id:480001)
5 years, 2 months ago (2015-10-22 02:54:31 UTC) #73
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 02:55:13 UTC) #74
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/cb671452edad08a56ac2dae720c22e559380f6dc
Cr-Commit-Position: refs/heads/master@{#355485}

Powered by Google App Engine
This is Rietveld 408576698