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

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

Issue 2009443002: Revert of Consolidate OutputSurface constructors into GL vs Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/content/renderer/gpu/delegated_compositor_output_surface.h b/content/renderer/gpu/delegated_compositor_output_surface.h
new file mode 100644
index 0000000000000000000000000000000000000000..aca19155b8d5821e93a358f1260b615874b23d40
--- /dev/null
+++ b/content/renderer/gpu/delegated_compositor_output_surface.h
@@ -0,0 +1,31 @@
+// 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.
+
+#ifndef CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
+#define CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
+
+#include <stdint.h>
+
+#include "base/memory/ref_counted.h"
+#include "content/renderer/gpu/compositor_output_surface.h"
+
+namespace content {
+class FrameSwapMessageQueue;
+
+class DelegatedCompositorOutputSurface : public CompositorOutputSurface {
+ public:
+ 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);
+ ~DelegatedCompositorOutputSurface() override {}
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
« no previous file with comments | « content/renderer/gpu/compositor_output_surface.cc ('k') | content/renderer/gpu/delegated_compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698