</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>
-
<request name="create_commit_feedback">
<description summary="">
Request a notification when a display server requests a hwc_commit to the device(Hardware).
};
static void
-compositor_tizen_hwc_cb_commit_feedback(struct wl_client *client,
+compositor_tizen_hwc_cb_create_commit_feedback(struct wl_client *client,
struct wl_resource *tizen_hwc_resource,
struct wl_resource *surface_resource,
uint32_t id,
static const struct tizen_hwc_interface compositor_tizen_hwc_implementation = {
.destroy = compositor_tizen_hwc_cb_destroy,
- .commit_feedback = compositor_tizen_hwc_cb_commit_feedback
+ .create_commit_feedback = compositor_tizen_hwc_cb_create_commit_feedback
};
static void
struct wl_surface *surface_res = wl_compositor_create_surface(client.GetGlobalResWlCompositor());
struct tizen_hwc *tizen_hwc = client.GetGlobalResTizenHwc();
- struct tizen_hwc_commit_feedback *hwc_commit_feedback = tizen_hwc_commit_feedback(tizen_hwc, surface_res, 1);
+ struct tizen_hwc_commit_feedback *hwc_commit_feedback = tizen_hwc_create_commit_feedback(tizen_hwc, surface_res, 1);
tizen_hwc_commit_feedback_add_listener(hwc_commit_feedback,
&hwc_commit_feedback_cb_listener,
&client);