Signed-off-by: Chris Michael <cp.michael@samsung.com>
*/
EAPI struct wl_display *ecore_wl2_display_get(Ecore_Wl2_Display *display);
+/**
+ * Retrieve the wl_shm from a given Ecore_Wl2_Display
+ *
+ * @param display The Ecore_Wl2_Display for which to retrieve the existing
+ * Wayland shm interface from
+ *
+ * @return The wl_shm which this Ecore_Wl2_Display is using
+ *
+ * @ingroup Ecore_Wl2_Display_Group
+ */
+EAPI struct wl_shm *ecore_wl2_display_shm_get(Ecore_Wl2_Display *display);
+
/* # ifdef __cplusplus */
/* } */
/* # endif */
EINA_SAFETY_ON_NULL_RETURN_VAL(display, NULL);
return display->wl.display;
}
+
+EAPI struct wl_shm *
+ecore_wl2_display_shm_get(Ecore_Wl2_Display *display)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(display, NULL);
+ return display->wl.shm;
+}