From: Qiang Ji Date: Thu, 11 Apr 2024 02:32:01 +0000 (+0800) Subject: [M120 Migration] fixup! Skip flushAndSubmit sync call on gpu side for webgl X-Git-Tag: submit/tizen/20240412.160015~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fframework%2Fweb%2Fchromium-efl.git;a=commitdiff_plain;h=7db5344e4ca62b042e5dc2950f3230215acad0db [M120 Migration] fixup! Skip flushAndSubmit sync call on gpu side for webgl Below change enables flushAndSubmit call for video layer which fixes video frame not shown issue in hbbtv scenario. refs: https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292736/ Change-Id: Ie8dbe77c63b1a8d1dc05c48139a8e2d8618619e6 Signed-off-by: Qiang Ji --- diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc index 38e0e67..3e7b624 100644 --- a/cc/trees/layer_tree_host_impl.cc +++ b/cc/trees/layer_tree_host_impl.cc @@ -2623,7 +2623,7 @@ absl::optional LayerTreeHostImpl::DrawLayers( #if BUILDFLAG(IS_EFL) bool LayerTreeHostImpl::CanSkipFlush() const { - if (active_tree_->HasLayer(LAYER_TYPE_TEXTURE | LAYER_TYPE_VIDEO)) + if (active_tree_->HasLayer(LAYER_TYPE_TEXTURE)) return true; return false; }