| Index: gpu/ipc/service/gpu_init.cc
|
| diff --git a/gpu/ipc/service/gpu_init.cc b/gpu/ipc/service/gpu_init.cc
|
| index 5cca62301c9ae59fc74ead00440e1fbd529a9c89..c0c0c5f010d4cb43fb07f7c0142a6eb2b6eac6b3 100644
|
| --- a/gpu/ipc/service/gpu_init.cc
|
| +++ b/gpu/ipc/service/gpu_init.cc
|
| @@ -28,6 +28,7 @@
|
| #endif
|
|
|
| #if defined(OS_WIN)
|
| +#include "gpu/ipc/service/child_window_surface_win.h"
|
| #include "gpu/ipc/service/direct_composition_surface_win.h"
|
| #endif
|
|
|
| @@ -110,6 +111,9 @@ void CollectGraphicsInfo(gpu::GPUInfo& gpu_info) {
|
| DirectCompositionSurfaceWin::AreOverlaysSupported()) {
|
| gpu_info.supports_overlays = true;
|
| }
|
| + if (DirectCompositionSurfaceWin::IsHDRSupported()) {
|
| + gpu_info.hdr = true;
|
| + }
|
| #endif // defined(OS_WIN)
|
| }
|
| #endif // defined(OS_MACOSX)
|
|
|