[hwc] make minor comment changes 15/156215/1
authorSergey Sizonov <s.sizonov@samsung.com>
Tue, 17 Oct 2017 09:42:42 +0000 (12:42 +0300)
committerSergey Sizonov <s.sizonov@samsung.com>
Tue, 17 Oct 2017 09:42:56 +0000 (12:42 +0300)
Add some comments as a part of the work around
video support for Vendor Driven HWC.

Change-Id: I1643c2456852d1b9fc4ad537b4060efa8543c640
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
include/tdm_types.h

index 0c68217..7602b84 100644 (file)
@@ -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