summaryrefslogtreecommitdiff
path: root/chromium/cc/output/compositor_frame_ack.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/output/compositor_frame_ack.h')
-rw-r--r--chromium/cc/output/compositor_frame_ack.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/chromium/cc/output/compositor_frame_ack.h b/chromium/cc/output/compositor_frame_ack.h
new file mode 100644
index 00000000000..276ecf0d96e
--- /dev/null
+++ b/chromium/cc/output/compositor_frame_ack.h
@@ -0,0 +1,30 @@
+// Copyright 2012 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_COMPOSITOR_FRAME_ACK_H_
+#define CC_OUTPUT_COMPOSITOR_FRAME_ACK_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "cc/base/cc_export.h"
+#include "cc/output/gl_frame_data.h"
+#include "cc/resources/transferable_resource.h"
+
+namespace cc {
+
+class CC_EXPORT CompositorFrameAck {
+ public:
+ CompositorFrameAck();
+ ~CompositorFrameAck();
+
+ TransferableResourceArray resources;
+ scoped_ptr<GLFrameData> gl_frame_data;
+ unsigned last_software_frame_id;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CompositorFrameAck);
+};
+
+} // namespace cc
+
+#endif // CC_OUTPUT_COMPOSITOR_FRAME_ACK_H_