| OLD | NEW |
| (Empty) |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_LAYERS_RENDER_PASS_SINK_H_ | |
| 6 #define CC_LAYERS_RENDER_PASS_SINK_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "cc/base/cc_export.h" | |
| 11 | |
| 12 namespace cc { | |
| 13 class RenderPass; | |
| 14 | |
| 15 class CC_EXPORT RenderPassSink { | |
| 16 public: | |
| 17 virtual void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) = 0; | |
| 18 | |
| 19 protected: | |
| 20 virtual ~RenderPassSink() {} | |
| 21 }; | |
| 22 | |
| 23 } // namespace cc | |
| 24 | |
| 25 #endif // CC_LAYERS_RENDER_PASS_SINK_H_ | |
| OLD | NEW |