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

Unified Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 826363002: Webgl Info should have vendorid and deviceid of gpu. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/canvas/webgl/webgl-error-response.html ('k') | public/platform/WebGraphicsContext3D.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLRenderingContext.cpp
diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp
index 52f7ae846eca77ec778acd8a596392ebbac0f4e1..390b1495d2afcbb502093eefc70dc336e5c08f56 100644
--- a/Source/core/html/canvas/WebGLRenderingContext.cpp
+++ b/Source/core/html/canvas/WebGLRenderingContext.cpp
@@ -92,7 +92,9 @@ PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML
statusMessage.append("Could not create a WebGL context. ");
statusMessage.append(glInfo.contextInfoCollectionFailure);
} else {
- statusMessage.append("Could not create a WebGL context");
+ statusMessage.append("Could not create a WebGL context ");
philipj_slow 2015/01/15 09:55:00 Maybe a period after context like in the above str
sivag 2015/01/15 14:50:59 Done.
+ statusMessage.append("VendorId = " + String::number(glInfo.vendorId));
+ statusMessage.append(", DriverId = " + String::number(glInfo.deviceId));
if (!glInfo.vendorInfo.isEmpty()) {
statusMessage.append(" VendorInfo = ");
statusMessage.append(glInfo.vendorInfo);
« no previous file with comments | « LayoutTests/fast/canvas/webgl/webgl-error-response.html ('k') | public/platform/WebGraphicsContext3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698