mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
protocol: clarify wl_shm_pool.resize
Add a note that the request only changes the size of the memory mapping and does not touch the mapped file. Signed-off-by: Max Ihlenfeldt <mihlenfeldt@igalia.com>
This commit is contained in:
parent
eca836add5
commit
8893573651
1 changed files with 6 additions and 0 deletions
|
|
@ -258,6 +258,12 @@
|
|||
for the pool from the file descriptor passed when the pool was
|
||||
created, but using the new size. This request can only be
|
||||
used to make the pool bigger.
|
||||
|
||||
This request only changes the amount of bytes that are mmapped
|
||||
by the server and does not touch the file corresponding to the
|
||||
file descriptor passed at creation time. It is the client's
|
||||
responsibility to ensure that the file is at least as big as
|
||||
the new pool size.
|
||||
</description>
|
||||
<arg name="size" type="int" summary="new size of the pool, in bytes"/>
|
||||
</request>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue