summaryrefslogtreecommitdiffstats
path: root/cc/layers/render_pass_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/render_pass_sink.h')
-rw-r--r--cc/layers/render_pass_sink.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cc/layers/render_pass_sink.h b/cc/layers/render_pass_sink.h
new file mode 100644
index 0000000..d307739e6
--- /dev/null
+++ b/cc/layers/render_pass_sink.h
@@ -0,0 +1,21 @@
+// 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_LAYERS_RENDER_PASS_SINK_H_
+#define CC_LAYERS_RENDER_PASS_SINK_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "cc/base/cc_export.h"
+
+namespace cc {
+class RenderPass;
+
+class CC_EXPORT RenderPassSink {
+ public:
+ virtual void AppendRenderPass(scoped_ptr<RenderPass> render_pass) = 0;
+};
+
+} // namespace cc
+
+#endif // CC_LAYERS_RENDER_PASS_SINK_H_