Stub out pipeline descriptors and builders.

This commit is contained in:
Chinmay Garde
2021-05-09 00:22:26 -07:00
committed by Dan Field
parent edab9d7ef2
commit adb97f773a
5 changed files with 75 additions and 0 deletions

View File

@@ -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",

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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