Add possible capabilities CURSOR_PLANE and ARBITRARY_MODE
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 3 Apr 2014 00:53:46 +0000 (19:53 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 3 Apr 2014 04:25:27 +0000 (21:25 -0700)
commit9fc71519912c33a270f2579e1ef52b809faf130e
tree6bb0316b263271434d0fec419b656da54fb3b668
parenta4ab5422e9ae8699b0ce6f86241d6105ddac445f
Add possible capabilities CURSOR_PLANE and ARBITRARY_MODE

The CURSOR_PLANE capability indicates that the backend has a concept of a
cursor plane and can handle a cursor without compositing.  This is currently
only advertised by the DRM backend.

The ARBITRARY_MODE flag specifies that the backend is capable of switching to
virtually any resolution.  This is currently only advertised in the RDP
backend.  While it's a bit buggy right now, it should be capable of this.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/compositor-drm.c
src/compositor-rdp.c
src/compositor.h