Lines Matching full:rotation
47 * Returns the rotation being performed by the server. If the driver indicates
50 static Rotation
55 return crtc->rotation; in xf86_crtc_cursor_rotation()
62 xf86_crtc_rotate_coord(Rotation rotation, in xf86_crtc_rotate_coord() argument
68 switch (rotation & 0xf) { in xf86_crtc_rotate_coord()
86 if (rotation & RR_Reflect_X) in xf86_crtc_rotate_coord()
88 if (rotation & RR_Reflect_Y) in xf86_crtc_rotate_coord()
98 xf86_crtc_rotate_coord_back(Rotation rotation, in xf86_crtc_rotate_coord_back() argument
105 if (rotation & RR_Reflect_X) in xf86_crtc_rotate_coord_back()
107 if (rotation & RR_Reflect_Y) in xf86_crtc_rotate_coord_back()
110 switch (rotation & 0xf) { in xf86_crtc_rotate_coord_back()
270 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); in xf86_crtc_convert_cursor_to_argb() local
276 xf86_crtc_rotate_coord(rotation, in xf86_crtc_convert_cursor_to_argb()
394 switch (crtc->rotation & 0xf) { in xf86_crtc_transform_cursor_position()
416 if (crtc->rotation & RR_Reflect_Y) in xf86_crtc_transform_cursor_position()
418 if (crtc->rotation & RR_Reflect_X) in xf86_crtc_transform_cursor_position()
421 if (crtc->rotation & RR_Reflect_X) in xf86_crtc_transform_cursor_position()
423 if (crtc->rotation & RR_Reflect_Y) in xf86_crtc_transform_cursor_position()
430 xf86_crtc_rotate_coord_back(crtc->rotation, cursor_info->MaxWidth, in xf86_crtc_transform_cursor_position()
449 if (crtc->rotation != RR_Rotate_0) in xf86_crtc_set_cursor_position()
491 * Load a two-color cursor into a crtc, performing rotation as needed
500 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); in xf86_crtc_load_cursor_image() local
504 if (rotation == RR_Rotate_0) in xf86_crtc_load_cursor_image()
516 xf86_crtc_rotate_coord(rotation, in xf86_crtc_load_cursor_image()
613 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); in xf86_crtc_load_cursor_argb() local
617 xf86_crtc_rotate_coord(rotation, image_width, image_height, x, y, in xf86_crtc_load_cursor_argb()