Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
impeller::android::testing::FakeSurfaceControl Class Reference
Inheritance diagram for impeller::android::testing::FakeSurfaceControl:
impeller::android::SurfaceControl

Public Member Functions

bool IsValid () const override
 
ASurfaceControl * GetHandle () const override
 
bool RemoveFromParent () const override
 Remove the surface control from the hierarchy of nodes presented by the system compositor.
 
- Public Member Functions inherited from impeller::android::SurfaceControl
virtual ~SurfaceControl ()=default
 Removes the surface control from the presentation hierarchy managed by the system compositor and release the client side reference to the control. At this point, it may be collected when the compositor is also done using it.
 

Additional Inherited Members

- Static Public Member Functions inherited from impeller::android::SurfaceControl
static bool IsAvailableOnPlatform ()
 
static std::unique_ptr< SurfaceControlCreate (ANativeWindow *window, const char *debug_name=nullptr)
 Creates a new surface control and adds it as a child of the given window.
 

Detailed Description

Definition at line 24 of file ahb_swapchain_vk_unittests.cc.

Member Function Documentation

◆ GetHandle()

ASurfaceControl * impeller::android::testing::FakeSurfaceControl::GetHandle ( ) const
inlineoverridevirtual

Implements impeller::android::SurfaceControl.

Definition at line 28 of file ahb_swapchain_vk_unittests.cc.

28{ return nullptr; }

◆ IsValid()

bool impeller::android::testing::FakeSurfaceControl::IsValid ( ) const
inlineoverridevirtual

Implements impeller::android::SurfaceControl.

Definition at line 26 of file ahb_swapchain_vk_unittests.cc.

26{ return true; }

◆ RemoveFromParent()

bool impeller::android::testing::FakeSurfaceControl::RemoveFromParent ( ) const
inlineoverridevirtual

Remove the surface control from the hierarchy of nodes presented by the system compositor.

This is called implicitly when the surface control is collected.

Returns
true If the control will be removed from the hierarchy of nodes presented by the system compositor.

Implements impeller::android::SurfaceControl.

Definition at line 30 of file ahb_swapchain_vk_unittests.cc.

30{ return true; }

The documentation for this class was generated from the following file: