Change-Id: Ife6bd3219ecd338ccec1b35f00f912ae5cc35e44
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
{
/*
* Sort planes, only 2 of them now, don't bother...
+ * The 3rd plane is for HW cursor (should always be on top).
*/
- assert(VIGS_MAX_PLANES == 2);
+ assert(VIGS_MAX_PLANES == 3);
if (planes[0].z_pos <= planes[1].z_pos) {
sorted_planes[0] = &planes[0];
sorted_planes[0] = &planes[1];
sorted_planes[1] = &planes[0];
}
+
+ sorted_planes[2] = &planes[2];
}
/*
/*
* Bump this whenever protocol changes.
*/
-#define VIGS_PROTOCOL_VERSION 20
+#define VIGS_PROTOCOL_VERSION 21
-#define VIGS_MAX_PLANES 2
+#define VIGS_MAX_PLANES 3
typedef signed char vigsp_s8;
typedef signed short vigsp_s16;