commit | 058241f944fb9248c51a3750208b0db53b3e2e5b | [log] [tgz] |
---|---|---|
author | Michael Spang <spang@chromium.org> | Wed Sep 05 21:36:49 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 05 21:36:49 2018 |
tree | 7202a7618bc2cfeeaa8e16d3baa07cfd82c2e50f | |
parent | dfc6b1dc264ece4083ecfaa7a454e2e604000fd6 [diff] |
ozone: scenic: Enable vulkan presentation to scenic via magma surface Using the VK_LAYER_GOOGLE_image_pipe_swapchain layer we can create a swapchain for an image pipe and assign it as the texture of a scenic window. This does not work from the viz process yet as we would need to plumb the image pipe handle over from the browser using FIDL or mojo. Rendering needs to be done from the UI thread via VulkanBrowserCompositorOutputSurface or a test app such as ozone_demo. This also will not work until vulkan synchronization is fixed, see https://crbug.com/877684 Bug: 861853 Test: content_shell --ozone-platform=scenic --enable-vulkan --disable-gpu Change-Id: I79ac045c6d6deb20f49023c8e8e9492631700703 Reviewed-on: https://chromium-review.googlesource.com/1188974 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by: Wez <wez@chromium.org> Reviewed-by: Victor Miura <vmiura@chromium.org> Cr-Commit-Position: refs/heads/master@{#589008}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .