compositor-drm: Fully account for buffer transformation

In our new and improved helper to determine the src/dest values for a
buffer on a given plane, make sure we account for all buffer
transformations, including viewport clipping.

Rather than badly open-coding it ourselves, just use the helper which
does exactly this.

Signed-off-by: Daniel Stone <>
Reviewed-by: Pekka Paalanen <>
Reported-by: Tiago Gomes <>
Tested-by: Emre Ucan <>
1 file changed