tizen_surface: Add tizen_surface_shm interface into tizen_policy. 34/69834/3
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 13 May 2016 12:33:33 +0000 (21:33 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 9 Jun 2016 13:33:06 +0000 (22:33 +0900)
The tizen surface shm flusher is to allow the client to destroy
the wl_shm_buffer if it's possible.

Change-Id: I4c3216352746a884ee34cce6806819416e136a8a

protocol/tizen-surface.xml [new file with mode: 0644]

diff --git a/protocol/tizen-surface.xml b/protocol/tizen-surface.xml
new file mode 100644 (file)
index 0000000..b416703
--- /dev/null
@@ -0,0 +1,14 @@
+<protocol name="tizen_surface">
+  <interface name="tizen_surface_shm" version="1">
+    <request name="get_flusher">
+      <arg name="id" type="new_id" interface="tizen_surface_shm_flusher" summary=""/>
+      <arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
+    </request>
+  </interface>
+
+  <interface name="tizen_surface_shm_flusher" version="1">
+    <request name="destroy" type="destructor" />
+    <event name="flush">
+    </event>
+  </interface>
+</protocol>