[PATCH 1/4 v2 wayland] add wl_surface attach2 to support scaling
Zhao Halley
halley.zhao at intel.com
Thu Jun 7 02:42:51 PDT 2012
---
protocol/wayland.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 67ece1b..a15b5d0 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -617,6 +617,21 @@
<arg name="y" type="int"/>
</request>
+ <request name="attach2">
+ <description summary="set the surface contents">
+ Copy the contents of a buffer into this surface with scaling support.
+ The x and y arguments specify the location of the new buffers upper left
+ corner, relative to the old buffers upper left corner; dst_w and dst_y
+ arguments specify the target size on display.
+ </description>
+
+ <arg name="buffer" type="object" interface="wl_buffer"/>
+ <arg name="x" type="int"/>
+ <arg name="y" type="int"/>
+ <arg name="dst_w" type="int"/>
+ <arg name="dst_h" type="int"/>
+ </request>
+
<request name="damage">
<description summary="mark part of the surface damaged">
After attaching a new buffer, this request is used to describe
--
1.7.5.4
More information about the wayland-devel
mailing list