Commit 96a8e747 by Jamie Madill Committed by Commit Bot

Vulkan: Move and inline object wrapper classes.

This moves the wrapper classes into their own file. It also inlines all the various methods for performance. The inline methods are kept out-of-class to avoid problems with circular dependencies. Also adds a few missing valid() checks to the inline methods. Improves the score of the VBO state change test by 1-2%. Bug: angleproject:3014 Change-Id: Ia760c3a6905a9a5aacfd05db443b72f34947385e Reviewed-on: https://chromium-review.googlesource.com/c/1436167 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
parent a7429204
......@@ -808,6 +808,7 @@ libangle_vulkan_sources = [
"src/libANGLE/renderer/vulkan/vk_mandatory_format_support_table_autogen.cpp",
"src/libANGLE/renderer/vulkan/vk_utils.cpp",
"src/libANGLE/renderer/vulkan/vk_utils.h",
"src/libANGLE/renderer/vulkan/vk_wrapper.h",
]
libangle_vulkan_android_sources = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment