| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/gpu/delegated_compositor_output_surface.h" | 5 #include "content/renderer/gpu/delegated_compositor_output_surface.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface( | 9 DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface( |
| 10 int32 routing_id, | 10 int32 routing_id, |
| 11 uint32 output_surface_id, |
| 11 WebGraphicsContext3DCommandBufferImpl* context3d, | 12 WebGraphicsContext3DCommandBufferImpl* context3d, |
| 12 cc::SoftwareOutputDevice* software) | 13 cc::SoftwareOutputDevice* software) |
| 13 : CompositorOutputSurface(routing_id, context3d, software, true) { | 14 : CompositorOutputSurface(routing_id, |
| 15 output_surface_id, |
| 16 context3d, |
| 17 software, |
| 18 true) { |
| 14 capabilities_.delegated_rendering = true; | 19 capabilities_.delegated_rendering = true; |
| 15 capabilities_.max_frames_pending = 1; | 20 capabilities_.max_frames_pending = 1; |
| 16 } | 21 } |
| 17 | 22 |
| 18 } // namespace content | 23 } // namespace content |
| OLD | NEW |