class Device
Defined at line 6996 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h
The Magma Device protocol allow clients to learn about the hardware by making queries, such as
device and vendor IDs, and which client drivers are supported by the device's system driver.
To engage further with the device, clients may establish connections formed of channel pairs:
a primary channel for making requests (see Primary protocol below), and a secondary channel
for receiving notification messages (see Notification protocol below).
Public Methods
void ~Device ()
void Query (::fuchsia::gpu::magma::QueryId query_id, QueryCallback callback)
On success, returns a result either in a buffer or a simple value.
void Connect2 (uint64_t client_id, ::fidl::InterfaceRequest< ::fuchsia::gpu::magma::Primary> primary_channel, ::fidl::InterfaceRequest< ::fuchsia::gpu::magma::Notification> notification_channel)
Creates a connection to the device comprised of two IPC channels.
The primary channel is for the Primary protocol (see below). The notification channel is
used for vendor-specific messages which are sent only in the reverse (server-client)
direction, typically in response to client command completion.