<protocol name="tizen_hwc">
<interface name="tizen_hwc" version="1">
- <request name="commit">
- <description summary="">
- Request a notification when a display server requests a hwc_commit to the device.
- This request is a tizen-specific one. The client wants to know about when a
- display server requests all displaying requests to the Hardware. In this case,
- the display server has to send wl_callback done event to the client after a hwc_commit
- is excuted when it gets the commit request from the client.
- </description>
- <arg name="callback" type="new_id" interface="wl_callback" summary="callback object for the commit request"/>
- </request>
+ <description summary="">
+ </description>
<request name="destroy" type="destructor">
<description summary="destroy tizen_hwc">
Destroy tizen_hwc.
</description>
</request>
+
+ <request name="commit_feedback">
+ <description summary="">
+ Request a notification when a display server requests a hwc_commit to the device(Hardware).
+ This request is a tizen-specific one. The client wants to know when a display server
+ executes the requests of the wl_surface to the device. In this case, the display server
+ has to send committed event to the client on tizen_commit_feedback interface after it
+ executed the hwc_commit to the device.
+ </description>
+ <arg name="surface" type="object" interface="wl_surface" summary="target surface object"/>
+ <arg name="id" type="new_id" interface="tizen_hwc_commit_feedback" summary="new feedback object"/>
+ <arg name="serial" type="uint" summary="serial number of request"/>
+ </request>
+ </interface>
+
+ <interface name="tizen_hwc_commit_feedback" version="1">
+ <description summary="">
+ </description>
+ <event name="committed">
+ <description summary="hwc commit was executed">
+ The notification event when a display server executed the hwc commit to the device.
+ </description>
+ <arg name="serial" type="uint" summary="serial number of commit request"/>
+ </event>
+ <event name="discarded">
+ <description summary="hwc commit was not executed">
+ The notification event when a display server didn't execute the hwc commit to the device.
+ </description>
+ <arg name="serial" type="uint" summary="serial number of commit request"/>
+ </event>
</interface>
</protocol>