- * Upon tdm_output_hwc_validate(), the device may request a change from this type to
- * TDM_COMPOSITION_CLIENT or TDM_COMPOSITION_DEVICE_CANDIDATE. */
- TDM_COMPOSITION_DEVICE = 3,
-
- /** Similar to DEVICE, but the position of this layer may also be set
- * asynchronously through layer_set_cursor_position. If this functionality is not
- * supported on a layer that the client sets to TDM_COMPOSITION_CURSOR, the
- * device must request that the composition type of that layer is changed to
- * TDM_COMPOSITION_CLIENT upon the next call to tdm_output_hwc_validate().
- *
- * Upon tdm_output_hwc_validate(), the device may request a change from this type to
- * either TDM_COMPOSITION_DEVICE or TDM_COMPOSITION_CLIENT. Changing to
- * TDM_COMPOSITION_DEVICE will prevent the use of layer_set_cursor_position but
- * still permit the device to composite the layer. */
- TDM_COMPOSITION_CURSOR = 4,
-
- /** This type is for the VIDEO window which can be set to the reserved hw overlay
- * which is assigned by the device.
+ * The client sets this composition type to the cursor window before requesting
+ * the tdm_hwc_validate.
+ * If the backend does not support the cursor hw overlay, the backend can change
+ * the comopsition type into the TDM_HWC_WIN_COMPOSITION_CLIENT.
+ */
+ TDM_HWC_WIN_COMPOSITION_CURSOR = 4,
+
+ /** The compostion type for an window to be set to the video hw overlay.