summaryrefslogtreecommitdiffstats
path: root/cc/layers/render_pass_sink.h
blob: 725f1dd0902b21bfef0a617b69aff49fae4cc3c8 (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
// 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;

 protected:
  virtual ~RenderPassSink() {}
};

}  // namespace cc

#endif  // CC_LAYERS_RENDER_PASS_SINK_H_