Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
device_buffer_descriptor.h
Go to the documentation of this file.
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#ifndef FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_DESCRIPTOR_H_
6#define FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_DESCRIPTOR_H_
7
8#include <cstddef>
9
11
12namespace impeller {
13
16 size_t size = 0u;
17 // Perhaps we could combine this with storage mode and create appropriate
18 // host-write and host-read flags.
19 bool readback = false;
20};
21
22} // namespace impeller
23
24#endif // FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_DESCRIPTOR_H_
StorageMode
Specified where the allocation resides and how it is used.
Definition formats.h:33