From be9781c2be4fc2b6d19b7c4436d892b2bc61adee Mon Sep 17 00:00:00 2001 From: Sergey Sizonov Date: Tue, 17 Oct 2017 12:42:42 +0300 Subject: [PATCH 1/1] [hwc] make minor comment changes Add some comments as a part of the work around video support for Vendor Driven HWC. Change-Id: I1643c2456852d1b9fc4ad537b4060efa8543c640 Signed-off-by: Sergey Sizonov --- include/tdm_types.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/tdm_types.h b/include/tdm_types.h index 0c68217..7602b84 100644 --- a/include/tdm_types.h +++ b/include/tdm_types.h @@ -157,15 +157,15 @@ typedef enum { /* Set by the HWC after tdm_output_validate(). * * If the HWC decided that it doesn't want/can't to continue the composition for - * this window through a hardware overlay or other similar way it'll change + * the window through a hardware overlay or other similar way it'll change * a type to the TDM_COMPOSITION_CLIENT_CANDIDATE type. * * This transition can happen only if the window has the TDM_COMPOSITION_DEVICE - * type already. + * or the TDM_COMPOSITION_VIDEO type already. * - * If an user changed type of a window from the TDM_COMPOSITION_DEVICE type to the - * the TDM_COMPOSITION_CLIENT type, the type will be rejected to the - * TDM_COMPOSITION_CLIENT_CANDIDATE type. + * If an user changed type of a window from the TDM_COMPOSITION_DEVICE or the + * TDM_COMPOSITION_VIDEO type to the the TDM_COMPOSITION_CLIENT type, the type + * will be rejected to the TDM_COMPOSITION_CLIENT_CANDIDATE type. * * The user has to composite this window itself. * @@ -175,10 +175,10 @@ typedef enum { * TDM_COMPOSITION_CLIENT_CANDIDATE type. * * This transitional state is used to get rid of blinking at a transition from - * the TDM_COMPOSITION_DEVICE type to the TDM_COMPOSITION_CLIENT type where the hw - * has to wait till a buffer, which was on a hw overlay, get composited to the - * fb_target and only after this happens unset(or set another window on) this - * hw overlay. + * the TDM_COMPOSITION_DEVICE/TDM_COMPOSITION_VIDEO type to the + * TDM_COMPOSITION_CLIENT type where the hw has to wait till a buffer, which was + * on a hw overlay, get composited to the fb_target and only after this happens + * unset(or set another window on) this hw overlay. * * User has to inform the HWC (the HWC got no way to know when it happens) after a buffer, * which was on a hw overlay, get composited to the fb_target by setting a type of this -- 2.7.4