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< SurfaceControl > | Create (ANativeWindow *window, const char *debug_name=nullptr) |
| Creates a new surface control and adds it as a child of the given window. | |
Definition at line 24 of file ahb_swapchain_vk_unittests.cc.
|
inlineoverridevirtual |
Implements impeller::android::SurfaceControl.
Definition at line 28 of file ahb_swapchain_vk_unittests.cc.
|
inlineoverridevirtual |
Implements impeller::android::SurfaceControl.
Definition at line 26 of file ahb_swapchain_vk_unittests.cc.
|
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.
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.