Index: content/renderer/gpu/delegated_compositor_output_surface.cc |
diff --git a/content/renderer/gpu/delegated_compositor_output_surface.cc b/content/renderer/gpu/delegated_compositor_output_surface.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..16ad2e8befb6ede733fb74d74a8b336b0f5916cd |
--- /dev/null |
+++ b/content/renderer/gpu/delegated_compositor_output_surface.cc |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 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. |
+ |
+#include "content/renderer/gpu/delegated_compositor_output_surface.h" |
+ |
+namespace content { |
+ |
+DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface( |
+ int32 routing_id, |
+ WebGraphicsContext3DCommandBufferImpl* context3d, |
+ cc::SoftwareOutputDevice* software) |
+ : CompositorOutputSurface(routing_id, context3d, software, true) { |
+ capabilities_.delegated_rendering = true; |
+ capabilities_.max_frames_pending = 1; |
+} |
+ |
+} // namespace content |