• Aaron Plattner's avatar
    xfree86/modes: Make cursor position transform a helper function · 57cd32e9
    Aaron Plattner authored
    When the driver can handle the crtc transform in hardware, it sets
    crtc->driverIsPerformingTransform, which turns off both the shadow
    layer and the cursor's position-transforming code.  However, some
    drivers actually do require the cursor position to still be
    transformed in these cases.  Move the cursor position transform into a
    helper function that can be called by such drivers.
    Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
xf86Cursors.c 18.7 KB