Thanks Daniel. Do you know if wl_output instances are decoupled from each
other, when it comes to display refresh?
The wl_output geometry info hints that each output can be thought of as a
region in a larger compositor canvas, given the logical x/y fields in the
geometry. Is the compositor able to handle the repaint scheduling in a
refresh-aware way?
I'm trying to get a better understanding of how these pieces interact to
maximize draw time but still hit the glass every frame. The various blog posts
and documentation out there are pretty clear when it comes to drawing to a
single physical display, but less so when multiple displays are in use.
On Tuesday, June 13, 2023 at 03:42:41 AM PDT, Daniel Stone
<[email protected]> wrote:
Hi,
On Tue, 13 Jun 2023 at 10:20, Pekka Paalanen <[email protected]> wrote:
On Tue, 13 Jun 2023 01:11:44 +0000 (UTC)
Joe M <[email protected]> wrote:
> As I understand, there is one global wl_display. Is there always one
> wl_compositor too?
That is inconsequential.
Yeah, I think the really consequential thing is that a wl_display really just
represents a connection to a Wayland server (aka compositor).
Display targets (e.g. 'the HDMI connector on the left', 'the DSI panel') are
represented by wl_output objects. There is one of those for each output.
Cheers,Daniel