• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
7 
8 #include "base/memory/ref_counted.h"
9 #include "content/renderer/gpu/compositor_output_surface.h"
10 
11 namespace content {
12 class FrameSwapMessageQueue;
13 
14 class DelegatedCompositorOutputSurface : public CompositorOutputSurface {
15  public:
16   DelegatedCompositorOutputSurface(
17       int32 routing_id,
18       uint32 output_surface_id,
19       const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
20       scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue);
~DelegatedCompositorOutputSurface()21   virtual ~DelegatedCompositorOutputSurface() {}
22 };
23 
24 }  // namespace content
25 
26 #endif  // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
27