Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1629)

Unified Diff: content/gpu/gpu_main.cc

Issue 1776453003: Added initial implementation of Vulkan Render Passes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_vulkan
Patch Set: Fix SwapBuffers() present layout, test in unittests instead of injections Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 4491ac8c6e6b70cb75bdf862d0eef94c58d6cd50..958e40dc2425ed98eb86178d01f2bfdb879d4a2c 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -80,10 +80,6 @@
#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>
@@ -292,11 +288,6 @@ int GpuMain(const MainFunctionParams& parameters) {
gl_already_initialized = true;
}
-#if defined(ENABLE_VULKAN)
- // Temporary Vulkan initialization injection.
- gpu::VulkanSurface::InitializeOneOff();
-#endif
-
// Load and initialize the GL implementation and locate the GL entry points.
bool gl_initialized =
gl_already_initialized

Powered by Google App Engine
This is Rietveld 408576698