News for hackers. Stuff that matters.
Re:GTK: Introducing Graphics Offload by play_ac on Saturday November 18, 2023 @06:08PM (#38325782)
>There is, or we would not be having subsurfaces on Wayland or this entire discussion in the first place.

No. The subsurfaces in Wayland are only designed for two things:

1. Direct scan-out, as in TFA. (Because a subsurface can be directly translated to a dmabuf)

2. Embedding content from one toolkit/library into another. (Because without it, lots of glue code would be needed)

It's discouraged to use them otherwise, they would complicate things for no benefit.

>Are you seriously arguing that the only reason to using windows in Xorg is to have composition?

If you mean sub-windows, yes, that and consequently because of the way that XRDB worked. I don't see why you would ever use them just for input events within the same toolkit, they don't do anything special there.

There are no comments on this comment yet.