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

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: Add period at end of string. Created 5 years, 11 months 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
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..5befaf17b698df3e7cb2cf17239aa738751c1aef 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. ");
+ statusMessage.append("VendorId = " + String::number(glInfo.vendorId));
+ statusMessage.append(", DriverId = " + String::number(glInfo.deviceId));
if (!glInfo.vendorInfo.isEmpty()) {
statusMessage.append(" VendorInfo = ");
Ken Russell (switch to Gerrit) 2015/01/15 19:30:39 Please add a leading comma here to keep the format
sivag 2015/01/29 05:49:36 Done.
statusMessage.append(glInfo.vendorInfo);

Powered by Google App Engine
This is Rietveld 408576698