forked from enlightenment/efl
ecore-wl2: Move ecore_wl2_window_buffer_attach to be internal
As this function is not used outside of EFL itself, it can be moved to be internal and not an exposed API function ref T8013
This commit is contained in:
parent
3b8648257b
commit
40b4c54467
|
@ -2049,24 +2049,6 @@ EAPI Ecore_Wl2_Frame_Cb_Handle *ecore_wl2_window_frame_callback_add(Ecore_Wl2_Wi
|
|||
*/
|
||||
EAPI void ecore_wl2_window_frame_callback_del(Ecore_Wl2_Frame_Cb_Handle *handle);
|
||||
|
||||
/**
|
||||
* Attach a buffer to a window
|
||||
*
|
||||
* Note that the GL stack my attach buffers to a surface - we should call this
|
||||
* function at that time (with a NULL buffer) to track whether a surface
|
||||
* has a valid buffer. That is, call with implicit true and buffer NULL at
|
||||
* the time of glSwapBuffers.
|
||||
*
|
||||
* @param window The target window
|
||||
* @param buffer The buffer to attach
|
||||
* @param x X offset from corner
|
||||
* @param y Y offset from corner
|
||||
* @param implicit True if an external library is doing the actual attaching
|
||||
*
|
||||
* @since 1.21
|
||||
*/
|
||||
EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
|
||||
|
||||
/**
|
||||
* Push buffered wayland protocol to compositor
|
||||
*
|
||||
|
|
|
@ -71,6 +71,24 @@ EAPI void ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf);
|
|||
EAPI Ecore_Wl2_Window *ecore_wl2_surface_window_get(Ecore_Wl2_Surface *surface);
|
||||
EAPI Eina_Bool ecore_wl2_surface_alpha_get(Ecore_Wl2_Surface *surface);
|
||||
|
||||
/**
|
||||
* Attach a buffer to a window
|
||||
*
|
||||
* Note that the GL stack my attach buffers to a surface - we should call this
|
||||
* function at that time (with a NULL buffer) to track whether a surface
|
||||
* has a valid buffer. That is, call with implicit true and buffer NULL at
|
||||
* the time of glSwapBuffers.
|
||||
*
|
||||
* @param window The target window
|
||||
* @param buffer The buffer to attach
|
||||
* @param x X offset from corner
|
||||
* @param y Y offset from corner
|
||||
* @param implicit True if an external library is doing the actual attaching
|
||||
*
|
||||
* @since 1.21
|
||||
*/
|
||||
EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
|
||||
|
||||
# undef EAPI
|
||||
# define EAPI
|
||||
|
||||
|
|
Loading…
Reference in New Issue