| 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 #include "content/renderer/gpu/delegated_compositor_output_surface.h" |
| 6 #include "content/renderer/gpu/frame_swap_message_queue.h" |
| 7 |
| 8 namespace content { |
| 9 |
| 10 DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface( |
| 11 int32_t routing_id, |
| 12 uint32_t output_surface_id, |
| 13 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, |
| 14 const scoped_refptr<ContextProviderCommandBuffer>& worker_context_provider, |
| 15 const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider, |
| 16 scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue) |
| 17 : CompositorOutputSurface(routing_id, |
| 18 output_surface_id, |
| 19 context_provider, |
| 20 worker_context_provider, |
| 21 vulkan_context_provider, |
| 22 std::unique_ptr<cc::SoftwareOutputDevice>(), |
| 23 swap_frame_message_queue, |
| 24 true) { |
| 25 capabilities_.delegated_rendering = true; |
| 26 } |
| 27 |
| 28 } // namespace content |
| OLD | NEW |