class ClientProxy
Defined at line 35 of file ../../src/graphics/display/drivers/coordinator/client-proxy.h
Instances must be accessed on the Coordinator's driver dispatcher.
Public Members
static const uint32_t kMaxImageHandles
Public Methods
void ClientProxy (Controller * controller, ClientPriority client_priority, ClientId client_id)
`client_id` is assigned by the Controller to distinguish clients.
`controller` must outlive ClientProxy.
Defined at line 236 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void ~ClientProxy ()
Defined at line 241 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
zx_status_t Init (inspect::Node * parent_node, fidl::ServerEnd<fuchsia_hardware_display::Coordinator> server_end, fidl::ClientEnd<fuchsia_hardware_display::CoordinatorListener> coordinator_listener_client_end)
Defined at line 189 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
zx::result<> InitForTesting (fidl::ServerEnd<fuchsia_hardware_display::Coordinator> server_end, fidl::ClientEnd<fuchsia_hardware_display::CoordinatorListener> coordinator_listener_client_end)
Defined at line 220 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void TearDown ()
Tears down the `Client` instance.
Must be called on the driver dispatcher.
Defined at line 184 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void OnDisplayVsync (display::DisplayId display_id, zx_instant_mono_t timestamp, display::DriverConfigStamp driver_config_stamp)
Defined at line 128 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void OnDisplaysChanged (std::span<const display::DisplayId> added_display_ids, std::span<const display::DisplayId> removed_display_ids)
Defined at line 68 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void SetOwnership (bool is_owner)
Defined at line 39 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void OnCaptureComplete ()
Defined at line 110 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void ReapplyConfig ()
See `Client::ReapplyConfig()`.
Defined at line 83 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void AcknowledgeVsync (display::VsyncAckCookie ack_cookie)
Must be called on the driver dispatcher.
Defined at line 119 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void EnableCapture (bool enable)
Defined at line 161 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void OnClientDead ()
Defined at line 166 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
void ReapplySpecialConfigs ()
This function restores client configurations that are not part of
the standard configuration. These configurations are typically one-time
settings that need to get restored once the client takes control again.
Defined at line 74 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc
ClientId client_id ()
Defined at line 78 of file ../../src/graphics/display/drivers/coordinator/client-proxy.h
ClientPriority client_priority ()
Defined at line 79 of file ../../src/graphics/display/drivers/coordinator/client-proxy.h
inspect::Node & node ()
Defined at line 81 of file ../../src/graphics/display/drivers/coordinator/client-proxy.h
std::list<ConfigStampPair> & pending_applied_config_stamps ()
Defined at line 87 of file ../../src/graphics/display/drivers/coordinator/client-proxy.h
void UpdateConfigStampMapping (ConfigStampPair stamps)
Add a new mapping entry from `stamps.controller_stamp` to `stamp.config_stamp`.
Controller should guarantee that `stamps.controller_stamp` is strictly
greater than existing pending controller stamps.
Defined at line 173 of file ../../src/graphics/display/drivers/coordinator/client-proxy.cc