1. We have two ways to set Efl window bounds/ Gpu thread output surface
size. One is InitCompositor, the other is OnParentViewResize in
RenderWidgetHostViewAuraHelperEfl.
2. In current state, EwebView resize event is coming before
RenderWidgetHostViewAuraHelperEfl creation, so we cannot call
OnParentViewResize to set correct bounds. This will cause main thread
's output surface size dismatch with gpu thread.
Solution: Manually to call SetBoundsInPixels to set bounds even
RenderWidgetHostViewAuraHelperEfl is not created yet
refs:
https://review.tizen.org/gerrit/#/c/282220/
Change-Id: I8e75694c9864a65add80d58791c8d92eb4c73233
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
ScrollFocusedNodeIntoView();
}
+#if defined(USE_AURA) && BUILDFLAG(IS_TIZEN_TV)
+ if (host_) {
+ int x, y;
+ evas_object_geometry_get(native_view_, &x, &y, nullptr, nullptr);
+ gfx::Rect bounds(x, y, width, height);
+ host_->SetBoundsInPixels(bounds);
+ }
+#endif
+
return true;
}