Instead of the monolothic `depsgraph_type.hh` header that includes most types used in the despgraph, just add includes where they are actually necessary. Also remove the `using` keywords for `std` types. The lack of specificity isn't considered good practice nowadays. Removing unnecessary transitive includes can help improve compile times because the time spent parsing headers decreases. Using the "include what you use" pattern makes futher improvements much easier too, since it the path to further reduce transitive includes becomes much clearer. Pull Request: https://projects.blender.org/blender/blender/pulls/133749
28 lines
664 B
C++
28 lines
664 B
C++
/* SPDX-FileCopyrightText: 2020 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup depsgraph
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "pipeline.h"
|
|
|
|
namespace blender::deg {
|
|
|
|
class RenderBuilderPipeline : public AbstractBuilderPipeline {
|
|
public:
|
|
RenderBuilderPipeline(::Depsgraph *graph);
|
|
|
|
protected:
|
|
std::unique_ptr<DepsgraphNodeBuilder> construct_node_builder() override;
|
|
std::unique_ptr<DepsgraphRelationBuilder> construct_relation_builder() override;
|
|
|
|
void build_nodes(DepsgraphNodeBuilder &node_builder) override;
|
|
void build_relations(DepsgraphRelationBuilder &relation_builder) override;
|
|
};
|
|
|
|
} // namespace blender::deg
|