blob: 2b8f15cab1cdd6c073429c5f5b04f0591696874b [file] [log] [blame]
// 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 <memory>
#include "flutter/fml/macros.h"
#include "impeller/renderer/command_buffer.h"
namespace impeller {
namespace scene {
class Scene;
class SceneEncoder {
private:
SceneEncoder();
std::shared_ptr<CommandBuffer> BuildSceneCommandBuffer(
Context& context,
const RenderTarget& render_target) const;
friend Scene;
FML_DISALLOW_COPY_AND_ASSIGN(SceneEncoder);
};
} // namespace scene
} // namespace impeller