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

Unified Diff: content/gpu/gpu_child_thread.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_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 369cd4dd947fdcd33afd16480a09c50ab1aae539..1bb3df07e35f42846c9f352ac69012eda1b1bc1c 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -40,10 +40,6 @@
#include "ui/ozone/public/ozone_platform.h"
#endif
-#if defined(ENABLE_VULKAN)
-#include "gpu/vulkan/vulkan_surface.h"
-#endif
-
namespace content {
namespace {
@@ -204,11 +200,6 @@ GpuChildThread::GpuChildThread(
gpu_info_.video_decode_accelerator_capabilities =
content::GpuVideoDecodeAccelerator::GetCapabilities();
-#if defined(ENABLE_VULKAN)
- // Temporary Vulkan initialization injection.
- gpu::VulkanSurface::InitializeOneOff();
-#endif
-
if (!gfx::GLSurface::InitializeOneOff())
VLOG(1) << "gfx::GLSurface::InitializeOneOff failed";

Powered by Google App Engine
This is Rietveld 408576698