pub fn install_offer(ctx: &Context, viewport: ViewportId, offer: Offer)Expand description
Records what a window’s platform offers without joining it: no surface is made, only the negotiation and its state (a test’s fake compositor, or a host presenting the image surface itself). The viewport’s widget then sends the image to that surface: use it where something presents it.