[M108 Migration] [!fixup] Set EflWindow bounds while received parent view resize... 98/289198/2
authorqiang.ji <qiang.ji@samsung.com>
Thu, 2 Mar 2023 09:59:47 +0000 (17:59 +0800)
committerDae-Hyun Ko <dhyuna.ko@samsung.com>
Sun, 5 Mar 2023 06:30:30 +0000 (06:30 +0000)
commit5de9a6d54464da39cc57ae4f46769f7d2a4d50c7
treedc732cf7160c9ce56313f837a8a80d1e19e75b15
parente6daf4d61472db2dd1737799b53f03823b5de42f
[M108 Migration] [!fixup] Set EflWindow bounds while received parent view resize event

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>
tizen_src/ewk/efl_integration/eweb_view.cc