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

Issue 640293002: [WebGL-blink] Return meaningful information in WebGL context creation error message (Closed)

Created:
6 years, 2 months ago by sivag
Modified:
6 years, 1 month ago
CC:
blink-reviews, aandrey+blink_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, jamesr
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[WebGL] Return meaningful information in WebGL context creation error message. For example, vendor, renderer, driver version, etc.This way a developer can gather data on what platforms the app fails to run. This needs changes on both blink and chromium. Below steps are followed to implement this 1. Add basic headers in blink. 2. Add the necessary apis in chromium. 3. Start using this in WebglRenderingContxt.cpp. This patch represents step-1 in this process. BUG=412440 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184620

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : Use normal function when gl_info not used. #

Patch Set 5 : Add basic definitions to headers. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M public/platform/Platform.h View 1 2 4 1 chunk +1 line, -0 lines 0 comments Download
M public/platform/WebGraphicsContext3D.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
sivag
kbr ,tkent ptal connecting chrome patch https://codereview.chromium.org/645613002/
6 years, 2 months ago (2014-10-10 14:15:11 UTC) #2
piman
https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h#newcode560 public/platform/Platform.h:560: virtual WebGraphicsContext3D* createOffscreenGraphicsContext3D(const WebGraphicsContext3D::Attributes&, WebGraphicsContext3D* shareContext, WebGLInfo& glInfo) { ...
6 years, 2 months ago (2014-10-10 20:23:06 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h#newcode560 public/platform/Platform.h:560: virtual WebGraphicsContext3D* createOffscreenGraphicsContext3D(const WebGraphicsContext3D::Attributes&, WebGraphicsContext3D* shareContext, WebGLInfo& glInfo) { ...
6 years, 2 months ago (2014-10-10 20:47:38 UTC) #5
sivag
PTAL.. https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h#newcode560 public/platform/Platform.h:560: virtual WebGraphicsContext3D* createOffscreenGraphicsContext3D(const WebGraphicsContext3D::Attributes&, WebGraphicsContext3D* shareContext, WebGLInfo& glInfo) ...
6 years, 1 month ago (2014-10-27 13:33:52 UTC) #6
sivag
ptal.. @kbr how to land this patch along with https://codereview.chromium.org/645613002/, i think the headers should ...
6 years, 1 month ago (2014-10-29 17:35:08 UTC) #7
sivag
On 2014/10/10 20:47:38, Ken Russell wrote: > https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h > File public/platform/Platform.h (right): > > https://codereview.chromium.org/640293002/diff/20001/public/platform/Platform.h#newcode560 ...
6 years, 1 month ago (2014-10-29 19:13:44 UTC) #8
Ken Russell (switch to Gerrit)
lgtm
6 years, 1 month ago (2014-10-29 21:32:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640293002/140001
6 years, 1 month ago (2014-10-30 02:25:52 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/18679)
6 years, 1 month ago (2014-10-30 02:32:46 UTC) #13
Ken Russell (switch to Gerrit)
+more public/ OWNERS. OWNERS review please. Thanks.
6 years, 1 month ago (2014-10-30 02:42:48 UTC) #15
dglazkov
On 2014/10/30 02:42:48, Ken Russell wrote: > +more public/ OWNERS. OWNERS review please. Thanks. LGTM, ...
6 years, 1 month ago (2014-10-30 02:55:50 UTC) #16
sivag
On 2014/10/30 02:55:50, dglazkov wrote: > On 2014/10/30 02:42:48, Ken Russell wrote: > > +more ...
6 years, 1 month ago (2014-10-30 06:29:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640293002/140001
6 years, 1 month ago (2014-10-30 06:30:53 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 06:35:26 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as 184620

Powered by Google App Engine
This is Rietveld 408576698