Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpu: win: Replace root GLSurface with SharedImage DComp overlay
Implement SkiaOutputDeviceDCompPresenter, which owns a SharedImage for use as the root surface. This is in contrast with DirectCompositionSurfaceWin, which is a GLSurface that owns the back buffer. The plan is to have both SkiaOutputDeviceDComp implementations selectable with a feature flag. Then, after experimentation with DCompPresenter, we will remove the feature flag, DirectComposition[Child]SurfaceWin (and related types) and merge SkiaOutputDeviceDCompPresenter with SkiaOutputDeviceDComp. Removal of DirectComposition[Child]SurfaceWin will allow many Windows-specific functions on GLSurface be removed (and may help GLSurface itself be removed). Bug: 1378741 Change-Id: Ia2215e1289b926a7696c535ec03781c2028da53b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3984093 Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Michael Tang <tangm@microsoft.com> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096558}
- Loading branch information