[PATCH] protocol: Change wl_surface.damage to be in buffer coordinates.

Pekka Paalanen ppaalanen at gmail.com
Wed Feb 26 22:37:39 PST 2014


On Wed, 26 Feb 2014 21:13:16 -0600
Jason Ekstrand <jason at jlekstrand.net> wrote:

> Technically, wl_surface.damage is supposed to be called between
> wl_surface.attach and wl_surface.commit.  However, I think Weston is fairly
> forgiving on this point and it might work.

The order between damage, attach, etc. must be irrelevant, as long
as commit is the last request. This became when we added the commit
request. If there is wording in the spec saying otherwise, I suggest it
should be fixed.

The commit request was introduced at 0.95.0-40-g3962402, which is
before 1.0. From the very beginning the idea was to allow free
ordering, and if a compositor properly implements the double-buffered
state mechanism, the ordering is automatically free.


Thanks,
pq


More information about the wayland-devel mailing list