commit | af257db3a440e24c2534c80cc0bb560e76712675 | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <[email protected]> | Mon Jan 28 20:13:52 2019 |
committer | Commit Bot <[email protected]> | Mon Jan 28 20:13:52 2019 |
tree | 952c61cd6a8f85627d966bff35fefca74ea92882 | |
parent | a366d0cfdb8b9bc1101d495ea638ae44c06d32d2 [diff] |
Initialize Vulkan 1.1 only when it's available. VulkanInstance was always initializing Vulkan 1.1, but it's not supported on all target platforms. Update it to detect supported Vulkan version dynamically and initialize 1.1 only if it's available, falling back to 1.0 otherwise. Also updated VulkanImplementation interface to provide access to VulkanInstance class instead of just VkInstance - this makes it possible for consumers to discover which API version was initialized. [email protected] (for ui/ozone/platform/drm) Bug: 925586 Change-Id: I30a54eb303c7eb0106a139a2171f8f4c5e4f2cfe Reviewed-on: https://chromium-review.googlesource.com/c/1437953 Commit-Queue: Sergey Ulanov <[email protected]> Reviewed-by: Robert Kroeger <[email protected]> Reviewed-by: Antoine Labour <[email protected]> Cr-Commit-Position: refs/heads/master@{#626700}
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 .