Cleanup DrmOverlayManager logic and add test.
Move all checks for if a OverlaySurfaceCandidate is potentially valid into CanHandleCandidate(). Also simplify CheckOverlaySupport() a bit. Add a test that exercises DrmOverlayManger caching to ensure that request for overlay validation gets sent at the right time. Bug: 930173 Change-Id: I1d0705b76c1b2ba806a207b9e2ba55d161ae60d6 Reviewed-on: https://chromium-review.googlesource.com/c/1495740Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Michael Spang <spang@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#636908}
Showing
Please register or sign in to comment