| Index: content/gpu/gpu_main.cc
|
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
| index 7ce05a039701fdea4ff4f327d823d31c07a7b0bf..e473095acfaa6e8a16ac200057ea80fdff917b8d 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 "ui/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();
|
| +#endif
|
| +
|
| // Load and initialize the GL implementation and locate the GL entry points.
|
| bool gl_initialized =
|
| gl_already_initialized
|
|
|