Skip to content
  • Vlad Zahorodnii's avatar
    platform/drm: Fix clipped HiDPI hardware cursors · 44dcb6d0
    Vlad Zahorodnii authored
    If an output is rotated, we will compute a transform matrix for the
    cursor plane to rotate its contents.
    
    In order to compute that matrix we need the rect of the cursor in the
    device-independent pixels, the scale factor and the output transform.
    
    The problem is that we provide a rect of the cursor in the native
    pixels. This may result in the cursor being partially or fully clipped.
    
    CCBUG: 424589
    (cherry picked from commit c8eeefbd)
    44dcb6d0