Lines Matching refs:wsurface
222 weston_desktop_surface_committed(struct weston_surface *wsurface, in weston_desktop_surface_committed() argument
225 struct weston_desktop_surface *surface = wsurface->committed_private; in weston_desktop_surface_committed()
244 struct weston_surface *wsurface, in weston_desktop_surface_create() argument
262 surface->surface = wsurface; in weston_desktop_surface_create()
270 wsurface->committed = weston_desktop_surface_committed; in weston_desktop_surface_create()
271 wsurface->committed_private = surface; in weston_desktop_surface_create()
335 weston_surface_is_desktop_surface(struct weston_surface *wsurface) in weston_surface_is_desktop_surface() argument
337 return wsurface->committed == weston_desktop_surface_committed; in weston_surface_is_desktop_surface()
341 weston_surface_get_desktop_surface(struct weston_surface *wsurface) in weston_surface_get_desktop_surface() argument
343 if (!weston_surface_is_desktop_surface(wsurface)) in weston_surface_get_desktop_surface()
345 return wsurface->committed_private; in weston_surface_get_desktop_surface()