Chromium Code Reviews
Description[headless] Fix screenshots with gpu enabled.
Turns out this is due to two things:
1) We were overriding ShouldCreateCompositorFrameSink in the browser
compositor to always return false (which is unnecessary).
2) Contrary to what GpuBrowserCompositorOutputSurface and
SoftwareBrowserCompositorOutputSurface do, the
OffscreenBrowserCompositorOutputSurface wasn't letting the RWHI know
about swapped frames.
This fixes both issues.
BUG=681614
Review-Url: https://codereview.chromium.org/2631263003
Cr-Original-Commit-Position: refs/heads/master@{#444694}
Committed: https://chromium.googlesource.com/chromium/src/+/f5077ffe4f7a3d8c053e8bd8b2070bc699ca937f
Review-Url: https://codereview.chromium.org/2631263003
Cr-Commit-Position: refs/heads/master@{#444730}
Committed: https://chromium.googlesource.com/chromium/src/+/d2869ffcce7a030d6cceabb6f52d3c67f897e06a
Patch Set 1 : . #Patch Set 2 : add test. #Patch Set 3 : make test work with gpu compositing, run it for both gpu/software comp. #
Total comments: 2
Patch Set 4 : limit skia dep to test file only. #Patch Set 5 : add skia dep to build file. #
Messages
Total messages: 29 (17 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||