compositor: Screenhoot into a client provided shm buffer

This moves the png writing part to the client and removes the gdk-pixbuf
dependency from the compositor.
This commit is contained in:
Kristian Høgsberg
2011-05-02 12:11:07 -04:00
parent b41d76c151
commit 8544903741
5 changed files with 117 additions and 51 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
<protocol name="screenshooter">
<interface name="screenshooter" version="1">
<request name="shoot"/>
<request name="shoot">
<arg name="output" type="object" interface="wl_output"/>
<arg name="buffer" type="object" interface="wl_buffer"/>
</request>
</interface>
</protocol>