Handle window occlusion on Windows |
|
Issue descriptionWindows can notify us when our application is occluded via RegisterOcclusionStatusWindow/Event. The former will signal a window with a message of our choice. The latter will signal a waitable event. The previous attempt at this (https://chromium-review.googlesource.com/c/chromium/src/+/920161) used RegisterOcclusionStatusWindow in the browser process but we don't allow D3D/DXGI there AFAIK. We could instead run this in the GPU process in GLSurface::Initialize (DirectComposition and EGL) and tell it to signal the parent window that's in the browser process.
,
Mar 16 2018
Thanks for linking to the WIP bug. Great to hear that this is being worked on. I don't think we would get anything more out of that API. (I thought it was weird that it's called "occlusion status" but you don't provide any information about your application's windows to it.) |
|
►
Sign in to add a comment |
|
Comment 1 by fdoray@chromium.org
, Mar 15 2018Status: Duplicate (was: Available)