Skip to content
Commit 81912dc2 authored by Michael Olbrich's avatar Michael Olbrich Committed by Daniel Stone
Browse files

compositor: improve opacity handling for scaled surfaces



Currently, the opaque is discarded for all transformations other than a simple
translation, because correctly transforming the opaque area is not possible in
general.
However, there is one simple case that is probably the most common one: A fully
opaque surface that is translated and scaled. In this case the opaque area is
simply the new bounding box. So set the transformed opaque area accordingly.

Signed-off-by: default avatarMichael Olbrich <m.olbrich@pengutronix.de>
parent e2426960
Loading
Loading
Loading
Pipeline #603169 passed with stages
in 2 minutes and 17 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment