| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_OUTPUT_COMPOSITOR_FRAME_H_ | 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_H_ |
| 6 #define CC_OUTPUT_COMPOSITOR_FRAME_H_ | 6 #define CC_OUTPUT_COMPOSITOR_FRAME_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
| 12 #include "cc/output/compositor_frame_metadata.h" | 12 #include "cc/output/compositor_frame_metadata.h" |
| 13 #include "cc/quads/render_pass.h" | 13 #include "cc/quads/render_pass.h" |
| 14 #include "cc/resources/transferable_resource.h" | 14 #include "cc/resources/transferable_resource.h" |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 // A CompositorFrame struct contains the complete output of a compositor meant | 18 // A CompositorFrame struct contains the complete output of a compositor meant |
| 19 // for display. A CompositorFrame consists of a series of DrawQuads that | 19 // for display. A CompositorFrame consists of a series of DrawQuads that |
| 20 // describe placement of textures, solid colors, overlays and other | 20 // describe placement of textures, solid colors, overlays and other |
| 21 // CompositorFrames within an area specified by the parent compositor. DrawQuads | 21 // CompositorFrames within an area specified by the parent compositor. DrawQuads |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 // into. | 37 // into. |
| 38 RenderPassList render_pass_list; | 38 RenderPassList render_pass_list; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 DISALLOW_COPY_AND_ASSIGN(CompositorFrame); | 41 DISALLOW_COPY_AND_ASSIGN(CompositorFrame); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace cc | 44 } // namespace cc |
| 45 | 45 |
| 46 #endif // CC_OUTPUT_COMPOSITOR_FRAME_H_ | 46 #endif // CC_OUTPUT_COMPOSITOR_FRAME_H_ |
| OLD | NEW |