Flutter Engine
The Flutter Engine
|
Namespaces | |
namespace | testing |
Classes | |
struct | AndroidProc |
class | Choreographer |
This class describes access to the choreographer instance for the current thread. Choreographers are only available on API levels above 24. On levels below 24, an invalid choreographer will be returned. More... | |
class | HardwareBuffer |
A wrapper for AHardwareBuffer https://developer.android.com/ndk/reference/group/a-hardware-buffer. More... | |
struct | HardwareBufferDescriptor |
A descriptor use to specify hardware buffer allocations. More... | |
class | NativeWindow |
A wrapper for ANativeWindow https://developer.android.com/ndk/reference/group/a-native-window. More... | |
struct | ProcTable |
The table of Android procs that are resolved dynamically. More... | |
class | SurfaceControl |
A wrapper for ASurfaceControl. https://developer.android.com/ndk/reference/group/native-activity#asurfacecontrol. More... | |
class | SurfaceTransaction |
A wrapper for ASurfaceTransaction. https://developer.android.com/ndk/reference/group/native-activity#asurfacetransaction. More... | |
struct | TransactionInFlightData |
Typedefs | |
using | HardwareBufferUsage = Mask< HardwareBufferUsageFlags > |
Enumerations | |
enum class | HardwareBufferFormat { kR8G8B8A8UNormInt } |
enum class | HardwareBufferUsageFlags { kNone = 0u , kFrameBufferAttachment = 1u << 0u , kCompositorOverlay = 1u << 1u , kSampledImage = 1u << 2u } |
Functions | |
static Choreographer::FrameTimePoint | ClockMonotonicNanosToFrameTimePoint (int64_t p_nanos) |
static AHardwareBuffer_Format | ToAHardwareBufferFormat (HardwareBufferFormat format) |
static AHardwareBuffer_Desc | ToAHardwareBufferDesc (const HardwareBufferDescriptor &desc) |
const ProcTable & | GetProcTable () |
ProcTable & | GetMutableProcTable () |
template<class T > | |
void | ResolveAndroidProc (AndroidProc< T > &proc, const std::vector< fml::RefPtr< fml::NativeLibrary > > &libs) |
using impeller::android::HardwareBufferUsage = typedef Mask<HardwareBufferUsageFlags> |
Definition at line 37 of file hardware_buffer.h.
|
strong |
Enumerator | |
---|---|
kR8G8B8A8UNormInt | This format is guaranteed to be supported on all versions of Android. This format can also be converted to an Impeller and Vulkan format.
Why have many format when one format do trick? |
Definition at line 17 of file hardware_buffer.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kFrameBufferAttachment | |
kCompositorOverlay | |
kSampledImage |
Definition at line 30 of file hardware_buffer.h.
|
static |
Definition at line 33 of file choreographer.cc.
ProcTable & impeller::android::GetMutableProcTable | ( | ) |
Definition at line 18 of file proc_table.cc.
const ProcTable & impeller::android::GetProcTable | ( | ) |
Definition at line 12 of file proc_table.cc.
void impeller::android::ResolveAndroidProc | ( | AndroidProc< T > & | proc, |
const std::vector< fml::RefPtr< fml::NativeLibrary > > & | libs | ||
) |
Definition at line 23 of file proc_table.cc.
|
static |
Definition at line 20 of file hardware_buffer.cc.
|
static |
Definition at line 11 of file hardware_buffer.cc.