Searched refs:sxf2 (Results 1 – 1 of 1) sorted by relevance
/third_party/weston/libweston/backend-drm/ |
D | state-helpers.c | 184 float sxf1, syf1, sxf2, syf2; in drm_plane_state_coords_for_view() local 221 weston_view_from_global_float(ev, box->x2, box->y2, &sxf2, &syf2); in drm_plane_state_coords_for_view() 222 weston_surface_to_buffer_float(ev->surface, sxf2, syf2, &sxf2, &syf2); in drm_plane_state_coords_for_view() 227 if (sxf2 < sxf1) { in drm_plane_state_coords_for_view() 229 sxf1 = sxf2; in drm_plane_state_coords_for_view() 230 sxf2 = tmp; 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()
|