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

Unified Diff: content/gpu/gpu_info_collector.h

Issue 14944010: Make it possible to run WebGL conformance tests on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retry upload. Created 7 years, 7 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
« no previous file with comments | « content/browser/gpu/webgl_conformance_test.cc ('k') | content/gpu/gpu_info_collector_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector.h
diff --git a/content/gpu/gpu_info_collector.h b/content/gpu/gpu_info_collector.h
index b6b9bad9e67f117878264789084c0d3e75abf076..7977104216d5b01864fd04f2f152eebfeff46f93 100644
--- a/content/gpu/gpu_info_collector.h
+++ b/content/gpu/gpu_info_collector.h
@@ -12,8 +12,14 @@
namespace gpu_info_collector {
+enum GpuIDResult {
+ kGpuIDFailure,
+ kGpuIDSuccess,
+ kGpuIDNotSupported
+};
+
// Collect GPU vendor_id and device ID.
-CONTENT_EXPORT bool CollectGpuID(uint32* vendor_id, uint32* device_id);
+CONTENT_EXPORT GpuIDResult CollectGpuID(uint32* vendor_id, uint32* device_id);
// Collects basic GPU info without creating a GL/DirectX context (and without
// the danger of crashing), including vendor_id and device_id.
« no previous file with comments | « content/browser/gpu/webgl_conformance_test.cc ('k') | content/gpu/gpu_info_collector_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698