diff --git a/engine/src/flutter/impeller/impeller/BUILD.gn b/engine/src/flutter/impeller/impeller/BUILD.gn index 8e7fb5c88b..4807e1a4d8 100644 --- a/engine/src/flutter/impeller/impeller/BUILD.gn +++ b/engine/src/flutter/impeller/impeller/BUILD.gn @@ -24,6 +24,10 @@ source_set("impeller") { compositor_sources = [ "compositor/context.h", "compositor/context.mm", + "compositor/pipeline_builder.h", + "compositor/pipeline_builder.mm", + "compositor/pipeline_descriptor.h", + "compositor/pipeline_descriptor.mm", "compositor/pipeline_library.h", "compositor/pipeline_library.mm", "compositor/renderer.h", diff --git a/engine/src/flutter/impeller/impeller/compositor/pipeline_builder.h b/engine/src/flutter/impeller/impeller/compositor/pipeline_builder.h new file mode 100644 index 0000000000..d2e1c7002e --- /dev/null +++ b/engine/src/flutter/impeller/impeller/compositor/pipeline_builder.h @@ -0,0 +1,24 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#pragma once + +#include "flutter/fml/macros.h" +#include "impeller/compositor/pipeline_descriptor.h" + +namespace impeller { + +class PipelineBuilder { + public: + PipelineBuilder(); + + ~PipelineBuilder(); + + PipelineDescriptor Build() const; + + private: + FML_DISALLOW_COPY_AND_ASSIGN(PipelineBuilder); +}; + +} // namespace impeller diff --git a/engine/src/flutter/impeller/impeller/compositor/pipeline_builder.mm b/engine/src/flutter/impeller/impeller/compositor/pipeline_builder.mm new file mode 100644 index 0000000000..4f954b6da6 --- /dev/null +++ b/engine/src/flutter/impeller/impeller/compositor/pipeline_builder.mm @@ -0,0 +1,13 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "impeller/compositor/pipeline_builder.h" + +namespace impeller { + +PipelineBuilder::PipelineBuilder() = default; + +PipelineBuilder::~PipelineBuilder() = default; + +} // namespace impeller diff --git a/engine/src/flutter/impeller/impeller/compositor/pipeline_descriptor.h b/engine/src/flutter/impeller/impeller/compositor/pipeline_descriptor.h new file mode 100644 index 0000000000..093536dae5 --- /dev/null +++ b/engine/src/flutter/impeller/impeller/compositor/pipeline_descriptor.h @@ -0,0 +1,21 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#pragma once + +#include "flutter/fml/macros.h" + +namespace impeller { + +class PipelineDescriptor { + public: + PipelineDescriptor(); + + ~PipelineDescriptor(); + + private: + FML_DISALLOW_COPY_AND_ASSIGN(PipelineDescriptor); +}; + +} // namespace impeller diff --git a/engine/src/flutter/impeller/impeller/compositor/pipeline_descriptor.mm b/engine/src/flutter/impeller/impeller/compositor/pipeline_descriptor.mm new file mode 100644 index 0000000000..ab8c8281e5 --- /dev/null +++ b/engine/src/flutter/impeller/impeller/compositor/pipeline_descriptor.mm @@ -0,0 +1,13 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "impeller/compositor/pipeline_descriptor.h" + +namespace impeller { + +PipelineDescriptor::PipelineDescriptor() = default; + +PipelineDescriptor::~PipelineDescriptor() = default; + +} // namespace impeller