shm: Add request for resizing pools

This commit is contained in:
Ander Conselvan de Oliveira 2012-05-22 15:39:40 +03:00 committed by Kristian Høgsberg
parent 35a92ef83b
commit ff0d745674
2 changed files with 40 additions and 5 deletions

View file

@ -173,6 +173,16 @@
Destroy the pool.
</description>
</request>
<request name="resize">
<description summary="change the size of the pool mapping">
This request will cause the server to remap the backing memory
for the pool from the fd passed when the pool was creating but
using the new size.
</description>
<arg name="size" type="int"/>
</request>
</interface>
<interface name="wl_shm" version="1">