2019-08-06 05:36:50 -07:00
|
|
|
#ifndef _ECORE_WL2_INTERNAL_H
|
|
|
|
# define _ECORE_WL2_INTERNAL_H
|
|
|
|
|
|
|
|
# ifdef EAPI
|
|
|
|
# undef EAPI
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# ifdef _WIN32
|
|
|
|
# ifdef EFL_BUILD
|
|
|
|
# ifdef DLL_EXPORT
|
|
|
|
# define EAPI __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define EAPI __declspec(dllimport)
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# ifdef __GNUC__
|
|
|
|
# if __GNUC__ >= 4
|
|
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
|
|
|
|
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE; /** @since 1.20 */
|
|
|
|
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE; /** @since 1.20 */
|
|
|
|
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST; /** @since 1.20 */
|
|
|
|
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE; /** @since 1.20 */
|
|
|
|
|
|
|
|
EAPI void ecore_wl2_window_rotation_change_prepare_send(Ecore_Wl2_Window *window, int rot, int w, int h, Eina_Bool resize);
|
|
|
|
EAPI void ecore_wl2_window_rotation_change_prepare_done_send(Ecore_Wl2_Window *window, int rot);
|
|
|
|
EAPI void ecore_wl2_window_rotation_change_request_send(Ecore_Wl2_Window *window, int rot);
|
|
|
|
EAPI void ecore_wl2_window_rotation_change_done_send(Ecore_Wl2_Window *window, int rot, int w, int h);
|
|
|
|
|
2019-08-06 05:49:38 -07:00
|
|
|
EAPI void ecore_wl2_window_false_commit(Ecore_Wl2_Window *window);
|
2019-08-06 05:51:05 -07:00
|
|
|
EAPI Eina_Bool ecore_wl2_buffer_fit(Ecore_Wl2_Buffer *b, int w, int h);
|
2019-08-06 05:49:38 -07:00
|
|
|
|
2019-11-05 06:09:14 -08:00
|
|
|
EAPI void ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigned int count);
|
2019-11-05 06:10:48 -08:00
|
|
|
EAPI Eina_Bool ecore_wl2_buffer_init(Ecore_Wl2_Display *ewd, Ecore_Wl2_Buffer_Type types);
|
2019-11-05 06:11:35 -08:00
|
|
|
EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha);
|
2019-11-05 06:11:56 -08:00
|
|
|
EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
|
2019-11-05 06:12:21 -08:00
|
|
|
EAPI struct wl_buffer *ecore_wl2_buffer_wl_buffer_get(Ecore_Wl2_Buffer *buf);
|
2019-11-05 06:12:43 -08:00
|
|
|
EAPI void *ecore_wl2_buffer_map(Ecore_Wl2_Buffer *buf, int *w, int *h, int *stride);
|
2019-11-05 06:13:06 -08:00
|
|
|
EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf);
|
2019-11-05 06:13:46 -08:00
|
|
|
EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
|
2019-11-05 06:14:16 -08:00
|
|
|
EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b);
|
2019-11-05 06:14:48 -08:00
|
|
|
EAPI void ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b);
|
2019-11-05 06:15:08 -08:00
|
|
|
EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
|
2019-11-05 06:15:28 -08:00
|
|
|
EAPI Eina_Bool ecore_wl2_buffer_busy_get(Ecore_Wl2_Buffer *buffer);
|
2019-11-05 06:15:48 -08:00
|
|
|
EAPI void ecore_wl2_buffer_busy_set(Ecore_Wl2_Buffer *buffer);
|
2019-11-05 06:16:11 -08:00
|
|
|
EAPI int ecore_wl2_buffer_age_get(Ecore_Wl2_Buffer *buffer);
|
2019-11-05 06:16:31 -08:00
|
|
|
EAPI void ecore_wl2_buffer_age_set(Ecore_Wl2_Buffer *buffer, int age);
|
2019-11-05 06:17:02 -08:00
|
|
|
EAPI void ecore_wl2_buffer_age_inc(Ecore_Wl2_Buffer *buffer);
|
2019-11-05 06:09:14 -08:00
|
|
|
|
2019-11-05 06:17:40 -08:00
|
|
|
EAPI Ecore_Wl2_Surface *ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha);
|
2019-11-05 06:18:26 -08:00
|
|
|
EAPI void ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface);
|
2019-11-05 06:19:00 -08:00
|
|
|
EAPI void ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool alpha);
|
2019-11-05 06:19:21 -08:00
|
|
|
EAPI void *ecore_wl2_surface_data_get(Ecore_Wl2_Surface *surface, int *w, int *h);
|
2019-11-05 06:19:41 -08:00
|
|
|
EAPI int ecore_wl2_surface_assign(Ecore_Wl2_Surface *surface);
|
2019-11-05 06:20:02 -08:00
|
|
|
EAPI void ecore_wl2_surface_post(Ecore_Wl2_Surface *surface, Eina_Rectangle *rects, unsigned int count);
|
2019-11-05 06:17:40 -08:00
|
|
|
|
2019-08-06 05:36:50 -07:00
|
|
|
# undef EAPI
|
|
|
|
# define EAPI
|
|
|
|
|
|
|
|
#endif
|