| OLD | NEW |
| (Empty) |
| 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 <stdint.h> | |
| 9 | |
| 10 #include "base/memory/ref_counted.h" | |
| 11 #include "content/renderer/gpu/compositor_output_surface.h" | |
| 12 | |
| 13 namespace content { | |
| 14 class FrameSwapMessageQueue; | |
| 15 | |
| 16 class DelegatedCompositorOutputSurface : public CompositorOutputSurface { | |
| 17 public: | |
| 18 DelegatedCompositorOutputSurface( | |
| 19 int32_t routing_id, | |
| 20 uint32_t output_surface_id, | |
| 21 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, | |
| 22 const scoped_refptr<ContextProviderCommandBuffer>& | |
| 23 worker_context_provider, | |
| 24 const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider, | |
| 25 scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue); | |
| 26 ~DelegatedCompositorOutputSurface() override {} | |
| 27 }; | |
| 28 | |
| 29 } // namespace content | |
| 30 | |
| 31 #endif // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ | |
| OLD | NEW |