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

Unified Diff: content/renderer/gpu/delegated_compositor_output_surface.cc

Issue 2002303002: Consolidate OutputSurface constructors into GL vs Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: outputsurface-constructors: rebase-and-fixcrash Created 4 years, 7 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/renderer/gpu/delegated_compositor_output_surface.cc
diff --git a/content/renderer/gpu/delegated_compositor_output_surface.cc b/content/renderer/gpu/delegated_compositor_output_surface.cc
deleted file mode 100644
index 97d838ead7ea6fe8aa2315f279293b41f1aa34aa..0000000000000000000000000000000000000000
--- a/content/renderer/gpu/delegated_compositor_output_surface.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/renderer/gpu/delegated_compositor_output_surface.h"
-#include "content/renderer/gpu/frame_swap_message_queue.h"
-
-namespace content {
-
-DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface(
- int32_t routing_id,
- uint32_t output_surface_id,
- const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
- const scoped_refptr<ContextProviderCommandBuffer>& worker_context_provider,
- const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider,
- scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue)
- : CompositorOutputSurface(routing_id,
- output_surface_id,
- context_provider,
- worker_context_provider,
- vulkan_context_provider,
- std::unique_ptr<cc::SoftwareOutputDevice>(),
- swap_frame_message_queue,
- true) {
- capabilities_.delegated_rendering = true;
-}
-
-} // namespace content
« no previous file with comments | « content/renderer/gpu/delegated_compositor_output_surface.h ('k') | content/renderer/gpu/mailbox_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698