commit | e2c42e851e5a337e0132865270b4d14ff04b44ef | [log] [tgz] |
---|---|---|
author | Michael Spang <spang@chromium.org> | Wed Nov 28 19:50:53 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 28 19:50:53 2018 |
tree | fad767ef945cb0d5d87eedad42ee895ac99ac83c | |
parent | 9d0b6c88252b5e1ab002bb6ed5db81d37851e2c7 [diff] |
ozone: scenic: Move vulkan surface resources out of browser's Scenic session This creates a new session with the system compositor (Scenic) and uses it to create the vulkan surface resources. This is necessary in order to support vulkan surfaces from the GPU process, since the browser Scenic session will not be accessible there. In order for this to work, we need to be able to run platform code when a gpu::VulkanSurface is destroyed. To accomplish this, this adds a destruction callback to gpu::VulkanSurface which cleans up the Scenic resources associated with the surface. Bug: 861853 Test: run_content_shell --ozone-platform=scenic --disable-gpu --enable-vulkan Change-Id: If08c25746ba73569afae63040a7f6551861eeaad Reviewed-on: https://chromium-review.googlesource.com/c/1343238 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#611830}
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 .