Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 958e40dc2425ed98eb86178d01f2bfdb879d4a2c..d9299383834e7f63f2e259cd8d797143e8bc1ddc 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -80,6 +80,10 @@ |
#include "content/common/gpu/media/vaapi_wrapper.h" |
#endif |
+#if defined(ENABLE_VULKAN) |
+#include "gpu/vulkan/vulkan_surface.h" |
+#endif |
+ |
#if defined(SANITIZER_COVERAGE) |
#include <sanitizer/common_interface_defs.h> |
#include <sanitizer/coverage_interface.h> |
@@ -288,6 +292,11 @@ int GpuMain(const MainFunctionParams& parameters) { |
gl_already_initialized = true; |
} |
+#if defined(ENABLE_VULKAN) |
+ // Temporary Vulkan initialization injection. |
+ gfx::VulkanSurface::InitializeOneOff(); |
Nico
2016/03/09 02:43:33
do you need to call this both here and in the othe
David Yen
2016/03/09 18:44:49
I'm still figuring out the initialization path for
|
+#endif |
+ |
// Load and initialize the GL implementation and locate the GL entry points. |
bool gl_initialized = |
gl_already_initialized |