Stub out pipeline descriptors and builders.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user