Index: cc/output/output_surface_frame.h |
diff --git a/cc/output/output_surface_frame.h b/cc/output/output_surface_frame.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1994f3a1b7a635c584108144d7a99fdb6fff4c5d |
--- /dev/null |
+++ b/cc/output/output_surface_frame.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2016 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. |
+ |
+#ifndef CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_ |
+#define CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_ |
+ |
+#include <vector> |
+ |
+#include "base/macros.h" |
+#include "cc/base/cc_export.h" |
+#include "ui/events/latency_info.h" |
+#include "ui/gfx/geometry/rect.h" |
+#include "ui/gfx/geometry/size.h" |
+ |
+namespace cc { |
+ |
+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.
|
+ public: |
+ OutputSurfaceFrame(); |
+ OutputSurfaceFrame(OutputSurfaceFrame&& other); |
+ ~OutputSurfaceFrame(); |
+ |
+ OutputSurfaceFrame& operator=(OutputSurfaceFrame&& other); |
+ |
+ gfx::Size size; |
+ gfx::Rect sub_buffer_rect; |
+ std::vector<ui::LatencyInfo> latency_info; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(OutputSurfaceFrame); |
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_ |