path: root/src/lib/ecore_wl2/ecore_wl2_internal.h
diff options
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_internal.h')
1 files changed, 60 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h
index 460d5fc..2b6a965 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -40,6 +40,66 @@ EAPI void ecore_wl2_window_rotation_change_done_send(Ecore_Wl2_Window *window, i
40EAPI void ecore_wl2_window_false_commit(Ecore_Wl2_Window *window); 40EAPI void ecore_wl2_window_false_commit(Ecore_Wl2_Window *window);
41EAPI Eina_Bool ecore_wl2_buffer_fit(Ecore_Wl2_Buffer *b, int w, int h); 41EAPI Eina_Bool ecore_wl2_buffer_fit(Ecore_Wl2_Buffer *b, int w, int h);
42 42
43EAPI void ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigned int count);
44EAPI Eina_Bool ecore_wl2_buffer_init(Ecore_Wl2_Display *ewd, Ecore_Wl2_Buffer_Type types);
45EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha);
46EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
47EAPI struct wl_buffer *ecore_wl2_buffer_wl_buffer_get(Ecore_Wl2_Buffer *buf);
48EAPI void *ecore_wl2_buffer_map(Ecore_Wl2_Buffer *buf, int *w, int *h, int *stride);
49EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf);
50EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
51EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b);
52EAPI void ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b);
53EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
54EAPI Eina_Bool ecore_wl2_buffer_busy_get(Ecore_Wl2_Buffer *buffer);
55EAPI void ecore_wl2_buffer_busy_set(Ecore_Wl2_Buffer *buffer);
56EAPI int ecore_wl2_buffer_age_get(Ecore_Wl2_Buffer *buffer);
57EAPI void ecore_wl2_buffer_age_set(Ecore_Wl2_Buffer *buffer, int age);
58EAPI void ecore_wl2_buffer_age_inc(Ecore_Wl2_Buffer *buffer);
60EAPI Ecore_Wl2_Surface *ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha);
61EAPI void ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface);
62EAPI void ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool alpha);
63EAPI void *ecore_wl2_surface_data_get(Ecore_Wl2_Surface *surface, int *w, int *h);
64EAPI int ecore_wl2_surface_assign(Ecore_Wl2_Surface *surface);
65EAPI void ecore_wl2_surface_post(Ecore_Wl2_Surface *surface, Eina_Rectangle *rects, unsigned int count);
66EAPI void ecore_wl2_surface_flush(Ecore_Wl2_Surface *surface, Eina_Bool purge);
67EAPI void ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window, Eina_Bool purge);
68EAPI Ecore_Wl2_Buffer *ecore_wl2_surface_buffer_create(Ecore_Wl2_Surface *surface);
69EAPI int ecore_wl2_surface_manager_add(Ecore_Wl2_Surface_Interface *intf);
70EAPI void ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf);
71EAPI Ecore_Wl2_Window *ecore_wl2_surface_window_get(Ecore_Wl2_Surface *surface);
72EAPI Eina_Bool ecore_wl2_surface_alpha_get(Ecore_Wl2_Surface *surface);
75 * Attach a buffer to a window
76 *
77 * Note that the GL stack my attach buffers to a surface - we should call this
78 * function at that time (with a NULL buffer) to track whether a surface
79 * has a valid buffer. That is, call with implicit true and buffer NULL at
80 * the time of glSwapBuffers.
81 *
82 * @param window The target window
83 * @param buffer The buffer to attach
84 * @param x X offset from corner
85 * @param y Y offset from corner
86 * @param implicit True if an external library is doing the actual attaching
87 *
88 * @since 1.21
89 */
90EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
93 * Set a buffer transform on a given window
94 *
95 * @param window The window on which to set the buffer transform
96 * @param transform The buffer transform being requested
97 *
98 * @ingroup Ecore_Wl2_Window_Group
99 * @since 1.20
100 */
101EAPI void ecore_wl2_window_buffer_transform_set(Ecore_Wl2_Window *window, int transform);
43# undef EAPI 103# undef EAPI
44# define EAPI 104# define EAPI
45 105