[M108 Migration][MM] Disable video hole for emulator 80/289880/7
authorKoyyani Maheswari <m.koyyani@samsung.com>
Wed, 15 Mar 2023 04:32:20 +0000 (10:02 +0530)
committerBot Blink <blinkbot@samsung.com>
Thu, 16 Mar 2023 11:36:25 +0000 (11:36 +0000)
There is issue when overlay and TBM are enabled together on emulator
profile. This patch disables overlay for emulator.

Reference: https://review.tizen.org/gerrit/278728/

Change-Id: I4160ad242bd63090f06a9ecfd084893877437b61
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
tizen_src/build/gn_chromiumefl.sh

index 52f08d0df83c78d90b9c52679cc8e5b68f180e2d..264be79f150c3e8c68ecec21a6f05274b36c2fca 100755 (executable)
@@ -225,20 +225,26 @@ add_tizen_flags() {
                                use_plugin_placeholder_hole=true
                               "
   fi
-  # [M49_2623] Temporary disabling the flag.
-  #            FIXME: http://165.213.149.170/jira/browse/TWF-610
   ADDITIONAL_GN_PARAMETERS+="tizen_multimedia=true
                              proprietary_codecs=true
                              tizen_audio_io=true
                              tizen_web_speech_recognition=true
                              tizen_tbm_support=true
-                             tizen_video_hole=true
                             "
 
   if [ "$tizen_product_tv" == "true" ]; then
     ADDITIONAL_GN_PARAMETERS+="tizen_pepper_extensions=true
                               "
   fi
+
+  # Enable video hole only for standard and TV profile
+  if [ \( "$tizen_product_tv" == "true" \) -o \( "$tizen_product_da" != "true" -a "$tizen_emulator_support" != "true" \) ]; then
+    ADDITIONAL_GN_PARAMETERS+="tizen_video_hole=true
+                              "
+  else
+    ADDITIONAL_GN_PARAMETERS+="tizen_video_hole=false
+                              "
+  fi
 }
 
 add_wayland_flags() {