Skip to content

compositor/native: Add more checks to maybe_assign_primary_plane()

Robert Mader requested to merge rmader/mutter:issue2126-1 into main

From the main commit:

Before scanning out the surface of a native client we have
to check the following attributes that influence the
relationship between buffer and the defined result on screen:
 - buffer scale
 - buffer transform
 - viewport

In the future we can loose these checks again in cases where the
display hardware supports the required operations (scaling, cropping
and rotating).

Related: #2126 (closed)


Todos:

  • more testing
  • write test clients?

Merge request reports