Re: [PATCH v16 08/23] compositor-drm: Use plane_coords_for_view for cursor

2018-07-06 Thread Daniel Stone
Hi Pekka, On Fri, 6 Jul 2018 at 14:14, Pekka Paalanen wrote: > On Thu, 5 Jul 2018 18:16:35 +0100 Daniel Stone wrote: > > Use the new helper to populate the cursor state as well, with some > > special-case handling to account for how we always upload a full-size > > BO. > > > > As this now

Re: [PATCH v16 08/23] compositor-drm: Use plane_coords_for_view for cursor

2018-07-06 Thread Pekka Paalanen
On Thu, 5 Jul 2018 18:16:35 +0100 Daniel Stone wrote: > Use the new helper to populate the cursor state as well, with some > special-case handling to account for how we always upload a full-size > BO. > > As this now fully takes care of buffer transformations, HiDPI client > cursors work, and

[PATCH v16 08/23] compositor-drm: Use plane_coords_for_view for cursor

2018-07-05 Thread Daniel Stone
Use the new helper to populate the cursor state as well, with some special-case handling to account for how we always upload a full-size BO. As this now fully takes care of buffer transformations, HiDPI client cursors work, and we also clip the cursor plane completely to CRTC bounds.