1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#pragma once
6
7#include <memory>
8
9namespace impeller {
10
11class DeviceBuffer;
12class Allocator;
13
14class Buffer {
15 public:
16 virtual ~Buffer();
17
18 virtual std::shared_ptr<const DeviceBuffer> GetDeviceBuffer(
19 Allocator& allocator) const = 0;
20};
21
22} // namespace impeller
23

Provided by KDAB

Privacy Policy
Learn more about Flutter for embedded and desktop on industrialflutter.com

source code of flutter_engine/flutter/impeller/core/buffer.h