Navigation Menu

Skip to content

Commit

Permalink
Add PipelineOptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Jun 23, 2014
1 parent da76906 commit fe0c15a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion new-interface/pipeline-builder.hpp
Expand Up @@ -5,6 +5,10 @@

namespace grnxx {

struct PipelineOptions {
PipelineOptions();
};

// 後置記法(逆ポーランド記法)に基づいてパイプラインを構築する.
class PipelineBuilder {
public:
Expand Down Expand Up @@ -109,7 +113,9 @@ class PipelineBuilder {
// - 積まれたものが使われずに残っている.
// - パイプラインが完成していないことを示す.
// - リソースを確保できない.
virtual std::unique_ptr<Pipeline> release(Error *error) = 0;
virtual std::unique_ptr<Pipeline> release(
Error *error,
const PipelineOptions &options) = 0;
};

} // namespace grnxx
Expand Down

0 comments on commit fe0c15a

Please sign in to comment.