| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ | 5 #ifndef CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ |
| 6 #define CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ | 6 #define CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "cc/transferable_resource.h" | 10 #include "cc/resources/transferable_resource.h" |
| 11 #include "content/renderer/gpu/compositor_output_surface.h" | 11 #include "content/renderer/gpu/compositor_output_surface.h" |
| 12 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 class CompositorFrameAck; | 15 class CompositorFrameAck; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 | 19 |
| 20 // Implementation of CompositorOutputSurface that renders to textures which | 20 // Implementation of CompositorOutputSurface that renders to textures which |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 TransferableFrame current_backing_; | 60 TransferableFrame current_backing_; |
| 61 std::queue<TransferableFrame> returned_textures_; | 61 std::queue<TransferableFrame> returned_textures_; |
| 62 | 62 |
| 63 gfx::Size size_; | 63 gfx::Size size_; |
| 64 uint32 fbo_; | 64 uint32 fbo_; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace content | 67 } // namespace content |
| 68 | 68 |
| 69 #endif // CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ | 69 #endif // CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ |
| OLD | NEW |