commit | 8f177177ba4eb9300d9f19224cd6f47d809d95ed | [log] [tgz] |
---|---|---|
author | Maggie Chen <[email protected]> | Tue Feb 11 00:02:28 2020 |
committer | Commit Bot <[email protected]> | Tue Feb 11 00:02:28 2020 |
tree | 210affdda0b15c630243dfbadd168bbd7818e4aa | |
parent | 79e5bf881f8b61b349ecc2742300df561a718324 [diff] [blame] |
Update overlay info and DxDiag when the display changes When a monitor is unplugged or plugged in, update the overlay info and DxDiag. The overlay is now separated from GPU info so it can be updated alone. Bug: 1042989 Change-Id: I699a67a3275315d83017a1069b07f28cf85924b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020611 Commit-Queue: Maggie Chen <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Khushal <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/master@{#740053}
diff --git a/components/viz/host/gpu_host_impl.cc b/components/viz/host/gpu_host_impl.cc index 69c0e62..e2fe9bb 100644 --- a/components/viz/host/gpu_host_impl.cc +++ b/components/viz/host/gpu_host_impl.cc
@@ -504,6 +504,10 @@ } #if defined(OS_WIN) +void GpuHostImpl::DidUpdateOverlayInfo(const gpu::OverlayInfo& overlay_info) { + delegate_->DidUpdateOverlayInfo(overlay_info); +} + void GpuHostImpl::SetChildSurface(gpu::SurfaceHandle parent, gpu::SurfaceHandle child) { if (pid_ != base::kNullProcessId) {