Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Namespaces | Typedefs | Enumerations | Functions
hardware_buffer.h File Reference
#include <optional>
#include "flutter/fml/unique_fd.h"
#include "flutter/fml/unique_object.h"
#include "impeller/base/mask.h"
#include "impeller/geometry/size.h"
#include "impeller/toolkit/android/proc_table.h"

Go to the source code of this file.

Classes

struct  impeller::android::HardwareBufferDescriptor
 A descriptor use to specify hardware buffer allocations. More...
 
class  impeller::android::HardwareBuffer
 A wrapper for AHardwareBuffer https://developer.android.com/ndk/reference/group/a-hardware-buffer. More...
 

Namespaces

namespace  impeller
 
namespace  impeller::android
 

Typedefs

using impeller::android::HardwareBufferUsage = Mask< HardwareBufferUsageFlags >
 

Enumerations

enum class  impeller::android::HardwareBufferFormat { impeller::android::kR8G8B8A8UNormInt }
 
enum class  impeller::android::HardwareBufferUsageFlags {
  impeller::android::kNone = 0u , impeller::android::kFrameBufferAttachment = 1u << 0u , impeller::android::kCompositorOverlay = 1u << 1u , impeller::android::kSampledImage = 1u << 2u ,
  impeller::android::kCPUReadRarely = 1u << 3u , impeller::android::kCPUReadOften = 1u << 4u , impeller::android::kCPUWriteRarely = 1u << 5u , impeller::android::kCPUWriteOften = 1u << 6u
}
 

Functions

 impeller::IMPELLER_ENUM_IS_MASK (android::HardwareBufferUsageFlags)