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

Unified Diff: gpu/config/gpu_info.cc

Issue 435383002: adds WARP support to Chromium, for Metro mode only, on Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: first round of tryfixes Created 6 years, 4 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: gpu/config/gpu_info.cc
diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc
index fd3d8a3fe573f7b5198bab5ddd884d1581c5d5a1..81f72a7262cda770622ce5024c7ec5fae9d32537 100644
--- a/gpu/config/gpu_info.cc
+++ b/gpu/config/gpu_info.cc
@@ -36,6 +36,7 @@ GPUInfo::GPUInfo()
lenovo_dcute(false),
adapter_luid(0),
gl_reset_notification_strategy(0),
+ use_warp(false),
can_lose_context(false),
software_rendering(false),
direct_rendering(true),
@@ -71,6 +72,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
std::string gl_ws_version;
std::string gl_ws_extensions;
uint32 gl_reset_notification_strategy;
+ bool use_warp;
bool can_lose_context;
GpuPerformanceStats performance_stats;
bool software_rendering;
@@ -124,6 +126,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
enumerator->AddInt(
"glResetNotificationStrategy",
static_cast<int>(gl_reset_notification_strategy));
+ enumerator->AddBool("use_warp", use_warp);
enumerator->AddBool("can_lose_context", can_lose_context);
// TODO(kbr): add performance_stats.
enumerator->AddBool("softwareRendering", software_rendering);

Powered by Google App Engine
This is Rietveld 408576698