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 |
| struct | WrappedSurfaceTransaction |
| A wrapper class that indicates whether a SurfaceTransaction was created by the flutter engine or was borrowed from Java for platform interop. More... | |
Typedefs | |
| using | HardwareBufferUsage = Mask< HardwareBufferUsageFlags > |
Enumerations | |
| enum class | HardwareBufferFormat { kR8G8B8A8UNormInt } |
| enum class | HardwareBufferUsageFlags { kNone = 0u , kFrameBufferAttachment = 1u << 0u , kCompositorOverlay = 1u << 1u , kSampledImage = 1u << 2u , kCPUReadRarely = 1u << 3u , kCPUReadOften = 1u << 4u , kCPUWriteRarely = 1u << 5u , kCPUWriteOften = 1u << 6u } |
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) |
| ASurfaceTransaction * | ASurfaceTransaction_fromJava (JNIEnv *env, jobject transaction) |
| fml::UniqueFD | CreatePreviousReleaseFence (const SurfaceControl &control, ASurfaceTransactionStats *stats) |
| using impeller::android::HardwareBufferUsage = typedef Mask<HardwareBufferUsageFlags> |
Definition at line 42 of file hardware_buffer.h.
|
strong |
Definition at line 18 of file hardware_buffer.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kFrameBufferAttachment | |
| kCompositorOverlay | |
| kSampledImage | |
| kCPUReadRarely | |
| kCPUReadOften | |
| kCPUWriteRarely | |
| kCPUWriteOften | |
Definition at line 31 of file hardware_buffer.h.
| ASurfaceTransaction * impeller::android::ASurfaceTransaction_fromJava | ( | JNIEnv * | env, |
| jobject | transaction | ||
| ) |
|
static |
Definition at line 33 of file choreographer.cc.
Referenced by impeller::android::Choreographer::PostFrameCallback().
| fml::UniqueFD impeller::android::CreatePreviousReleaseFence | ( | const SurfaceControl & | control, |
| ASurfaceTransactionStats * | stats | ||
| ) |
Definition at line 11 of file surface_transaction_stats.cc.
References impeller::android::SurfaceControl::GetHandle(), and GetProcTable().
| ProcTable & impeller::android::GetMutableProcTable | ( | ) |
Definition at line 18 of file proc_table.cc.
References GetProcTable().
| const ProcTable & impeller::android::GetProcTable | ( | ) |
Definition at line 12 of file proc_table.cc.
Referenced by flutter::ImageExternalTexture::AHardwareBufferFor(), impeller::android::SurfaceTransaction::Apply(), flutter::ImageExternalTextureGL::CreateEGLImage(), impeller::glvk::CreateEGLImageFromAHBTexture(), CreatePreviousReleaseFence(), flutter::PlatformViewAndroidJNIImpl::createTransaction(), impeller::android::HardwareBuffer::Describe(), GetMutableProcTable(), impeller::android::HardwareBuffer::GetSystemUniqueID(), impeller::android::HardwareBuffer::HardwareBuffer(), impeller::android::HardwareBufferDescriptor::IsAllocatable(), impeller::android::Choreographer::IsAvailableOnPlatform(), impeller::android::HardwareBuffer::IsAvailableOnPlatform(), impeller::android::SurfaceControl::IsAvailableOnPlatform(), impeller::android::SurfaceTransaction::IsAvailableOnPlatform(), impeller::android::HardwareBuffer::Lock(), impeller::android::NativeWindow::NativeWindow(), impeller::android::Choreographer::PostFrameCallback(), impeller::android::SurfaceTransaction::SetBackgroundColor(), impeller::android::SurfaceTransaction::SetContents(), impeller::android::SurfaceTransaction::SetParent(), impeller::android::SurfaceControl::SurfaceControl(), impeller::android::testing::TEST(), and impeller::android::HardwareBuffer::Unlock().
| void impeller::android::ResolveAndroidProc | ( | AndroidProc< T > & | proc, |
| const std::vector< fml::RefPtr< fml::NativeLibrary > > & | libs | ||
| ) |
Definition at line 23 of file proc_table.cc.
References impeller::android::AndroidProc< T >::proc, and impeller::android::AndroidProc< T >::proc_name.
|
static |
Definition at line 20 of file hardware_buffer.cc.
References impeller::android::HardwareBufferDescriptor::format, impeller::TSize< T >::height, kCompositorOverlay, kCPUReadOften, kCPUReadRarely, kCPUWriteOften, kCPUWriteRarely, kFrameBufferAttachment, kSampledImage, impeller::android::HardwareBufferDescriptor::size, ToAHardwareBufferFormat(), impeller::android::HardwareBufferDescriptor::usage, and impeller::TSize< T >::width.
Referenced by impeller::android::HardwareBufferDescriptor::IsAllocatable().
|
static |
Definition at line 11 of file hardware_buffer.cc.
References FML_UNREACHABLE, format, and kR8G8B8A8UNormInt.
Referenced by ToAHardwareBufferDesc().