Chandan Padhi [Mon, 11 Mar 2024 10:17:21 +0000 (15:47 +0530)]
fixup! Support gcc build for chromium-efl.
This commit fixes desktop build error.
Change-Id: Id0bf427503103b0a1bba73186ee00aa0aee130f6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Aleksander Świniarski [Mon, 11 Mar 2024 14:30:56 +0000 (15:30 +0100)]
Fix problem with missing target.txt for x86_64 build
Commit fixes patch apparent in the x86_64 build. In
style_format.py we are trying to obtain the target from the
target.txt. For the x86_64 target.txt it is not created to
use statically linked nodejs.
Now in the style_format.py we will assume default target as
tizen. If we will found the target.txt file, then we will
read the target from it.
Change-Id: I48a99c3368e71b0c35f0846cb0f74ad2a11fee67
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
venu.musham [Mon, 11 Mar 2024 07:29:31 +0000 (12:59 +0530)]
Support gcc build for aarch64.
This commit provides fixes to aarch64 arm build to support
gcc build.
Change-Id: I2d51c36a4de12cebf831e76afdcc3134f57cdfb7
Signed-off-by: venu.musham <venu.musham@samsung.com>
uzair [Mon, 17 Apr 2023 03:00:14 +0000 (08:30 +0530)]
[M120 Migration] Skip flushAndSubmit sync call on gpu side for webgl
This commit enables flushAndSubmit sync call in gpu process for
all types of content excluding canvas and video which helps fixing
blackcsreen issues observed during alexa testing.
Reference:
https://review.tizen.org/gerrit/c/291434
Change-Id: Id473d14e22bf8089e0017906e7b806ec215af595
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
YongGeol Jung [Tue, 5 Mar 2024 06:48:04 +0000 (22:48 -0800)]
Remove unneeded lib dependency.
|boost_system| library is not used in chromium and related dependency from
|wgt-manifest-handlers| is also removed.
Change-Id: I6feab2e921c816c8b588c7a0d6fc8c4d03b0c29b
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
Manjeet [Fri, 8 Mar 2024 10:11:49 +0000 (15:41 +0530)]
[M120 Migration] Fix build warning
The following patch fixes a compilation warning [1] that
occurs during tv build.
[1] "warning: comparison of integers of different
signs: 'int' and 'unsigned int'"
The upper limit of unsigned int and int are different, so in
extreme cases where value of a variable falls in between the
upper limit of int and unsigned int, leads to an infinite loop.
Reference: https://review.tizen.org/gerrit/293395
Change-Id: I7921ffb6a949b7f9c522889e35c9cd9d48268b26
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Wed, 6 Mar 2024 19:13:13 +0000 (00:43 +0530)]
[M120 Migration] Remove EWK_BRINGUP from ContextMenuControllerEfl.
DownloadUrlParameters::set_referrer() was split into set_referrer() and
set_referrer_policy() by upstream.
So, this patch updates the code accordingly.
Reference:
https://review.tizen.org/gerrit/291846
Change-Id: Ie665d9f1b971d5da2a89a2487efbec93970051cb
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Aleksander Świniarski [Fri, 8 Mar 2024 11:07:37 +0000 (12:07 +0100)]
Fix RiscV support - Rendering issue for armv7l
Commit fixes change introduced in RiscV support for M120.
On armv7l (built with ./tizen_src/build/build_standard_armv7l) the
lack of specialized template of SerializedSizeSimple() for size_t
caused rendering issue and usage of illegal instruction when
running chromium-efl for armv7l.
Specialization was originally commented out due to compliation error caused
by gcc bug that does not allow declaration of specialized template
outside of the namespace.
Now the specialization is introduced in template where it will
return appropriate value depending on the type of typename T
Change-Id: If713bd0c0d6c1a0ed91cc2f627c314a20471ceb7
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
Daniil Ruban [Thu, 7 Mar 2024 12:06:05 +0000 (13:06 +0100)]
Fix build x86_64 and i586
* Removes constexpr in `v8/src/codegen/x64/assembler-x64.h` and `v8/src/wasm/baseline/x64/liftoff-assembler-x64-inl.h`
Change-Id: I5d50bdf03f544d25d111df83a99dfb10fb362d8d
uzair [Fri, 8 Mar 2024 07:34:46 +0000 (13:04 +0530)]
fixup! [HOTFIX] Web app is crashing during exit
Below change converts CHECK to DCHECK at required places
to fix random crashes in web apps on TV.
Change-Id: I2020d2b86eade133c4382fc85b0b65ca726d4450
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Manjeet [Wed, 28 Feb 2024 14:06:53 +0000 (19:36 +0530)]
[M120 Migration][Canvas2D] Canvas performance.
This commit combines below commits,
4174fa41750 Enable MSAA sample count for Canvas2D.
a3077ed5b97 Disable periodic flush for canvas.
Performance(TV):
Ubrowser CanvasMark
Before:24.3
After:25.6
Reference:
https://review.tizen.org/gerrit/290940
Change-Id: Iea7060760bad7122dd5d5c8b948c96d5da8e73c5
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
venu.musham [Tue, 5 Mar 2024 09:30:52 +0000 (15:00 +0530)]
Support gcc build for chromium-efl.
Chromium no longer supports gcc build after enabling clang.
This commit supports gcc build.
$<build command> --gcc
Change-Id: Id5ef9fb5a112184ff9a57db9c63892e80eed26b8
Signed-off-by: venu.musham <venu.musham@samsung.com>
Daniil Ruban [Wed, 6 Mar 2024 05:39:33 +0000 (06:39 +0100)]
Fix node problems
* Rebuild node.js 16.13.2 into static binary to avoid dll-hell
* Fix behavior with missing target.txt
* x86_64 will use node from `third_party/node/linux/node-linux-x64/bin/node`
* other architectures will use `third_party/node/tizen/node`
Change-Id: I9f0c8c03ef4953e0b35c018749ca82c934bc687c
Signed-off-by: Daniil Ruban <intx82@gmail.com>
wurc [Wed, 6 Mar 2024 02:03:19 +0000 (10:03 +0800)]
[M120 Aura Migration][NaCl][Nacl Fwk] Remove unnecessary nacl toolchain directory
Ported patch from M108 Aura:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/289156
Change-Id: Ia64ea69a13c4bd663ec56edf0bb89ac6195f5eba
Signed-off-by: wurc <rongchun.wu@samsung.com>
Sun-woo Nam [Thu, 7 Mar 2024 02:19:34 +0000 (18:19 -0800)]
[MM] Use the timer to decide operations according to buffering status.
Previously, PerformOperationForData was called in ReadBuffer which reads
a buffer from the demuxer. However, ReadBuffer may not be called depending on
the buffering status.
When actually determining an operation, it judges based on the current position
so there are cases that it does not work as intended.
Therefore, call the function periodically using a timer.
This fixes the patch below.
https://review.tizen.org/gerrit/#/c/305478/
Change-Id: I5c4ee665d52b02c609bef8a380d1aa05e5dfb577
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
sidpaswan [Tue, 5 Mar 2024 13:34:56 +0000 (19:04 +0530)]
Fix window.open() not working in webapp on RPi4
The view was not updating when Show() was called whenever
new window is launched. This patch fixes this issue by updating
the view everytime Show() is called and new view is shared back
to be overwritten over the previous view and now the tct behaviour
app works fine.
Change-Id: I0b9dc652612d7999f5f0539784e747cf6cb5205f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
v-saha [Fri, 1 Mar 2024 12:30:55 +0000 (18:00 +0530)]
Remove EWK_BRINGUPS for M120 #2
This commit removes some EWK_BRINGUPs added during M120 upversion.
Change-Id: I9501206e5755a3b589c6ea59f82ad110d24dc3de
Signed-off-by: v-saha <v.saha@samsung.com>
yangzhiwen [Wed, 6 Mar 2024 05:52:16 +0000 (13:52 +0800)]
[M120 Migration] Support translated url
supports notify video playback state and set translated url API
support CASD url
refer:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293409/
Change-Id: Id661f1ea927d0338528f1fa3f6081efe9e6b0b24
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
xiaofang [Tue, 23 Aug 2022 08:00:14 +0000 (16:00 +0800)]
[M120 Migration] Set "background,music" initial value false
Migration from:
https://review.tizen.org/gerrit/271349
Change-Id: Id421b30c45e39d833803e2369ffdaa9eefbcb370
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 17:27:02 +0000 (01:27 +0800)]
[M120 Migration] Introduce network loading API
1. ewk_view_resume_network_loading
2. ewk_view_suspend_network_loading
The api called when webbrowser launched.
Reference:
- https://review.tizen.org/gerrit/291318/
Change-Id: I5776c62869e8c173cc4307e2a734e85b882b2c9f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Thu, 7 Mar 2024 00:37:33 +0000 (08:37 +0800)]
[M120 Migration][VD][Perf] Avoid waiting for sandbox status from zygote
to improve the browser launch time.
During initialization, the browser process wastes time waiting
until its zygote process is initialized.
The main reason for this synchronization is to avoid losing messages
between browser and zygote process.
browser does not need to wait for the synchronization before
sending messages, because messages are buffered on the zygote side
Reference:
- https://review.tizen.org/gerrit/300627/
Change-Id: I9b4f490387eabe77e341cb2e52a7b18bee9b5de7
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 23:46:57 +0000 (07:46 +0800)]
[M120 Migration][VD] Add process pool feature
Adds process pool feature for web runtime.
Reference:
- https://review.tizen.org/gerrit/290569/
Change-Id: I7723d74ff5080f478de2b12f0cbaa555fc01e437
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
wuxiaoliang [Wed, 6 Mar 2024 01:46:46 +0000 (09:46 +0800)]
[M120 Migration][MM] Support W3C EME
Add IEMEDrmBridge for encrypted stream.
single process -> espp decrypted stream
multiple process -> drm decrypted stream -> pass tz_handle to espp
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290566/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291049/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296545/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298081/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297184/
Change-Id: Ibb604997638c6ff330f33159a3ee777122767cbe
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
zhaosy [Wed, 6 Mar 2024 09:56:57 +0000 (17:56 +0800)]
[WRTjs] Fix build warning
Fix build warning
Change-Id: I53fa73ff611c8c4ff0bb366839999acb5bd610bc
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
DongHyun Song [Fri, 23 Feb 2024 09:56:44 +0000 (18:56 +0900)]
[XWalkExtension] Add window related interface for webapis
Add useful interface to handle window object for XWalkExtension
1) void* GetWindowObject()
- webapis can get the window object directly.
2) AddWindowEventListener(instance, callback)
- register event listener for visibilitychange, rotation
- event listner will be managed by instance ID
3) ClearWindowEventListener(instance)
- unregister event listener
- event listner will be managed by instance ID
4) SendKeyEvent(type, keycode)
5) SendMouseEvent(type, ...)
- webapi can send its key/mouse events to the web application.
- for example, TVWindow webapi can create Elm window for TV viewer,
then they can grap key/mouse events, to propagate the events, these
interface can be used.
6) GetMetadataValue(key)
- return metadata value with given metadata key.
Change-Id: I9f63acf0c7e569ce4adccc472a6cdc7084ef76e1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
fangfengrong [Wed, 6 Mar 2024 17:48:12 +0000 (01:48 +0800)]
[M120 Migration][IME][VD] Deduce focus attribute from RWHVAura in onscreen mode
Focus checks are done before handling text inputs. In offscreen
mode, |content_image_| is used, which is inexistant in onscreen
mode. This patch instead checks for focus from RWHVAura which
retrieves it from aura::window
refer:
https://review.tizen.org/gerrit/#/c/291112
Change-Id: Id84a2a365829f7e8533e4cc3dbad770242450e36
Signed-off-by: fangfengrong <fr.fang@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 21:50:07 +0000 (05:50 +0800)]
[M120 Migration] Dummy Implementation for EWK APIs
ewk_check_chromium_ready
ewk_wait_chromium_ready
Change-Id: Iddb3f4afc1d1dfe7dcc606c62128774e568a557f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
yanqing.lu [Mon, 4 Mar 2024 08:17:26 +0000 (16:17 +0800)]
[M120 Migration] Support Comma Delimiter for isTypeSupported
most app use semi-colone to query format support.
eg: isTypeSupported("video/mp4; codecs=\"avc1.4d4015\"; width=426; height=240; framerate=30; bitrate=246887")
but some app use comma format.
eg: isTypeSupported("audio/mp4; codecs=\"ec-3\", channels=7.1, features=\"JOC\"")
it revert this patch to support comma format
https://chromium.googlesource.com/chromium/src.git/+/
15e2e8f54574ace251541c3b4589513e22131b85
Original Patch Title: change mode to get parameter of idTypeSupported
Migration from:
https://review.tizen.org/gerrit/290761
Change-Id: I0eed0ebb5e491cf67461e85bd5202f366272fc86
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
Manjeet [Tue, 5 Mar 2024 16:47:02 +0000 (22:17 +0530)]
[M120 Migration] Add --as-needed to Clang option
Remove Unused direct dependencies from libchromium-impl.so
Reference:
https://review.tizen.org/gerrit/291183
Change-Id: Ic2037a8bbb1af2192d28efdbd7877d8850799a10
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
zhishun.zhou [Tue, 5 Mar 2024 13:00:49 +0000 (21:00 +0800)]
[M120 Migration][HBBTV][MM] Support H5 drm error feature
1. Set drm info for video decoding
2. Add drm error callback
Patch from:
https://review.tizen.org/gerrit/#/c/293258/
Change-Id: Id33f5a2b83d3ea0afa34d3bd3d430e98de9e745b
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Yu Yang [Fri, 1 Mar 2024 01:47:34 +0000 (09:47 +0800)]
[M120 Migration]Changing code for re-factored accessory
Port new accessory and Nintendo Pro gamepad support patches from tizen_8.0:
https://review.tizen.org/gerrit/#/c/297678/
https://review.tizen.org/gerrit/#/c/297966/
https://review.tizen.org/gerrit/#/c/291195/
https://review.tizen.org/gerrit/#/c/290514/
Change-Id: I5e1403d6a313fc1b0ef9623f3f1ecf2641970c7c
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
Satyaveer Singh [Mon, 4 Mar 2024 10:15:21 +0000 (15:45 +0530)]
[M120 Migration][Canvas2D] Do not disable acceleration on gpu readback.
On M76 and earlier acceleration is disabled on readbacks based on
heuristics, but currently for gpu readback canvas2d acceleration is
disabled straightaway and heuristics are removed in upstream[1,2]. This
impacts performance of canvasmark KPI heavily. Hence we dont disable
acceleration during gpu readbacks.
Performance(TV):
Ubrowser CanvasMark
Before: 28.8, 29.0, 29.2, 29.0, 29.1
After: 33.3, 32.4, 32.5, 33.3, 33.5
References:
[1] https://chromium-review.googlesource.com/c/chromium/src/+/1845511
[2] https://chromium-review.googlesource.com/c/chromium/src/+/1752546
[3] https://review.tizen.org/gerrit/291138
Change-Id: I5c8388a042e0bbe17bca5a635aeace8959587640
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
chiragmaheshwari [Mon, 19 Feb 2024 08:55:15 +0000 (14:25 +0530)]
[M120 Migration][VD][V8] Increase page size bits and min semi space size for performance.
This change updates kPageSizeBits and kMinSemiSpaceSizeInKB values for product tv profile for performance.
VD-CanvasMark-Pixelblur scores.
BaseCode: 28.7 kPageSizeBits = 20, kMinSemiSpaceSizeInKB = 1024K: 33.3
References:
1. https://review.tizen.org/gerrit/290956
2. https://chromium-review.googlesource.com/c/v8/v8/+/1496367
3. https://chromium-review.googlesource.com/c/v8/v8/+/1529006
[2], [3] reduces heap/page size parameters in upstream.
Though performance is improved with page size as 512K, it is increased
to 1024K to keep performance in par with earlier versions.
Change-Id: Id9cccbd678f4aa08eff4862bec12916a7ecdc86f
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
zhishun.zhou [Tue, 5 Mar 2024 06:08:38 +0000 (14:08 +0800)]
[M120 Migration][MM] Support webmedia playback state notification
1. webbrowser need playbackstart event to show miniplayer button,
this patch implement ewk interface to notify player state to APP,
at the same time it get translated url and drm information from APP;
2. Impement a switch kEnableMediaPlaybackNotification, set from
ewk_settings_media_playback_notification_set;
3. Impement GetContentMIMEType from html media element and set it to esplayer;
Patch from:
https://review.tizen.org/gerrit/#/c/292410/
Change-Id: I88c787896baa4176769c3eb64214d94bee72ffaa
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
fangfengrong [Tue, 5 Mar 2024 03:08:55 +0000 (11:08 +0800)]
[M120 Migration][VD] Don't set focus when FinishLoad
For WRT type App, will set focus when app show:
WRTNativeWindow::Show()->WRTNativeWindow::Focus();
For Browser/hbbtv type App, will set focus by ewk_view_focus_set api.
Keep same with M94, don't set focus when FinishLoad, or else will cause
two focus issue: one focus on webview, another focus on app(such as on
webbrowser url).
refer:
https://review.tizen.org/gerrit/#/c/296637/
Change-Id: I61eee8952019b9cc342ad88503276bb6399a6d43
Signed-off-by: fangfengrong <fr.fang@samsung.com>
yangzhiwen [Mon, 4 Mar 2024 08:57:42 +0000 (16:57 +0800)]
[M120 Migration] Support Downloadable font info feature
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292674/
Change-Id: I71b63bab8327083cc23aaccaf485e0364e1cbea5
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Qiang Ji [Mon, 4 Mar 2024 08:40:37 +0000 (16:40 +0800)]
[M120 Migration] NUI related patch
1. Fix rotation issue for NUI app
Ecore_Evas can't sense that NUI app has rotated,
so get the wrong value from ecore_evas_rotation_get API
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/305631/
2. Fix NUI video can't play issue
NUI app use wayland window but video hole
set as evas window default.
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295315/
3. Fix crash
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297840/
Change-Id: Id043740ee26661581c754b5b2cbf71f65130f7ee
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
fang fengrong [Mon, 4 Mar 2024 12:09:26 +0000 (20:09 +0800)]
[M120 Migration][VD] Fix ewk_view_focus_set fail issue
WebBrowser set focus through ewk_view_focus_set api not work at
first launch. Because when set focus, the offscreen_helper haven't
been created, it cause don't SetFocus.
So pending send focus till RenderFrameLive.
refer:
https://review.tizen.org/gerrit/#/c/298820/
Change-Id: I6a0722bd7853aefce9547864642383dc199ba7b5
Signed-off-by: fang fengrong <fr.fang@samsung.com>
wuxiaoliang [Mon, 4 Mar 2024 06:40:43 +0000 (14:40 +0800)]
[M120 Migration][MM] Merge HDR and use RM API to get Codec resolution
1. Add max codec resolution for Sero TV.
2. Update VP9* codec info.
3. Set HDR info.
4. Not support spatial rendering feature.
* Multiview resource allocation depends on left/right launch, and limitations are:
- not support trick play
- not support HDR
- not support 360 video
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290344/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297093/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290415/
Change-Id: If91d6130281ac10cc0dc5b414f819d1ff557b9a2
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
wuxiaoliang [Fri, 1 Mar 2024 05:37:46 +0000 (13:37 +0800)]
[M120 Migration] Add new api for webbrowser to get media device list
void ewk_view_media_device_list_get(Evas_Object* o, Ewk_Media_Device_List_Get_Callback callback, void* user_data);
add this api for browser youtube to get audio input/audio output/video input device
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295121/
Change-Id: If3a30453dd05377c206d53cd6bba5ca383ad35a9
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
jiangyuwei [Mon, 4 Mar 2024 22:33:47 +0000 (06:33 +0800)]
[M120 Migration][VD] Add ewk_file_chooser_request APIs
Evas smart callback, "file,chooser,request", has not been supported
since Tizen 3.0. This patch implements ewk_file_chooser_request APIs
to suport "file,chooser,request". API spec is same as Tizen 2.4(WebKit).
- ewk_file_chooser_request_allow_multiple_files_get
- ewk_file_chooser_request_accepted_mimetypes_get
- ewk_file_chooser_request_cancel
- ewk_file_chooser_request_files_choose
- ewk_file_chooser_request_file_choose
Reference:
- https://review.tizen.org/gerrit/#/c/292148/
Change-Id: I62bb4192d615099f84766b2be5a29af0387ab3ee
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Akshay Kanagali [Fri, 1 Mar 2024 08:36:11 +0000 (14:06 +0530)]
fixup! [M120 Migration] Show the context menu and settings menu
This patch disables the function call updateFocus in
EflWindow::InitializeEventHandler for only chrome build which
impacts settings menu and enables for other builds.
Change-Id: I7a5613a2a1185a16c7e8ea2c91ce79c72793a232
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
yangzhiwen [Thu, 29 Feb 2024 06:40:01 +0000 (14:40 +0800)]
[M120 Migration] Support Dash high bitrate
void ewk_media_start_with_high_bit_rate(Evas_Object* ewkView, Eina_Bool high_bitrate)
This API was added so that Dash streams can support Dash high bitrate.
Process the URL of the video.
migrate from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292658/
Change-Id: Ic452e289854b7efbca6ccb958f8a8f68eca3e7b2
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
zhishun.zhou [Fri, 1 Mar 2024 09:49:39 +0000 (17:49 +0800)]
[M120 Migration] Destroy mmplayer while video tag receive removedFrom
issue:when exit app, video is still on screen.
solution: when exit app, destroy the player.
Patch from:
https://review.tizen.org/gerrit/#/c/301621/
Change-Id: I1d21cba123b08ed69dc098a500a00e11486ff0bb
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
fang fengrong [Fri, 1 Mar 2024 11:08:25 +0000 (19:08 +0800)]
[M120 Migration][VD] Support ewk apis of key event
1.Support ewk apis of key event in case some other application will use
it.
Support ewk_view_send_key_event & ewk_view_key_events_enabled_set.
ewk_view_key_events_enabled_set:
EINA_FALSE---delete keydown and keyup callback in chromium
EINA_TRUE----add keydown and keyup callback in chromium
If callback is delete, WRT use ewk_view_send_key_event to send
keydown and keyup event to chromium.
Currently WRT dose not use ewk interface, but we keep this API in case
some other application will use it.
2.Add ewk_view_send_key_event to internal API header
refer:
https://review.tizen.org/gerrit/#/c/291454
Change-Id: I257fa7491efacb20b192fccfec1378d4630862cf
Signed-off-by: fang fengrong <fr.fang@samsung.com>
venu.musham [Fri, 1 Mar 2024 06:23:46 +0000 (11:53 +0530)]
fixup! RiscV support for M120.
Clang setting was disabled for riscv build, due to this gcc
build was enabled in QB, gcc build has complitation failures.
Enable clang as default build for QB.
Change-Id: I79b1b29205b4a14a9c72539cb401c187f97d1ba1
Signed-off-by: venu.musham <venu.musham@samsung.com>
zhishun.zhou [Wed, 28 Feb 2024 10:00:23 +0000 (18:00 +0800)]
[M120 Migration] Notify media device state to webbrowser
1) web engine get current user media state from media device.
2) web engine notify webbrowser state by ewk callback.
Add new ewk type:
UserMediaState
DECLARE_EWK_VIEW_CALLBACK(UserMediaState, "usermedia,state", void*)
From patch:
https://review.tizen.org/gerrit/#/c/294421/
Change-Id: I6acab4de98627aa478017512da79f1e0520236f8
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Manjeet [Wed, 28 Feb 2024 12:34:10 +0000 (18:04 +0530)]
[M120 Migration] Fix coverity issues
This commit fixes following coverity issues
CID 115640, 1027471, 1029366, 1079885, 1084336, 1273651,
1278478, 1280131, 1672601
Reference:
https://review.tizen.org/gerrit/290923
Change-Id: Ib18b5bc86bb04770114c769e28b7e40a670b13a6
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Sat, 24 Feb 2024 20:45:22 +0000 (02:15 +0530)]
[M120 Migration][TCT] Fix viewport user-scalable web-tct issue(behavior test)
Value changing of |user-scalable| property of view point meta tag is not applied
instantly. Due to this, zooming gesture is not working even if |user-scalable|
is changed to |true|. To apply this change instantly, changed to make layout
after updating |user-scalable| property.
Reference:
https://review.tizen.org/gerrit/288621
Change-Id: Id9ac0b4180cdea4ba9668fd9abb414cb3964d2d4
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Koyyani Maheswari [Wed, 21 Feb 2024 12:29:23 +0000 (17:59 +0530)]
[HOTFIX] Web app is crashing during exit
when the web app is terminated, crash is reported with the below
callstack:
(gdb) bt
0xb30f4f16 in mojo::InterfaceEndpointClient::~InterfaceEndpointClient() ()
at /usr/share/chromium-efl/lib/libchromium-impl.so
Disabling the CHECK temporarily since crash is happening only on termination.
Change-Id: Id4c4fa55ee6398a6a1bb637634103c2a5985cf27
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
qiang.ji [Wed, 12 Apr 2023 02:12:39 +0000 (10:12 +0800)]
[M120 Migration] Fix Terms and Condition wizard shows transparent/white bg
As the viz strategy is totally updated, for bg logic, we need to flow below:
1. Set bg for Render CompositorFrame
EWebView::SetDrawsTransparentBackground -> WebFrameWidgetImpl::SetDrawsTransparentBackground
-> layer_tree_host -> CompositorFrameSinkImpl -> CompositorFrame with transparent bg
2. Set bg for Browser CompositorFrame
EWebView::SetDrawsTransparentBackground ->
RenderWidgetHostViewBase::SetBackgroundColor
2.1 RenderWidgetHostViewAura::UpdateBackgroundColor()
Compositor::SetBackgroundColor
layer_tree_host -> RootCompositorFrameSinkImpl -> CompositorFrame with transparent bg
2.2 RWHVAuraOffscreenHelperEfl::PaintTextureToSurface
RenderWidgetHostViewBase::GetBackgroundColor()
if set transparent bg, need to enable blend.
References:
https://review.tizen.org/gerrit/291210
https://review.tizen.org/gerrit/301497
https://review.tizen.org/gerrit/302739
Change-Id: I1b0650d5446917c6171df97eebef36c2f947f5fc
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Akshay Kanagali [Wed, 28 Feb 2024 09:17:04 +0000 (14:47 +0530)]
[M120] Fix build break for chrome
This patch fix chrome build issues occured by recent commits.
It also disables autofill for chrome build.
Change-Id: I9eb0b280057976de9c35faa125cf64cac9716121
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
Gajendra N [Tue, 27 Feb 2024 05:22:00 +0000 (10:52 +0530)]
(Part 2) Use proper naming for handles/functions that represent EwkView
Commit [1] cleaned up most of the "evas_object" occurances inside tizen_src (but outside
ewk layer). This commit is follow up of [1], which replaces rest of the occurances with
ewk_view/EwkView inside ewk layer. Read [1]'s commit message for more details.
[1]
c65e88bc0c05def7e76e229beb506f2638034024
Also, cleans up unused/redundant functions.
Change-Id: I2f95f491e2dc72ebbb719df2efdccf1e2a229cb7
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
liwei90727 [Wed, 28 Feb 2024 10:14:07 +0000 (18:14 +0800)]
[WRTjs] Use BUILDFLAGS(IS_TV) for TV logic checking
USE BUILDFLAGS(IS_XXX) for OS checking, will disable
some unnecessary logic in compile stage
Change-Id: I4bfb553535776b35c1aac919359deecd81c69eb7
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
Chunling Ye [Wed, 28 Feb 2024 11:42:48 +0000 (19:42 +0800)]
[WRTjs] Use one FMS key to check is default mouse support product
New RQ for tizen8.0, only use one FMS key:
"com.samsung/featureconf/product.default_mouse_support" to get
if is default support mouse, in 8.0 the mouse default support
products are SmartMonitor, AOT and DTV.
Change-Id: Iffc704595075b8495554f0ff4efc3f1baf36b39d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Manjeet [Tue, 27 Feb 2024 13:15:08 +0000 (18:45 +0530)]
[M120 Migration] Free content_image_elm_host_properly
Evas object content_image_elm_host_belongs to a Layout, it will be
deleted when the layout deleted.
Just like List, Box, and other container widgets, any object added to
the Layout will become it's child, meaning that it will be deleted if
the layout is deleted, move if the Layout is moved, and so on.
https://docs.enlightment.org/elementery.1.15.0/group__layout.html
Reference:
https://review.tizen.org/gerrit/292255/
Change-Id: Ia86a429cf6891e1c152108f9c7c0763beb99ca59
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Akshay Kanagali [Wed, 21 Feb 2024 12:21:29 +0000 (17:51 +0530)]
[M120 Migration] Handle fullscreen event in chrome
This patch enables the fullscreen feature for chrome.
Reference : https://review.tizen.org/gerrit/304571/
Change-Id: Ia7a3686fad9fcc00403c1e49e075497820f93d7b
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
Manjeet [Mon, 26 Feb 2024 19:25:51 +0000 (00:55 +0530)]
fixup! [M120 Migration] Enable event handling for Ozone EFL
On RPi4, due to focus lost on mouse out event when
hovered on IME panel, IME keys events were not dispatched
to engine. This patch fixes it.
Reference:
https://review.tizen.org//gerrit/291887/
Change-Id: Ida9b59e31674ba03fc5cb47e043154970e4d05c0
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
v-saha [Thu, 22 Feb 2024 04:21:21 +0000 (09:51 +0530)]
Remove EWK_BRINGUPS for M120 #1
This commit removes some EWK_BRINGUPs added during M120 upversion.
Upgrading to Clang18 fixed some of the build errors.
Change-Id: Id71747db710ebe7002829db7ae52c28989db883e
Signed-off-by: v-saha <v.saha@samsung.com>
Mateusz Bieganski [Wed, 29 Nov 2023 13:54:28 +0000 (14:54 +0100)]
uBrowser: Add '-i' switch, to execute WebInspector server on startup.
The rationale is to automate performance or correctness tests, with
host-side client connecting to WebInspector server and investigating
HTML that was rendered.
Change-Id: Ib88942b71210f444e44dc257c7dae4df9eaedad1
Signed-off-by: Mateusz Bieganski <m.bieganski@samsung.com>
Rohit Kumar [Wed, 21 Feb 2024 09:10:38 +0000 (14:40 +0530)]
[M120 Migration]Fix for crash during chrome exit
As g_bluez_dbus_manager is nullptr in BluezDBusManager::Shutdown()
a crash is observed during chrome exit. By enabling
BluezDBusManager::Initialize(), g_bluez_dbus_manager value is set
to a valid value.
Reference: https://review.tizen.org/gerrit/303262
Change-Id: Ia496ca7a06fcf33b7a34a4660f7c8303e4a15e5b
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
venu.musham [Mon, 26 Feb 2024 04:48:26 +0000 (10:18 +0530)]
fixup! [M120 Migration] Apply opacity/filter/border-radius for video hole.
when video hole is disabled, build issue is observed.
Build fixes for standard profile & desktop.
Change-Id: I30866ed130d2463466997c32615c77ac9d4a425c
Signed-off-by: venu.musham <venu.musham@samsung.com>
Nikhil Shingne [Mon, 29 Jan 2024 06:51:57 +0000 (12:21 +0530)]
fixup! [M120] Bring up autofill
This commit enables the autofill feature which was disabled during
m120 bringup. Fixes all the build errors due to changes on upstream.
With this commit, autofill related TCs PASS on NativeTCT.
Change-Id: I64e291292d7b99572b69221b4e4d78d5d32a21b6
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
Akshay Kanagali [Mon, 19 Feb 2024 09:05:20 +0000 (14:35 +0530)]
[M120 Migration] Show the context menu and settings menu
This patch includes below to show the context menu and settings menu.
- Set the type of each window
- Focus on evas objects
- Implement event capture
- Separation of header and source file of ElfWindowManager
- Implement |EflWindow::IsVisible|
- Convert event location for submenu
References :
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302447
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302577
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302685
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302811
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302528
Change-Id: I32bf5fadb2fcd78a9cce6f7d8ad74d0c6e4fb542
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
Sun-woo Nam [Fri, 23 Feb 2024 05:26:42 +0000 (21:26 -0800)]
[MM][HBBTV] Enable the url demuxer for the hls video.
DemuxerManager has been newly created in this version, so new path that selects
the url demuxer for HLS and HBBTV should be enabled.
Additionally, I fixed an issue with the video hole when url demuxer was enabled.
Change-Id: Ifa428bbb06881df449f93b818b4d750993da550e
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Nishitha S [Wed, 21 Feb 2024 10:21:18 +0000 (15:51 +0530)]
[M120 Migration][HBBTV] Dispatch key events through associated event dispatcher only
HBBTV app launches single ecore/elm window but two ewk_views within the
same window. The app can send key events through ewk api to any of the
ewk_view and they need to be dispatched irrespective of their focus state.
Currently the unfocused ewk_view is not dispatching event because of way
event forwarding logic is written in ozone layer.
This patch makes necessary changes to check the associated dispatcher handle
instead of CanDispatchEvent, also keeps both aura windows in focus parallely.
This change is only for HBBTV.
Reference: https://review.tizen.org/gerrit/299770
Change-Id: Iecb83a0f22665edd03795bd4745d69c88453395c
Signed-off-by: nishitha <n.saravanan@samsung.com>
Daniil Ruban [Wed, 14 Feb 2024 19:41:40 +0000 (20:41 +0100)]
RiscV support for M120
* Enables WebAssembly
* Fixes lot minor bugs and warnings
* Fixes casting in esplusplayer
Contains next commits from tizen.riscv branch:
* Support riscv architecture.
3e79c4675e3331d8697db326ad13accb4bd1e5b9
* Disable gold linker.
36204a4c8e1b1ef951e5001f8e2e12acd56ce412
* [ffmpeg] Add support for riscv configuration.
eb43f36d555818b4d9cbaf258ec2a26dd15679bf
* sandbox: add riscv arch definition and define syscall
5df214a8a89f3d31ee45ab963a8e22fd6e619c13
* [skia] add riscv64 architecture detection in gn phase
c236147d28521517e5abb950af462c258627c711
* Fixed the build error using gcc 13
bdfd554591ae83b189fcbe0c064ef545bb4be0ed
* Adding some files for riscv64 temporarily
0d36d8dad205e79be067cb7c72c9e988d4c3cb77
* Fixed the build error of wrt/src/base/string_utils.cc
372c01201d95916a53b6be87c9d4e99492b42a0d
* Fixed the build error for i586 using gcc 13
72a5eb4ae814a40e6470f68df079fea7a9abe998
* Fixed the build error for armv7l using gcc13
aeeb7a59aa41e058081d5e872a25e15c601ab9cc
* Fixed the build error for armv7l using gcc13
8686a1f6ad59dd019d71afea13f62390736a1f94
* Disable clang build for gcc 13.
c5df511720124822c2785ba9ae22afabc0fbac16
* Update gbs repositories for gcc 13.
bd7ff786dede19eb884135a3ec59db19cbeda217
* Adding python-accel for riscv64
53e307450705d54690c4cb33f1f965648045475d
inner tasks: #229 #253
Change-Id: I458be4dc8c868bb07f9664219ec400e7c4fb94d7
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
Manjeet [Tue, 20 Feb 2024 20:47:12 +0000 (02:17 +0530)]
[M120 Migration][TTS] Ignore duplicate callbacks
On VD's autohub test, sometimes, tts engine sends multiple complete
callback for same utterance. This would lead to crash.
Reference:
https://review.tizen.org/gerrit/290773
https://review.tizen.org/gerrit/299242
Change-Id: Ia62b04815d87021a57de5505541c3435e024a0c4
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Rohit Kumar [Thu, 22 Feb 2024 11:02:46 +0000 (16:32 +0530)]
[M120 Migration] Disable Select file on Chrome
Chrome is freezing when file system is accessed. This
patch disables the select file functionality.
Reference: https://review.tizen.org/gerrit/304907
Change-Id: Ifb5f9c3ccf573a1bcebcbd9133547be1cb43d4f3
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
DongHyun Song [Mon, 19 Feb 2024 08:26:09 +0000 (17:26 +0900)]
[WRTjs][VD] Reduce IS_TIZEN_TV compile flag #4
Remove IS_TIZEN_TV on TV profile's file handlers.
Change-Id: I56843c1e5aeab42426f782a9156abacae9b86993
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Mon, 19 Feb 2024 06:40:34 +0000 (15:40 +0900)]
[WRTjs][VD] Reduce IS_TIZEN_TV compile flag #3
Remove IS_TIZEN_TV for code readability.
Change-Id: I0cd3ebef4b9ed9bb0465de96d64d3af09bec49d6
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Mon, 19 Feb 2024 06:34:08 +0000 (15:34 +0900)]
[WRTjs][VD] Reduce IS_TIZEN_TV compile flag #2
Add BlockNavigation API to remove IS_TIZEN_TV for code readability.
Change-Id: I1134508597a4dbd99b3424fd551cb14d7d871a74
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Manjeet [Wed, 21 Feb 2024 10:40:05 +0000 (16:10 +0530)]
fixup! [M120 Migration] Enable snapshot feature for EFL port
This commit adds sample code to test sync screenshot API in ubrowser.
Reference:
https://review.tizen.org/gerrit/298956
Change-Id: I9781243ac601361437d6330035f93a2d53aa9776
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Sun-woo Nam [Sun, 23 Apr 2023 09:12:41 +0000 (17:12 +0800)]
[M120 Migration] Apply opacity/filter/border-radius for video hole.
1. Pass video hole flag to DirectRenderer
2. Disable blend for border-radius case
3. Disable blend and use Black Quad with opacity to simulate
opacity effect.
4. Update render target id for filter effect node
If parent node set filter:brightness, chromium will
create a kFilter effect node. This effect node will create a
contribute render surface which will cover on video. So we need to
update it's render target, let it to render on the same surface with
video hole rectangle.
5. Implement opacity css
Update video layer's target render surface to it's parent target
In some special case, like disney+, Hoichoi.tv opacity animation
will cause opacity abnormal. opacity is 1.0f, but create render surface.
Reference:
https://review.tizen.org/gerrit/#/c/291821/
https://review.tizen.org/gerrit/#/c/292417/
https://review.tizen.org/gerrit/#/c/297840/
https://review.tizen.org/gerrit/#/c/302794/
Change-Id: I6b07af528bb5e912fabec2a7c8a831adb96fbec9
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Manjeet [Tue, 20 Feb 2024 19:51:43 +0000 (01:21 +0530)]
[M120 Migration] Set IO|GPU thread type with higher priorites
This patch sets IO and InProcGPU thread types to higher priorites
kCompositing and kDisplayCritical respectively, like ANDROID,
to improve rendering performance.
Reference:
https://review.tizen.org/gerrit/290935/
Change-Id: Ib6de5c7a19feeb21e794889692439004ab39ff8a
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
yh106.jung [Tue, 20 Feb 2024 23:46:48 +0000 (15:46 -0800)]
Remove conditional statements for M/W profile
Since 8.0, Tizen supports a single set native of APIs.
So, this patch removes conditional statements for Mobile/Wearable
profile from ewk headers.
Change-Id: Id1e419e6fcf81cf0da5aa9c3d874f151b718d396
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Gajendra N [Wed, 21 Feb 2024 04:15:05 +0000 (09:45 +0530)]
Fix desktop build error on Ubuntu 22.04
Error:
Package 'atspi-2' requires 'glib-2.0 >= 2.62.0' but version of glib-2.0 is 2.40.2
Could not run pkg-config.
System's atspi-2 package version is newer on Ubuntu 22.04 which is not compatible
with the older glib version listed in jhbuild. Since atk is not needed for desktop
build, place the related pkg-configs under is_tizen guard.
Change-Id: I77c8d686af36e6fcbf1e555d109b6a1473e1752d
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
chiragmaheshwari [Mon, 19 Feb 2024 07:25:15 +0000 (12:55 +0530)]
[M120 Migration][PERF]Setting low-end device memory threshold as was in M94
Chromium checks whether current device is low-end device in
`SysInfo::IsLowEndDevice`. Main test is based on how much RAM is
installed on the device. Between M94 and M108 this threshold has been
raised from 512MiB to 2GiB. As most of Tizen TV devices has less then
2GiB RAM available, this causes that these devices are considered
low-end ones.
This causes that `--optimize-for-size` flag is passed to V8 in
`RenderProcessImpl` ctor. Although this indeed lowers memory pressure, it
has also very negative performance implications. So to keep performance
of M108 Chromium on Tizen TVs this patch changes threshold to one used
for M94.
Patch form:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292472/
Reference: https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293179
Change-Id: Ieb1cad80ff96deca6bb23cd9e262870964b3a1f5
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
venu.musham [Thu, 18 Jan 2024 11:00:21 +0000 (16:30 +0530)]
[M120 Migration] Error page isolation & navigation.
Disable error page isolation for EFL port
Use the current SiteInstance for error page navigation
Reference: https://review.tizen.org/gerrit/292258
Change-Id: I5a4d59f096a8814bd35d4ef57b4244105c53b457
Signed-off-by: venu.musham <venu.musham@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 05:23:57 +0000 (21:23 -0800)]
[M120 Migration][MM] Set mime type and fix the supported formats.
- Set mime type for Tizen
https://review.tizen.org/gerrit/#/c/293363/
- Support MPEG4 format on FFMpeg demuxer.
https://review.tizen.org/gerrit/#/c/301843/
- Fix warnings in supported_types.cc
https://review.tizen.org/gerrit/#/c/301927/
Change-Id: I85a28a3f77c6eb500ad24b1dd6de65eb10514dc8
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
jingjieli [Mon, 19 Feb 2024 09:28:28 +0000 (17:28 +0800)]
[M120 Migration][VD] elapsed time for url request
This adds end point logs for each url requests.
Also enables HWC log for url request.
Reference:
https://review.tizen.org/gerrit/#/c/297942/
https://review.tizen.org/gerrit/#/c/301473/
Change-Id: I3f3812551ca190c7d5e6b3abb222e60a21d724a0
Signed-off-by: jingjieli <jingjie.li@samsung.com>
Manjeet [Tue, 6 Feb 2024 06:10:48 +0000 (11:40 +0530)]
Cleanup dead code which is no longer needed or used.
Reference:
https://review.tizen.org/gerrit/#/c/290702
Change-Id: I033b9f6179f866d4ea07e9270fcd12c3de3ef411
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Gajendra N [Tue, 20 Feb 2024 05:08:44 +0000 (10:38 +0530)]
Cleanup web_view_evas_handler and related code
This part of the code is no longer used since post aura, hence removing.
Change-Id: I857d5f588d0452dac3008c5bf0e1c2459fff7386
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Manjeet [Wed, 7 Feb 2024 09:10:19 +0000 (14:40 +0530)]
[M120 Migration] Fix SVACE major issues.
Reference: https://review.tizen.org/gerrit/#/c/290723/
Change-Id: Ic39fb19057f0dd8d44bfcd104991e9b59b3aa1c4
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
YongGeol Jung [Tue, 20 Feb 2024 04:22:12 +0000 (20:22 -0800)]
Fix buildbreak that occurs when boost lib dependency is removed from wgt module
Due to modification of wgt-manifest-handlers module, the header file related to
|usleep| was removed. Modified to directly include the relevant header file.
../wrt/src/common/app_db.cc -o obj/wrt/wrt_lib/app_db.o
[ 3577s] ../wrt/src/common/app_db.cc:91:28: error: use of undeclared identifier 'usleep'
[ 3577s] usleep(100000 * (count + 1));
[ 3577s] ^
[ 3577s] 1 error generated.
Change-Id: I0ce50874548dbb5c467366f5614761b101212b2d
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 05:21:52 +0000 (21:21 -0800)]
[M120 Migration][MM] Get WebContents in Realtime.
1.web_contents_ varaible is passed by TizenRendererImpl constructor
It may be destroyed and don't notify TizenRendererImpl
which makes dangling pointer access
So get webcontents by render_process_id and routing_id in realtime
References:
https://review.tizen.org/gerrit/#/c/295250/
https://review.tizen.org/gerrit/#/c/297630/
- fixup! Solve GetViewportRect crash
There is also a web_contents_ that is not modified.
https://review.tizen.org/gerrit/#/c/295250/
Change-Id: I2d26e63417d9b383dd8a516d6b7b1cb7d1393259
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
venu.musham [Fri, 16 Feb 2024 11:04:40 +0000 (16:34 +0530)]
[v8] Enable v8 optimization.
V8 lite mode was enabled during upversion to resolve build
issues during bringup. lite mode disables v8 optimizations,
hence canvas performance was low.
Enable V8 optimizations.
Change-Id: I705d25fd91d7b3c6bc11006ac92a1dca1799fbdc
Signed-off-by: venu.musham <venu.musham@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 05:12:01 +0000 (21:12 -0800)]
[M120 Migration][MM] Pass |user_agent| instead of WebContents during MediaPlayer creation
This is to avoid dependency on //content in //media/filters
for resolving DA build errors for tizen 6.0.
Reference:
https://review.tizen.org/gerrit/#/c/295064/
Change-Id: I01d5d57075b734e15394624e6572ff11cbae1d04
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
DongHyun Song [Mon, 19 Feb 2024 01:58:01 +0000 (10:58 +0900)]
[WRTjs][VD] Make optional value for multitasking support
Make optional value for multitasking support
Change-Id: Ia19a272c898213f1e70d1ec61369464c4fc4ced3
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
liwei90727 [Thu, 8 Feb 2024 09:12:26 +0000 (17:12 +0800)]
[WRTjs][VD] Unset 500ms delay suspend for non-multitasking app
If app doesn't support multitasking, it's unncessary to delay
500ms for suspend, WRT can suspend immediately, then this app
will be quitted at once.
Change-Id: I815c1c58a85092996d61cadb9fb605ba31c24dd9
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
nishitha [Thu, 15 Feb 2024 10:25:29 +0000 (15:55 +0530)]
[M120 Migration][Tizen] Fixes coverity issue AUTO_CAUSES_COPY
Reference : https://review.tizen.org/gerrit/302479/
Change-Id: If7e5ef6e084586c083d470e6a160c0c772bb85fe
Signed-off-by: nishitha <n.saravanan@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 05:09:47 +0000 (21:09 -0800)]
[M120 Migration][MM][CAPI] Fix the logic for media using capi player.
This patch migrates the below previous patches partially for hls contents
to make work normally.
- Support webmedia playback state notification
webbrowser need playbackstart event to show miniplayer button.
https://review.tizen.org/gerrit/#/c/292410/
- Support Preloading feature
Add preload feature for Ligada ADINS tcs.
Which need high performance during video switch.
https://review.tizen.org/gerrit/#/c/292683/
- Support seek for live streams
This patch adds support for seek event on HLS / DASH streams.
https://review.tizen.org/gerrit/#/c/292955/
- Fix SetStreamInfo called multi-times issue
Check ispreparing state to avoid multi-times call.
https://review.tizen.org/gerrit/#/c/293823/
- Report right status and currenttime to app
https://review.tizen.org/gerrit/#/c/295396/
https://review.tizen.org/gerrit/#/c/301906/
- Fix hls video can't seek issue
Add flush_cb.run in it to make mojom pipeline works.
https://review.tizen.org/gerrit/#/c/298059/
- Fix CAPI Player Rotation
Rotation will use resource_id in such cases
- ecore_wl2_window_resource_id_get()
https://review.tizen.org/gerrit/#/c/298825/
- Move player initialization and preparation forward.
The first player initialization and preparation can be moved forward.
TizenRendererImpl::StartPlayingFrom -> TizenRendererImpl::Initialize
https://review.tizen.org/gerrit/#/c/300864/
https://review.tizen.org/gerrit/#/c/301060/
- Fix player release issue
Relax condition to make it unprepre always.
https://review.tizen.org/gerrit/#/c/301908/
- Adjust seeking behavior on media-player-capi-tv
This commit adjusts the way seeking is handled by the media player capi
playback layer.
https://review.tizen.org/gerrit/#/c/302863/
Change-Id: I453a8a6c435ace16c93f767be3b27f82a0c99b5d
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 05:08:23 +0000 (21:08 -0800)]
[M120 Migration][MM] Handle media playback with buffering state.
This patch migrates patches to handle playback behaviors with buffering state.
- Pause video when buffered data is not enough.
Pause video when buffered data is not enough to play.
And play video again when enough data is pushed.
This patch fixes audio loss after network is disabled and reconnected.
https://review.tizen.org/gerrit/#/c/300705/
https://review.tizen.org/gerrit/#/c/301096/
https://review.tizen.org/gerrit/#/c/301303/
- Trigger waiting event to APP
Report kReadyStateHaveCurrentData when no data to decoder.
https://review.tizen.org/gerrit/#/c/303941/
Change-Id: I2b0c6161628dfb987b326f34e6b2539ab5b26f87
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
v-saha [Fri, 9 Feb 2024 12:45:43 +0000 (18:15 +0530)]
fixup! [WRTjs] Enable WRTjs
This patch fixes build errors after enabling WRTjs for M120.
Change-Id: Ib7cfe8ea6166a92c87f34e7d384de71d7c2c8d31
Signed-off-by: v-saha <v.saha@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 04:19:46 +0000 (20:19 -0800)]
[M120 Migration][MM] Migrate patches for suspend and resume.
This patch supports suspend and resume behaviors when media goes to
background or the mulit-videos scenario.
- Handle suspend for Capi Player.
Handle suspend request from MediaCapabilityManager and resource conflict.
https://review.tizen.org/gerrit/#/c/292279/
- Arrange the suspend logic.
Release the esplusplayer when resource is conflicted.
https://review.tizen.org/gerrit/#/c/298638/
- Fix potential crash issue
Add null check to avoid crash.
https://review.tizen.org/gerrit/#/c/300715/
- Fix the media suspend/resume issue between apps.
Cancel the request suspend task if it has not been completed
when the player is resumed.
Flush the player buffer before seek.
https://review.tizen.org/gerrit/#/c/298571/
- Distinguish suspend situations based on the resource conflict.
The suspend situation by the player is mainly as follows.
1) If there are multiple videos in one content, request suspend by
MediaCapabilityManager.
2) Resource conflict occurs when another video plays in another process.
In case 1), these suspended videos doon't need to be resumed
when the app is suspended and resumed.
In case 2), the video should be resumed when the app is suspended and resumed.
https://review.tizen.org/gerrit/#/c/299121/
Change-Id: I53a602665458945bd359b89276f3602479fea5e7
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 04:15:11 +0000 (20:15 -0800)]
[M120 Migration][MM] Modifications for basic operation of ME & MSE using espp.
This patch migrates previous patches for media operations such as play, pause
and seek. And this patch categorizes them into several groups.
[Buffer logic]
- Reduce read requests
Avoid read request when player is not playing / seeking.
https://review.tizen.org/gerrit/#/c/292239/
https://review.tizen.org/gerrit/#/c/294027/
- Read data from demuxer during buffer underrun
https://review.tizen.org/gerrit/#/c/294082/
-Shrink unnecessary OnBufferingStateChange call.
The player doesn't need to transfer the same state (BUFFERING_HAVE_ENOUGH)
to the renderer side, so add the condition to shrink it.
https://review.tizen.org/gerrit/#/c/299653/
- Do not return the index -1 for the array.
The potential defect was reported by Coverity.
https://review.tizen.org/gerrit/#/c/293011/
- Remove unutilized code
Remove buffering based player state handling.
https://review.tizen.org/gerrit/#/c/294537/
[Seek]
- fixup! [M108 Migration][MM] Introduce renderer seek
for resume play scenario, app will seek to previous playtime
expected_seek_ is set true, if the player is not ready,
it will stop espp to read data from demuxer, so espp prepare never complete
https://review.tizen.org/gerrit/#/c/294960/
https://review.tizen.org/gerrit/#/c/295324/
- Ignore Flush before prepared
https://review.tizen.org/gerrit/#/c/298597/
- Prevent to esplsuplayer_seek twice.
https://review.tizen.org/gerrit/#/c/300869/
- Do not ignore seeking to 0 before prepared.
https://review.tizen.org/gerrit/#/c/301027/
- Skip the seek when the requested time is same as pending seek position.
https://review.tizen.org/gerrit/#/c/301630/
- Fix seeking after esplayer destroyed
https://review.tizen.org/gerrit/#/c/302426/
[Other]
- Fix video_000 video tct
Fix manual tests "video_000" that expects reference frame
to be displayed on the screen.
https://review.tizen.org/gerrit/#/c/292260/
https://review.tizen.org/gerrit/#/c/292315/
- Do not mute when the playback rate is 2.0.
https://review.tizen.org/gerrit/#/c/296453/
- Keep last frame when receive EOS event
https://review.tizen.org/gerrit/#/c/298157/
- Fix browser main thread stuck issue
player_get_play_position called before prepared.
This sync api will block browser thread.
Only prepare complete, then call this api
https://review.tizen.org/gerrit/#/c/300201/
- Check an espp status before setting the buffer type.
https://review.tizen.org/gerrit/#/c/299286/
- Fix svace warning
https://review.tizen.org/gerrit/#/c/297825/
- Fixup! [MM] Ensure player is destroyed before IEMEDrmBridge
https://review.tizen.org/gerrit/#/c/302624/
Change-Id: I6c77f75da170119892803d3d943cf3422ac5a9df
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
uzair [Tue, 9 May 2023 15:07:59 +0000 (20:37 +0530)]
[M120 Migration] Disable GL_EXT_disjoint_timer_query for TV profile
Below change disables GL_EXT_disjoint_timer_query extension for
TV as its giving invalid values during webapp launch which results
in DidFirstVisuallyNonEmptyPaint() not being sent from engine side
due to which we see black screen on emanual launch.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292539/
Change-Id: Ib378fea473fb6272d9a2f848f48ffca32703a876
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Sun-woo Nam [Fri, 2 Feb 2024 04:08:19 +0000 (20:08 -0800)]
[M120 Migration][MM] Refactor the relationship between TizenRendererImpl and MediaPlayer.
TizenRendererImpl has MediaPlayer as a memeber variable and calls the functions
of MediaPlayer. MediaPlayer doesn't depend on TizenRendererImpl, but needs to
deliver messages to TizenRendererImpl in some cases.
To remove coupling caused by these two-way calls,
MediaPlayer uses RendererClientInternal which inherits RendererClient
and MediaPlayerTizenClientExtension interface.
(The mojo interfaces RendererClient and MediaPlayerTizenClientExtension are
used to access pipeline from TizenRendererImpl.)
There are three problems in this structure.
1. MediaPlayer has two member variables with different interfaces,
but they point to the same object.
2. In the case of RendererClient, two RendererClient variables are created
according to the audio and video type. They are required when there are
audio and video renderers, but not in the current tizen renderer.
3. I don't think it needs to be implemented according to those interfaces.
The function not included in those interfaces may also be needed.
Therefore, in order to solve these problems,
create MediaPlayerTizenClient interface and make TizenRendererImpl
implement the interface and hand over to MediaPlayer.
In addition, include functions in MediaPlayerTizenClient that were handed over
as callback.
Refernce:
https://review.tizen.org/gerrit/#/c/294565/
https://review.tizen.org/gerrit/#/c/297907/
https://review.tizen.org/gerrit/#/c/300743/
Change-Id: I4da99a4329d7ce1bff02b60dd7ac36b3b1037811
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
DongHyun Song [Wed, 14 Feb 2024 08:12:54 +0000 (17:12 +0900)]
[M120 Migration][Service][VD] Support file extension resolver for ESM type
require.extensions[] extension resolver is only supported on cjs(CommonJS).
For ESM modules, it needs to try to search path with extensions again.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296123/
Change-Id: I693902979f51d7267cf8d23e2c66d723bc9c45ee
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Thu, 15 Feb 2024 06:52:01 +0000 (15:52 +0900)]
[WRTjs][VD] Hide early if app is visible when termination
If an application is terminated by 3rd party when app is visible,
black screen or abnormal last frame can be observerable for a moment.
So, this patch will hide the window early while closing window.
Change-Id: Ied14bdd3f40891c9695b1ef89250f4bd7010d8f1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>