Home
last modified time | relevance | path

Searched refs:sxf1 (Results 1 – 1 of 1) sorted by relevance

/third_party/weston/libweston/backend-drm/
Dstate-helpers.c184 float sxf1, syf1, sxf2, syf2; in drm_plane_state_coords_for_view() local
219 weston_view_from_global_float(ev, box->x1, box->y1, &sxf1, &syf1); in drm_plane_state_coords_for_view()
220 weston_surface_to_buffer_float(ev->surface, sxf1, syf1, &sxf1, &syf1); in drm_plane_state_coords_for_view()
227 if (sxf2 < sxf1) { in drm_plane_state_coords_for_view()
228 double tmp = sxf1; in drm_plane_state_coords_for_view()
229 sxf1 = sxf2; in drm_plane_state_coords_for_view()
239 state->src_x = wl_fixed_from_double(sxf1) << 8; in drm_plane_state_coords_for_view()
241 state->src_w = wl_fixed_from_double(sxf2 - sxf1) << 8; in drm_plane_state_coords_for_view()