commit 41d5b9d
Michael Forney
·
2013-06-21 08:36:13 +0000 UTC
parent d027243
surface: Add set_buffer_{transform,scale} stubs
1 files changed,
+14,
-0
+14,
-0
1@@ -212,6 +212,18 @@ static void commit(struct wl_client * client, struct wl_resource * resource)
2 wl_signal_emit(&surface->event_signal, &event);
3 }
4
5+void set_buffer_transform(struct wl_client * client,
6+ struct wl_resource * surface, int32_t transform)
7+{
8+ /* TODO: Implement */
9+}
10+
11+void set_buffer_scale(struct wl_client * client, struct wl_resource * surface,
12+ int32_t scale)
13+{
14+ /* TODO: Implement */
15+}
16+
17 struct wl_surface_interface surface_implementation = {
18 .destroy = &destroy,
19 .attach = &attach,
20@@ -220,6 +232,8 @@ struct wl_surface_interface surface_implementation = {
21 .set_opaque_region = &set_opaque_region,
22 .set_input_region = &set_input_region,
23 .commit = &commit,
24+ .set_buffer_transform = &set_buffer_transform,
25+ .set_buffer_scale = &set_buffer_scale
26 };
27
28 static void surface_destroy(struct wl_resource * resource)