compositor-drm: Rename drm_sprite to drm_plane
authorDaniel Stone <daniels@collabora.com>
Tue, 4 Apr 2017 16:54:34 +0000 (17:54 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 10 Apr 2017 11:01:00 +0000 (14:01 +0300)
commit08d4edf20d196d6dd1205a92f89b9f1e01e33d5d
treee8a282bbf6334a343904b1f46c1a09bf88d658f2
parent205c0a018ccf79c59f4b43ebb2b6df32103c32fd
compositor-drm: Rename drm_sprite to drm_plane

We make the differentiation where planes are an abstract framebuffer
with a position within a CRTC/output, and sprites are special cases of
planes that are neither the primary (base/framebuffer) nor cursor plane.

drm_sprite, OTOH, contains nothing that's actually specific to sprites,
and we end up duplicating a lot of code to deal with them, especially
when we come to use an entirely plane-based interface with atomic
modesetting.

Rename drm_sprite to drm_plane, to reflect that it's actually generic.

No functional changes.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
[Pekka: dropped the removal of an unrelated comment]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor-drm.c