| Index: gpu/config/gpu_info.cc
|
| diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc
|
| index c3dc16f1a0f8483a604ff7d748c902bfc9423737..609ecdb86436df137cbb944375691ee2f07fdda4 100644
|
| --- a/gpu/config/gpu_info.cc
|
| +++ b/gpu/config/gpu_info.cc
|
| @@ -36,6 +36,7 @@ GPUInfo::GPUInfo()
|
| gl_reset_notification_strategy(0),
|
| can_lose_context(false),
|
| software_rendering(false),
|
| + direct_rendering(false),
|
| sandboxed(false) {
|
| }
|
|
|
| @@ -70,6 +71,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
|
| bool can_lose_context;
|
| GpuPerformanceStats performance_stats;
|
| bool software_rendering;
|
| + bool direct_rendering;
|
| bool sandboxed;
|
| #if defined(OS_WIN)
|
| DxDiagNode dx_diagnostics;
|
| @@ -121,6 +123,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
|
| enumerator->AddBool("can_lose_context", can_lose_context);
|
| // TODO(kbr): add performance_stats.
|
| enumerator->AddBool("softwareRendering", software_rendering);
|
| + enumerator->AddBool("directRendering", direct_rendering);
|
| enumerator->AddBool("sandboxed", sandboxed);
|
| // TODO(kbr): add dx_diagnostics on Windows.
|
| enumerator->EndAuxAttributes();
|
|
|