summaryrefslogtreecommitdiff
path: root/chromium/cc/layers/render_pass_sink.h
blob: aa5bfbcfc85ebb48269cc6b89ae6d110dd1514a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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 <memory>

#include "cc/base/cc_export.h"

namespace cc {
class RenderPass;

class CC_EXPORT RenderPassSink {
 public:
  virtual void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) = 0;

 protected:
  virtual ~RenderPassSink() {}
};

}  // namespace cc

#endif  // CC_LAYERS_RENDER_PASS_SINK_H_