[Ozone-GBM] Adding NativeWindowDelegate to IPC window changes to the GPU
This change is the first part in a series of changes to allow better display configuration and tracking of windows/surfaces. The browser process uses PlatformWindows to keep track of display surfaces. The window then has an underlying surface to display content. The surface (in our context SurfaceOzoneEGL) is created on the GPU process and is associated with the window via an AcceleratedWidget handle. Each surface is then associated with a HardwareDisplayController in order to scanout the contents to the monitor. Since the surface is assumed to be in the window's coordinate system, the GPU side has no knowledge of how to map a surface to the configured displays. The NativeWindowDelegate is meant to IPC window information from the browser process to the GPU process such that we can map surfaces to display controllers. BUG=392478 NOTRY=true Review URL: https://codereview.chromium.org/479713002 Cr-Commit-Position: refs/heads/master@{#291071} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291071 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment