Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 #ifndef CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_ | |
| 6 #define CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 #include "cc/base/cc_export.h" | |
| 12 #include "ui/events/latency_info.h" | |
| 13 #include "ui/gfx/geometry/rect.h" | |
| 14 #include "ui/gfx/geometry/size.h" | |
| 15 | |
| 16 namespace cc { | |
| 17 | |
| 18 class CC_EXPORT OutputSurfaceFrame { | |
|
danakj
2016/10/05 23:02:20
// Metadata given to the OutputSurface in order fo
kylechar
2016/10/06 14:16:55
Done.
| |
| 19 public: | |
| 20 OutputSurfaceFrame(); | |
| 21 OutputSurfaceFrame(OutputSurfaceFrame&& other); | |
| 22 ~OutputSurfaceFrame(); | |
| 23 | |
| 24 OutputSurfaceFrame& operator=(OutputSurfaceFrame&& other); | |
| 25 | |
| 26 gfx::Size size; | |
| 27 gfx::Rect sub_buffer_rect; | |
| 28 std::vector<ui::LatencyInfo> latency_info; | |
| 29 | |
| 30 private: | |
| 31 DISALLOW_COPY_AND_ASSIGN(OutputSurfaceFrame); | |
| 32 }; | |
| 33 | |
| 34 } // namespace cc | |
| 35 | |
| 36 #endif // CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_ | |
| OLD | NEW |