Implementation of the SurfaceRef handler. The set method sets the ref object's value and then
propagates the surface to all registered listeners. The listen method either queues a listener, if the handle is not yet
ready, or calls back the listener immediately, if the handle is already populated with a surface. The _ref method provides access
to the underlying mutable ref object; the SurfaceComponent uses this when it is created inside a SurfaceProvider. None of this
code is public facing.
Implementation of the SurfaceRef handler. The
set
method sets the ref object's value and then propagates the surface to all registered listeners. Thelisten
method either queues a listener, if the handle is not yet ready, or calls back the listener immediately, if the handle is already populated with a surface. The_ref
method provides access to the underlying mutable ref object; the SurfaceComponent uses this when it is created inside a SurfaceProvider. None of this code is public facing.