Classes | |
| struct | UniqueAHardwareBufferTraits |
Typedefs | |
| using | UniqueAHardwareBuffer = fml::UniqueObject< AHardwareBuffer *, UniqueAHardwareBufferTraits > |
Functions | |
| UniqueAHardwareBuffer | AllocateAHardwareBuffer (const AHardwareBuffer_Desc &desc) |
| std::shared_ptr< ContextVK > | CreateContext () |
| TEST (AndroidVulkanTest, CanImportRGBA) | |
| TEST (AndroidVulkanTest, CanImportWithYUB) | |
| TEST (AndroidVulkanTest, CreateImageViewForOpaqueAlpha) | |
| TEST (ToolkitAndroidTest, CanCreateProcTable) | |
| TEST (ToolkitAndroidTest, GuardsAgainstZeroSizedDescriptors) | |
| TEST (ToolkitAndroidTest, CanCreateHardwareBuffer) | |
| TEST (ToolkitAndroidTest, CanGetHardwareBufferIDs) | |
| TEST (ToolkitAndroidTest, HardwareBufferNullIDIfAPIUnavailable) | |
| TEST (ToolkitAndroidTest, CanDescribeHardwareBufferHandles) | |
| TEST (ToolkitAndroidTest, CanApplySurfaceTransaction) | |
| TEST (ToolkitAndroidTest, SurfacControlsAreAvailable) | |
| TEST (ToolkitAndroidTest, ChoreographerIsAvailable) | |
| TEST (ToolkitAndroidTest, CanPostAndNotWaitForFrameCallbacks) | |
| TEST (ToolkitAndroidTest, CanPostAndWaitForFrameCallbacks) | |
| using impeller::android::testing::UniqueAHardwareBuffer = typedef fml::UniqueObject<AHardwareBuffer*, UniqueAHardwareBufferTraits> |
Definition at line 24 of file ahb_texture_source_vk_unittests.cc.
| UniqueAHardwareBuffer impeller::android::testing::AllocateAHardwareBuffer | ( | const AHardwareBuffer_Desc & | desc | ) |
Definition at line 27 of file ahb_texture_source_vk_unittests.cc.
Referenced by TEST().
| std::shared_ptr<ContextVK> impeller::android::testing::CreateContext | ( | ) |
Definition at line 35 of file ahb_texture_source_vk_unittests.cc.
References impeller::interop::Create(), impeller::ContextVK::Create(), impeller::ContextVK::Settings::enable_gpu_tracing, impeller::ContextVK::Settings::enable_surface_control, impeller::ContextVK::Settings::enable_validation, impeller::ContextVK::Settings::proc_address_callback, impeller::ContextVK::Settings::shader_libraries_data, and VALIDATION_LOG.
Referenced by impeller::Playground::OpenPlaygroundHere(), TEST(), and impeller::interop::testing::TEST_P().
| impeller::android::testing::TEST | ( | AndroidVulkanTest | , |
| CanImportRGBA | |||
| ) |
Definition at line 56 of file ahb_texture_source_vk_unittests.cc.
References CreateContext(), impeller::android::HardwareBufferDescriptor::format, impeller::AHBTextureSourceVK::GetYUVConversion(), impeller::android::HardwareBuffer::IsAvailableOnPlatform(), impeller::AHBTextureSourceVK::IsValid(), impeller::android::kR8G8B8A8UNormInt, impeller::android::kSampledImage, impeller::android::HardwareBufferDescriptor::size, and impeller::android::HardwareBufferDescriptor::usage.
| impeller::android::testing::TEST | ( | AndroidVulkanTest | , |
| CanImportWithYUB | |||
| ) |
Definition at line 80 of file ahb_texture_source_vk_unittests.cc.
References AllocateAHardwareBuffer(), CreateContext(), impeller::AHBTextureSourceVK::GetYUVConversion(), impeller::android::HardwareBuffer::IsAvailableOnPlatform(), and impeller::AHBTextureSourceVK::IsValid().
| impeller::android::testing::TEST | ( | AndroidVulkanTest | , |
| CreateImageViewForOpaqueAlpha | |||
| ) |
Definition at line 113 of file ahb_texture_source_vk_unittests.cc.
References AllocateAHardwareBuffer(), CreateContext(), impeller::AHBTextureSourceVK::CreateImageViewInfo(), impeller::AHBTextureSourceVK::CreateVKImageWrapperForAndroidHarwareBuffer(), and impeller::android::HardwareBuffer::IsAvailableOnPlatform().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanApplySurfaceTransaction | |||
| ) |
Definition at line 82 of file toolkit_android_unittests.cc.
References impeller::android::SurfaceTransaction::Apply(), impeller::android::SurfaceTransaction::IsAvailableOnPlatform(), and impeller::android::SurfaceTransaction::IsValid().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanCreateHardwareBuffer | |||
| ) |
Definition at line 36 of file toolkit_android_unittests.cc.
References impeller::android::HardwareBuffer::IsAvailableOnPlatform(), impeller::android::HardwareBuffer::IsValid(), and impeller::android::HardwareBufferDescriptor::MakeForSwapchainImage().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanCreateProcTable | |||
| ) |
Definition at line 25 of file toolkit_android_unittests.cc.
References impeller::android::ProcTable::IsValid().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanDescribeHardwareBufferHandles | |||
| ) |
Definition at line 67 of file toolkit_android_unittests.cc.
References impeller::android::HardwareBuffer::Describe(), impeller::android::HardwareBuffer::GetHandle(), impeller::android::HardwareBuffer::IsAvailableOnPlatform(), impeller::android::HardwareBuffer::IsValid(), and impeller::android::HardwareBufferDescriptor::MakeForSwapchainImage().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanGetHardwareBufferIDs | |||
| ) |
Definition at line 47 of file toolkit_android_unittests.cc.
References impeller::android::GetProcTable(), impeller::android::HardwareBuffer::GetSystemUniqueID(), impeller::android::HardwareBuffer::IsAvailableOnPlatform(), impeller::android::HardwareBuffer::IsValid(), and impeller::android::HardwareBufferDescriptor::MakeForSwapchainImage().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanPostAndNotWaitForFrameCallbacks | |||
| ) |
Definition at line 108 of file toolkit_android_unittests.cc.
References impeller::android::Choreographer::GetInstance(), and impeller::android::Choreographer::IsAvailableOnPlatform().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| CanPostAndWaitForFrameCallbacks | |||
| ) |
Definition at line 117 of file toolkit_android_unittests.cc.
References impeller::android::Choreographer::GetInstance(), and impeller::android::Choreographer::IsAvailableOnPlatform().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| ChoreographerIsAvailable | |||
| ) |
Definition at line 101 of file toolkit_android_unittests.cc.
References impeller::android::Choreographer::IsAvailableOnPlatform().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| GuardsAgainstZeroSizedDescriptors | |||
| ) |
Definition at line 30 of file toolkit_android_unittests.cc.
References impeller::android::HardwareBufferDescriptor::MakeForSwapchainImage().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| HardwareBufferNullIDIfAPIUnavailable | |||
| ) |
Definition at line 62 of file toolkit_android_unittests.cc.
References DISABLE_ANDROID_PROC, and impeller::android::HardwareBuffer::GetSystemUniqueID().
| impeller::android::testing::TEST | ( | ToolkitAndroidTest | , |
| SurfacControlsAreAvailable | |||
| ) |
Definition at line 94 of file toolkit_android_unittests.cc.
References impeller::android::SurfaceControl::IsAvailableOnPlatform().