mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-11 04:28:09 -05:00
protocol: Remove incorrect statement that attach must precede damage
The documentation for wl_surface.commit makes it clear that the application of damage follows attach during the commit, so it doesn't matter what order the app sends the requests. Many existing apps post damage before attaching a buffer already, and it's really quite reasonable to do so. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
b644594a2c
commit
a5ef9304fe
1 changed files with 2 additions and 4 deletions
|
|
@ -1095,10 +1095,8 @@
|
|||
<description summary="mark part of the surface damaged">
|
||||
This request is used to describe the regions where the pending
|
||||
buffer is different from the current surface contents, and where
|
||||
the surface therefore needs to be repainted. The pending buffer
|
||||
must be set by wl_surface.attach before sending damage. The
|
||||
compositor ignores the parts of the damage that fall outside of
|
||||
the surface.
|
||||
the surface therefore needs to be repainted. The compositor
|
||||
ignores the parts of the damage that fall outside of the surface.
|
||||
|
||||
Damage is double-buffered state, see wl_surface.commit.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue