compositor-drm: Support hardware scaling with drm planes
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 13 Jul 2012 19:25:07 +0000 (15:25 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Jul 2012 20:44:23 +0000 (16:44 -0400)
commit3b00bae996e301d54c6323063346783d783a9636
tree030a5a005f4281b35f6e62a22d3571c775d78748
parent270a7cb02db88ba0adf8e2afb00b09fe20870788
compositor-drm: Support hardware scaling with drm planes

The kms planes support scaling, so try to detect transformations that
are just translations + scaling and program the kms plane accordingly.

In particular, this lets us fullscreen a yuv surfaces with the scale method
and have the compositor use a kms plane for scaling and color conversion.
src/compositor-drm.c