jingjieli [Thu, 20 Jun 2024 02:42:47 +0000 (10:42 +0800)]
[M120 Migration] Add ssl error log, net error log and DidChangeVisibilityState log
1. Add Log to check a ssl error code.
2. Add net error logs for url requests.
3. Add DidChangeVisibilityState logs for check Visibility State.
Reference:
https://review.tizen.org/gerrit/#/c/291819/
https://review.tizen.org/gerrit/#/c/298745/
Change-Id: I6dc01acd9192a1c005cde7787671ba7815176ab4
Signed-off-by: jingjieli <jingjie.li@samsung.com>
huochangjun [Wed, 19 Jun 2024 08:23:52 +0000 (16:23 +0800)]
[RISCV] Fixed v8 compile error by adding "-Wno-nonnull" cflags
cherry picked from upstream
- https://chromium-review.googlesource.com/c/v8/v8/+/
5331756
Change-Id: Ic85e5663ae7b826918a34f9905819b2dc7bd9923
Signed-off-by: huochangjun <changjun.huo@samsung.com>
wangjing [Wed, 19 Jun 2024 06:21:38 +0000 (14:21 +0800)]
[M120 Migration] Change the WebBrowser web page scroll step
1. change the DefaultScrollStep from 20px to 140px on Mouse Wheel
refer:
https://review.tizen.org/gerrit/#/c/297623/
2. change the scroll step from 40px to 140px on Keyboard 4 direction key
refer:
https://review.tizen.org/gerrit/#/c/293619/
Change-Id: I09f64460982aeb033608afe8042405fa26194e4b
Signed-off-by: wangjing <jing124.wang@samsung.com>
tarun1.verma [Fri, 14 Jun 2024 08:31:05 +0000 (14:01 +0530)]
[NextBrowser] Added browser_core, input_provider, input_manager mouse event APIs and remocon event API
Change-Id: I0c3f79f5caafb3014279f3ac198ee811dcf761e4
Signed-off-by: tarun1.verma <tarun1.verma@samsung.com>
Lizhi Fan [Tue, 18 Jun 2024 07:37:32 +0000 (15:37 +0800)]
[VD]Implement ewk_context_notify_low_memory for TV
This ewk API has been commentted out for a while,
it looks useful anyway, so implement it.
Change-Id: I6b8b816de6b9bd56d3766858613fe159c607031f
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
Robert Bycul [Wed, 5 Jun 2024 12:29:41 +0000 (14:29 +0200)]
[M120 Migration][WASM] Liftoff PrepareForBranch overwrites register
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295306
Only one of the Spill method declaration changes ported:
Spill(int, WasmValue) -> Spill(int, WasmValue, LiftoffRegList)
since LiftoffRegList parameter is not used in any calls of
Spill(int, LiftoffRegister, ValueKind)
The change in CacheStatePreservingTempRegister regarding introducing
the LiftoffRegList typed pinned_ member is already present in upstream.
The unit test originally added in the change that is now being ported is
currently added along with the change enabling V8 unit tests.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I1dd7cb50158ef7bd40da8e5f6df0dbcc962b2ab7
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
zhaosy [Tue, 18 Jun 2024 07:46:28 +0000 (15:46 +0800)]
[VD] Update wrtjs rpm
* Onemain wrtjs
* vbs-wrtjs-
20240613.163259
Change-Id: I060c807798003e782118ba7369a32ba48bef0c2a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
shayh [Fri, 7 Jun 2024 01:10:45 +0000 (09:10 +0800)]
Add the script of fix_coding_style.sh
Change-Id: I5b138ca6da5aed71a68a9feefce66969e99b531e
Signed-off-by: shayh <yuhong.sha@samsung.com>
Lizhi Fan [Wed, 12 Jun 2024 02:06:30 +0000 (10:06 +0800)]
[VD]Trigger MajorGC by system memory low warning
When system memory is running low, Sysman will notify
processes with a soft warning first.
Now we will trigger MajorGC for browser process and
every renderer process if warning received.
To control the frequency of MajorGC, we start a 10s
timer to check the memory warning.
Change-Id: Ieabcf2ef604e2be39b1f475b03b5d59995f550c3
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
fangfengrong [Mon, 17 Jun 2024 03:29:13 +0000 (11:29 +0800)]
[M120 Migration] Disable HBBTV injected bundle preloading on LICENSE image
Usually the HBBTV injected bundle preloading process is as following:
1. Zygote process launched and preload injected bundle with:
injected_bundle_handle_ =
dlopen("/usr/lib/libhbbtv-injectedbundle.so"), RTLD_LAZY);
2. dlopen trigger HBBTV Init() function, in which it regiter its extension
to a global variable instance; the Init() function is declared as:
extern "C" __attribute__((constructor)) void Init()
3. Zygote process folk child process (render process);
4. In render process, first it close the dlopen handle from zygote:
dlclose(injected_bundle_handle_);
5. In render process, and then it invoke dlopen again:
handle_ = dlopen("/usr/lib/libhbbtv-injectedbundle.so", RTLD_LAZY);
at this point, result handle_ is same as before injected_bundle_handle_,
and the HBBTV constructor attribute function will not be invoked again.
then HBBTV have only init once, every fine.
While in NVT image, in step 5:
when render process invoke dlopen again:
handle_ = dlopen("/usr/lib/libhbbtv-injectedbundle.so", RTLD_LAZY);
the result handle_ is different from before injected_bundle_handle_,
and HBBTV constructor attribute function [Init()] have been invoke again.
then HBBTV have init injected bundle twice, register twice,
then caused crash when V8 install extension.
Linux team have not give a answer why the behaivor is different,
now we disable the HBBTV injected bundle preloading of LICENSE image.
Reference:
https://review.tizen.org/gerrit/#/c/292921
Change-Id: I95d6263bed0e88786e27e193dea98fae152f8892
Signed-off-by: fangfengrong <fr.fang@samsung.com>
Manjeet [Thu, 6 Jun 2024 09:01:04 +0000 (14:31 +0530)]
[M120 Migration] Fix IME Panel Subtypes for Number Input.
Corresponding IME Panel should be shown for different types of number input.
This patch makes necessary changes to handle all layout subtypes
for "ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY".
Reference:
https://review.tizen.org/gerrit/301669
Change-Id: I7cdd779c52f09f27d63620971f0dfd05c8404e31
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Hyomin Kim [Tue, 27 Jun 2023 02:38:11 +0000 (19:38 -0700)]
[M120 Migration] Delete SetIsInFormTag function
Delete the function above for readability and
to prevent unnecessary function calls.
Please refer to [0].
[0]:
601af399872a9d47482653e79b92031f00d023e8
Change-Id: I9b5790ae0037037f5b8e2dc13e3c03d26ba2f484
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
Manjeet [Tue, 4 Jun 2024 09:01:49 +0000 (14:31 +0530)]
[M120 Migration] [Cursor] Create mouse cursor for popup windows
With commit
568a72a, popups (JS dialogs, pickers etc.) are shown on
new elm window. Since new elm window is created for every popup show,
the cursor created for container window will not work on this new window.
Reference:
https://review.tizen.org/gerrit/300067
Change-Id: I72fbca92b58155283c9ec13ac976a4893872a657
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Wed, 29 May 2024 09:04:51 +0000 (14:34 +0530)]
[M120 Migration] Enable color picker for onscreen mode
In Onscreen mode, Color picker is not seen on top window,
so creating new elm_window and adding picker on top of it.
Reference:
https://review.tizen.org/gerrit/299928
Change-Id: I54822b3d8f13ea59f9716cfc4a622dd01d3777da
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Satyaveer Singh [Wed, 12 Jun 2024 06:14:02 +0000 (11:44 +0530)]
[M120 Migration] Move ownership of |WebViewDelegate| from eweb_view to WCI
Some of the current offscreen features like SelectionController,
ContextMenuController are going to be enabled for onscreen as well.
This requires wrt to depend on WebViewDelegate. Hence move the ownership
of the delegate from eweb_view to WebContentsImpl(WCI) so that
the delegate can be accessed in generic for both onscreen and offscreen cases.
References: https://review.tizen.org/gerrit/310243/
Change-Id: Ie21a6a7285d0f574823edf2504440749a7c02515
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
jie [Fri, 14 Jun 2024 09:15:55 +0000 (17:15 +0800)]
[Autofill] Fix autofill crash issue
There is a check added for AutofillProfileChangeCallback,
when secret page add, new context cause the callback set again, it will crash
refer to https://chromium-review.googlesource.com/c/chromium/src/+/
4464908
follow m108 logic, just remove the check of the callback to resolve crash
ToDo: Autofill client API used in tizen platform, so PersonalDataManager may not need
will remove the logic later after verify autofill feature work well.
Change-Id: I9f53f75b4293ac3fcceaabbfa152623b80141b9b
Signed-off-by: jie <jie137.zhang@samsung.com>
Adam Bujalski [Fri, 14 Jun 2024 07:03:22 +0000 (09:03 +0200)]
fixup! [M120 Migration][WASM] Web IDL Direct access - HostBinding
Fixing OscarP 64 bit builds.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-265
Change-Id: I35a4ed36fc0c39013c26f963de0c40be93658477
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Chandan Padhi [Thu, 13 Jun 2024 06:46:14 +0000 (12:16 +0530)]
fixup! [M120 Migration][WebRTC] Enable unit tests
This commit fixes below desktop build error.
ERROR at //third_party/webrtc/webrtc.gni:98:53: Undefined identifier
rtc_exclude_system_time = build_with_chromium && !tizen_rtc_unittests
^------------------
Change-Id: Id458254ad1860fd039b5cb07ca576dc1c901b136
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Lizhi Fan [Fri, 14 Jun 2024 07:49:34 +0000 (15:49 +0800)]
[VD]Enable browser process memory dump for tracing
Registers the browser process as a memory-instrumentation client, so that
data for the browser process will be available in memory dumps.
This is only for runtime having browser process,
WRT doesn't need this as memory-instrumentation client registered
in |ContentMainRunnerImpl::Run|.
Change-Id: I1f76023b57518d2db8f456d5bd78a818ffc0b3e6
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
Yu Yang [Fri, 14 Jun 2024 03:24:36 +0000 (11:24 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)
Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior
Change-Id: Ie8458624cd4a0c48da90f3cf1ba1ec671bf771d4
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
Sun-woo Nam [Fri, 14 Jun 2024 04:16:39 +0000 (21:16 -0700)]
Fix SVACE issue.
The pointer returned by operator new can't be null.
Change-Id: I1189e8eb05b80a0843b6dc6f1324664fe604a077
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
hongyanting [Wed, 24 Apr 2024 08:15:45 +0000 (16:15 +0800)]
[M120 Migration][WebRTC]fix unsafe code for security check and svace issue
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291945/
Change-Id: Ie483554b69a0142b37fdc71fac90df2322ed89b4
Signed-off-by: hongyanting <yanting.hong@samsung.com>
wuxiaoliang [Mon, 27 May 2024 07:09:25 +0000 (15:09 +0800)]
[M120][MM] Use urldemuxer for videos not supported by ffmpegdemuxer
The following video extensions which are not supported
by chromium ffmpegdemuxer will use urldemuxer & mm api to play
- asf, avi, flv, mpeg, mpg, mts, m2ts
- vob, vro, wmv, tp, trp, ts, mpd
Change-Id: I7d8079c1455c061f1d306c7c5f58469e7f503af7
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
hongyanting [Tue, 27 Feb 2024 10:23:05 +0000 (18:23 +0800)]
[M120 Migration] Print function name and enable colorful log print
print function name:
log tag(pid): filename: function name(line number): content
print function name is helpful for debugging
print colorful log:
1.add CHROMIUM-WEBRTC log tag
2.colorful log print and print function name
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291931/
Change-Id: Ie89957e96edf85b9246c92cc7d2b338cb5432c89
Signed-off-by: hongyanting <yanting.hong@samsung.com>
liwei90727 [Fri, 19 Apr 2024 08:29:10 +0000 (16:29 +0800)]
[M120 Migration][WRTjs][VD] Try mount when tmg file path not exit
App A send umount request to ps agent -> App A' skip mount bcz
mount point exist-> App A umount successfully in ps agent -> App
A' fail to launch index.html bcz app package is umounted before.
Check mount point when access file, if mount point not exist, try
mount again.
Related Patch
https://review.tizen.org/gerrit/309683/
Change-Id: I7f15dac7a41b942847b3e306faecfaf659d4457e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
Chunling Ye [Tue, 12 Mar 2024 05:32:05 +0000 (13:32 +0800)]
[WRTjs][VD] Support touch RC in at least tizen8.0
In at least tizen8.0, if app set up support touch, then in
support touch platform, call engine api to enable touch
function, otherwise disable touch.
In LFD/IWB products, app default is support touch, others
default is unsupport touch.
if app no need floating menu, need setup floating.navigation
to false. App default need show floating menu.
Refer:
https://confluence.sec.samsung.net/pages/viewpage.action?
spaceKey=SRCNJWEB&title=4.+Touch+for+Premier
Change-Id: Ic7b8c03baf5ac0095ba8cf39eccaf0171ad117c1
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
(cherry picked from commit
d9c1b013b9f0a31b4bf32db7eafe6616a54341ce)
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Robert Bycul [Wed, 15 May 2024 08:25:31 +0000 (10:25 +0200)]
[M120 Migration][V8] Introduce DLOG logging
This change is extracted from the following:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293822
where the DLOG logging was introduced along with WASM modules caching.
Since the DLOG logging is actually logically independent of the WASM caching
logic, it is better to move it to a separate change. This will ease the future
porting.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1546
Change-Id: I49f22eaec4c12b3448353439f73c26a7734180d5
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Wed, 5 Jun 2024 13:46:28 +0000 (15:46 +0200)]
[M120 Migration] Fix deadlock on WebAssembly baseline compilation finish
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300070
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: Ibe944dfa2c86f3181d92dec7b7a9b5e92d309bc0
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Tue, 4 Jun 2024 13:37:19 +0000 (15:37 +0200)]
[M120 Migration] [Wasm] TurboFan compilation hefty memory usage
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294454
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: If7cc5e057cc7c3cd29e4116f3d95016290ab754e
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Mon, 3 Jun 2024 10:20:00 +0000 (12:20 +0200)]
[M120 Migration][WASM] Compile big functions sequentially
Ported changes:
Original change:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292708
Fixups:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296434
(changes of unit tests already included in the port of V8 unit tests)
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298091
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I9964536fcc5f727b469cff7799331a0fab32c6ac
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Fri, 7 Jun 2024 08:17:46 +0000 (10:17 +0200)]
[M120 Migration] [WASM] Increased memory usage when reloading `iframe` elements
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306189
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I7ec9dd37a691c74d40fc09559ef40680379ac506
Robert Bycul [Fri, 7 Jun 2024 09:58:17 +0000 (11:58 +0200)]
[M120 Migration] [WASM] `V8Debugger::m_cachedStackFrames` size increase
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306190
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I05205fa752b3f80bc7b46d3b548f541f4a527a6a
Robert Bycul [Fri, 7 Jun 2024 06:42:21 +0000 (08:42 +0200)]
[M120 Migration] [V8][WASM] Memory leaks during Wasm module decoding
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306188
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: Iaf8c905e6faea3bb8a7b07622e2aaf81d730f194
Robert Bycul [Fri, 10 May 2024 05:42:10 +0000 (07:42 +0200)]
[M120 Migration][V8] V8 unit tests added
Ported commits:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294114
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298529
The issues below are already fixed in upstream code, so porting
the regression unit tests for them.
[M120 Migration] [WASM] Liftoff generates code which overwrites register
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294235
[M120 Migration][wasm][liftoff] Fix stack merging and MergeFullStackWith
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294455
Change-Id: Ie701768bed610f7d6477110318335c1bea262b80
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Adam Bujalski [Wed, 5 Apr 2023 13:37:13 +0000 (15:37 +0200)]
[M120 Migration][WebRTC] Add webrtc-internals
This patch adds webrtc-internals page, accessed through debugging
protocol, e.g. http://tv_ip:7011/webrtc-internals
Reference: https://review.tizen.org/gerrit/292714
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1549
Change-Id: I61d30631beaef969f9186221a90e464524fe5ffb
yang yu [Thu, 13 Jun 2024 01:33:30 +0000 (01:33 +0000)]
Revert "[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)"
This reverts commit
9bec724407277c60f88f1643b3d132952f6303c6.
Change-Id: I21c4c8429c86f8add9b2099d4735dfd1cacafa81
Mark Toller [Thu, 6 Jun 2024 07:57:56 +0000 (08:57 +0100)]
The ‘Custom’ IDL settings have been removed upstream, as they’re not used by any other components anymore:
https://chromium.googlesource.com/chromium/src/+/
70265bc539736dc8d93d482bbbb2144b67b092cf
https://chromium.googlesource.com/chromium/src/+/
0b081126415c49b8ea1f515e93e5a93ccf3e599a
These are required for HbbTV, in combination with
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271999/
This patch re-instates this code.
Change-Id: Id3c22e096c7e209991e9ff45cb1f91847ce3a79a
zhishun.zhou [Wed, 12 Jun 2024 06:52:12 +0000 (14:52 +0800)]
[M120 Migration][EME] EME Privacy mode support
Adding a support for server certificate to further enhance
EME security level. The details of setServerCertificate are
described in W3C EME specification:
https://www.w3.org/TR/encrypted-media/#dom-mediakeys-setservercertificate
There are the following constraints of CDM module:
* Privacy mode is set during CDM creation
* Server certificate has to be registered before creating
the first session and generating session request
Turning privacy mode on fixes the following EME 2021 test cases:
9. setServerCertificate
Patch from:
https://review.tizen.org/gerrit/#/c/272408/
Change-Id: I5acfdec96a574384d7b078e59f5c178252e3983c
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
zhishun.zhou [Thu, 6 Jun 2024 12:17:32 +0000 (20:17 +0800)]
[M120 Migration][MM] Avoid evicting buffers on abort/duration change
Chromium still maintains deprecated logic to remove buffers on
duration change.
MSE conformance test
- MediaElementEvents:
Source buffer should not add/remove/update during the duration
update callback.
MSE Conformance link:
https://ytlr-cert.appspot.com/latest/main.html?tests=18
Patch from: https://review.tizen.org/gerrit/#/c/287556/
Change-Id: Id7d8e96b5e7de04db2108167bcbfa39cffbb1199
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Adam Bujalski [Wed, 5 Jun 2024 10:34:00 +0000 (12:34 +0200)]
fixup! [M120 Migration] Build libchromium-impl.so with chrome implementation
Fixing rpmbuild issue `warning: File listed twice:`
Change-Id: I0e75967d8b1d8899672f46bc0c0fa526a6f0a5e6
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Feng Xia [Wed, 12 Jun 2024 03:42:58 +0000 (11:42 +0800)]
[RISCV] Add profile for tizen9.0 riscv
Change-Id: I328c16ed32cd0f769a234a0619a0d823e09da0f1
Signed-off-by: Feng Xia <feng.xia@samsung.com>
fangfengrong [Tue, 11 Jun 2024 03:28:42 +0000 (11:28 +0800)]
[M120 Migration][VD] Fix web_contents() is null cause coredump issue
Fix web_contents() is null cause coredump issue;
refer:
https://review.tizen.org/gerrit/#/c/310039/
Don't CreateSelectionControllerEfl for onscreen mode
to avoid coredump code has revet in later patch,no need to merge.
https://review.tizen.org/gerrit/#/c/310661/
Change-Id: I3868646a2d81ea85c967290da90e19ddf292e61e
Signed-off-by: fangfengrong <fr.fang@samsung.com>
Hyomin Kim [Thu, 29 Jun 2023 23:31:17 +0000 (16:31 -0700)]
Remove |editable| in |FocusedNodeChanged|
The logic regarding the parameter |editable| is duplicated.
It is used to remember that the current focus is on the input element
and to reset the context after the focus is lost or changed.
There are 2 functions in it.
1. |IMContextEfl::CancelComposition|
The function consists of |ResetIMFContext| and |ConfirmComposition|.
The former one is called through |RenderWidgetHostViewAura
::FocusedNodeChanged|->|InputMethodAuraLinux::ResetContext|
->|EflInputMethodContext::Reset|->|IMContextEfl::ResetIMFContext|.
When the mouse event or touch event which makes the focus change occurred,
|RenderWidgetHostViewEventHandler::FinishImeCompositionSession|
is called and eventually |RenderWidgetHostImpl::ImeFinishComposingText|
which is the purpose of |IMContextEfl::ConfirmComposition| is invoked.
If the focused node is changed by TAB key, the commit signal is sended
by the platform so manual cancellation isn't needed.
2. |IMContextEfl::OnFocusOut|
When the focus is updated, through |InputMethodAuraLinux
::UpdateContextFocusState|->|EflInputMethodContext::UpdateFocus|,
|EflInputMethodContext::Blur| calls the function above.
So remove the codes related to the |editable| parameter.
Change-Id: I7f8f6bdb7039fcac47c595ba38508d670641f298
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
Chandan Padhi [Fri, 7 Jun 2024 11:48:22 +0000 (11:48 +0000)]
Revert "[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue"
This reverts commit
4729546debca78d118b22da21ad9e4725e5fcb93.
This patch is causing duplicate character entries in input fields on desktop.
Change-Id: I010962ef161d02037ec7cc09d88865613d88188d
DongHyun Song [Fri, 1 Mar 2024 09:52:52 +0000 (18:52 +0900)]
[XWalkExtension] Introduce runtime messgae handler
For EWK runtimes, this provides to register callbacks for XWalkExtensions'
runtime message.
On XWalkExtension based webapis, its JS side can invoke native functions
by 2 ways. One(A) is calling to the webapi native code side, the other(B)
is calling to runtime side.
(A)
- extension.sendSyncMessage
- extension.sendSyncMessageWithStringReply
(B)
- extension.sendRuntimeMessage
- extension.sendRuntimeSyncMessage
Until now, EWK runtime side has no way to get message of B type except
'XWalkExtensionBrowserEfl::HandleRuntimeMessageInternal',
This feature will provide independent message handlers via EWK API.
i.e.)
char* AppExit(const char* argument) {
// TODO
return strdup("success");
}
ewk_context_add_xwalk_extension_message_handler(context, "tizen://exit",
AppExit);
Change-Id: Ia8be62bdd9cdfa21243a172743e8cedb571df6b1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Yu Yang [Mon, 3 Jun 2024 06:18:43 +0000 (14:18 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)
Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior
Change-Id: I708c8c1df70f5f8d6f6e4b33387b319212f2350f
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
zhishun.zhou [Tue, 4 Jun 2024 08:06:51 +0000 (16:06 +0800)]
[M120 Migration] Release tz_handle before clear buffer queue
Issue:
Potential tz_handle leak
Reason:
When esplusplayer_submit_trust_zone_packet failed, if failed reason
is FULL or OUT_OF_MEMORY or NOT_PREPARED, the packet will be stored in
buffer queue; While in the release function of MediaPlayerESPlusPlayer,
it just clear the buffer queue without release the tz_handle, that could
cause tz_handle leak.
Solution:
Release tz_handle before clear buffer queue.
Change-Id: If13917dc866bb46a5c47466f963c1c13c65c4db0
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
feifei08.liu [Thu, 30 May 2024 10:37:32 +0000 (18:37 +0800)]
[M120 Migration][VD] Change quota allocation size
1. Without unlimited privilege, set temporary quota size to 80MB
2. With unlimited privilege:
a. For TV, temporary quota size sets to 80MB
b. For Signage(product type is "LFD"), set kMustRemainAvailableRatio to 0.1
Reference:
https://review.tizen.org/gerrit/290664/
Change-Id: I6a3128e0ac56066351cd30d7248a672f7ca49963
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
Chandan Padhi [Thu, 6 Jun 2024 12:49:29 +0000 (18:19 +0530)]
Set crypt config for EFL
Crypt config was not set that resulted in browser crash due to a
CHECK failure in OSCryptImpl::CreateKeyStorage.
This crash was reproduced while verifying signin on passkey demo
at https://passkeys-demo.appspot.com/.
Change-Id: I7d44b8b30537b2d668fae013e40b9834785128f1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Michal Jurkiewicz [Tue, 11 Jun 2024 07:24:05 +0000 (09:24 +0200)]
fixup!^3 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
Fix build break on emulator by disabling -Werror for the following warning:
[ 4782s] ../base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h:160:1:
error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
[ 4782s] 160 | #if PA_CONFIG(HAS_MEMORY_TAGGING)
[ 4782s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id4b0f231db6c7fb6e652983c3cea718d539a3e5c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Robert Bycul [Fri, 24 Feb 2023 12:45:05 +0000 (13:45 +0100)]
[M120 Migration][WebRTC] Enable unit tests
1. Port of the following commit:
* [M108 Migration][WebRTC] Enable unit tests
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296649
2. Enabled more tests under `tizen_rtc_unittests` flag and
performed required modifications to make rtc unittests compile
correctly.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I72cfbc1892afbb72d6d2e3ad33140a7263699369
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Wed, 5 Jun 2024 14:56:54 +0000 (16:56 +0200)]
fixup!^2 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
* Add missing guards
* Add missing thread boosting for audio bypass
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I6f93567c8f325131ecfd25016815f8db7630f2be
Sugyum Kim [Mon, 10 Jun 2024 11:02:06 +0000 (20:02 +0900)]
[VD] Update gbs.conf for Tizen 9.0 Onemain
Update base repo, product repo
Change-Id: Ib033ccff634dc53215e10a527b7a4d4d2bc31b79
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
Manjeet [Mon, 10 Jun 2024 06:47:48 +0000 (12:17 +0530)]
[GCC] Fix gcc 14 build error
Change-Id: I9024573810c5c968471bd14aebd95384922ca9e7
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Michal Jurkiewicz [Wed, 5 Jun 2024 15:03:12 +0000 (17:03 +0200)]
[WebRTC] Fix for upstream audio unittests
Fix buildbreak during upstream audio unittests compilation
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ib7317b2e742f619813a948931b6422c2953953c0
Michal Jurkiewicz [Wed, 5 Jun 2024 13:44:16 +0000 (15:44 +0200)]
fixup!^2 [M120 Migration] Port WebMedia optimizations for WebRTC
Added missing header file change.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ice97c57b6a3968947b6f6b583c4eff13a067c203
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Wed, 5 Jun 2024 13:40:34 +0000 (15:40 +0200)]
fixup! [WebRTC] Correct H265 upstream unittests
Additional fix in `H265IrapIsNotKeyframe` unittests for
build error:
static assertion failed: std::vector must have a non-const, non-volatile value_type
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Icb2ad56ed34394f99b6cc4849a739c1e4f4ac34e
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
wuxiaoliang [Fri, 10 May 2024 05:48:52 +0000 (13:48 +0800)]
[M120 Migration] Notify media device connection state change to webbrowser
webbrowser listen "device,connection,changed".
chromium will notify device change with int type.
there are so many bt_product_init/bt_product_deinit,
now refine it.
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297120/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300569/
Change-Id: I0778946fdd81eb6f04997430a19edd59e6fba716
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
peng1xiao [Thu, 9 May 2024 03:32:51 +0000 (11:32 +0800)]
[M120][Media] Add essential log message for easy debuging
1.enable app event in html
2.enable log for demuxer init and seek
3.enable cdm session log
4.trace suspend and resume
5.update player id to pipeline
Change-Id: I2c884d3bf761acf8d7375bc0cd34aad17994ff86
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Michal Jurkiewicz [Tue, 4 Jun 2024 20:08:22 +0000 (22:08 +0200)]
[WebRTC] Correct H265 upstream unittests
Missing `cricket` namespace before `CreateVideoCodec` method
results in a buildbreak during WebRTC unittests compilation.
Added namespace to solve build issue.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I255585e828d2b0c51b3f23f66f698bb7ae794d7d
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Tue, 4 Jun 2024 15:18:51 +0000 (17:18 +0200)]
fixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
Correct issue in `FakeVoiceMediaReceiveChannel` and Mock classes
which occurred during porting.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I515ff40d17c80253813fa33b5a8740e79054e30f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Tue, 4 Jun 2024 15:58:19 +0000 (17:58 +0200)]
fixup! [M120 Migration] Port WebMedia optimizations for WebRTC
Correct MockNetworkControl and CallClient classes, which were
not updated after porting patch from M108.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Iff63ec339bbc23a93064351fed3c005abe845f64
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Adam Bujalski [Fri, 21 Jul 2023 16:49:02 +0000 (18:49 +0200)]
[M120 Migration] Updating User Agent Hints
Port of the following patch:
* Updating User Agent Hints
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296307
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id3b673d47017408cd3479318ee69df4795407eea
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Sat, 20 Jan 2024 14:58:33 +0000 (15:58 +0100)]
[M120 Migration][TTVD][WebRTC] Port of TTVD version history
* [WebRTC][GS] Add versioning for tizen upstream architecture component
Change-Id: I0d580b47816abf2ee037c1d041a731591ba68452
* [M108 Migration][Versioning] Add WebRTC for wasm_api_versioning widget
Change-Id: I72cd0a374c56fafab9b3b2251c4d5d4a7f6f240e
* fixup! [WebRTC][GS] Add versioning for tizen upstream architecture component
Change-Id: I237ca12b3182eaa250d98a7389ef47732510bd49
* [MM][WebRTC][GS] Use TTvd name instead of "WebRTC upstream architecture" when versioning
Change-Id: I4f7595459c35394ffb4685704aa275acb4073fde
* fixup!^2 [M108 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI
Change-Id: I41c5c315e6db7d37ee157084c2bd2d2a6f5518a5
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ia283137603bde188cf68fa29e0fdd7fa330ec45f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Fri, 31 May 2024 08:33:41 +0000 (10:33 +0200)]
[M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0
1. Port of the following patches:
* [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293264
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296092
* Fixing crash in xCloud application.
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296643
* [M108 Migration][WebRTC] NullSocketServer for WebRTC_Worker thread
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297893
* [WebRTC][GS] Thread booster adjustments
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295822
2. Performed modifications to `TimerBasedTickProvider` class to solve crash in
`RequestCallOnNextTick` method - CHECK in
`base::SequencedTaskRunner::GetCurrentDefault()` fires due to WebRTC threads
not having `SequencedTaskRunner`. For this purpose, additional constructor
parameter has been provided to `TimerBasedTickProvider` class specifying
task runner, on which `PostDelayedTaskAt` should be run at.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I3b506d276996cf1185dc6cdc44ead79b58607acd
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Tue, 4 Jun 2024 11:05:42 +0000 (13:05 +0200)]
[M120 Migration] No default rtc::COW allocation in RtpPacketReceived
Ported patch from tizen 8.0:
* [M108 Migration][WebRTC] No default rtc::COW allocation in RtpPacketReceived
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297889
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I1703a438b5f73dae2acde02035e7bc179f6bdd45
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Adam Bujalski [Fri, 17 May 2024 09:24:37 +0000 (11:24 +0200)]
Suppressing compiler warnings from third_party libraries
There are some compiler warnings issued for code in `third_party/`.
This patch suppress them.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I0b20950a989892900e8cd62a259f8feb5562a09e
Michal Jurkiewicz [Mon, 19 Jun 2023 08:15:24 +0000 (10:15 +0200)]
[M120 Migration] Porting WebRTC patches
Porting the following patches:
* [WebRTC] Propagate keyframe request to WebRTC pipeline from adapter
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294852
* [M108 Migration] [Duo] Listen to audio devices changes
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/277323
* Enable screen capture
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296945
* [M108 Migration][WebRTC] No double RTP packet demuxing
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297891
* [WebRTC] Removing `RtpPacketInfo` map from video receivers
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297892
* [M108 Migration][WebRTC][GS] Using std::vector instead of std::list as PacketList
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297896
* [M108 Migration][VD] Enable audio debug recodings for input stream
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/299437
* [MM][WebRTC] Add screen capture device mapping to WebBrowser
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300593
* [WebRTC] Using `-O3` optimizations for the WebRTC and libsrtp
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/301150
* [GS][WebRTC] Fixing multichannel OPUS channel order
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/308386
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id7d50232e2b83a8d4696e699d8dc32a34d5defef
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Qiang Ji [Wed, 5 Jun 2024 06:16:01 +0000 (14:16 +0800)]
[M120 Migration] Fix mix-blend-mode cause video invisible
In some website, mix-blend-mode was used to implement a custom
controller for video. It will enable blend mode for video element.
As we used video hole in our platform, we cannot enable blend mode
for video element.
reproduced steps:
apple.com -> search "video" -> select "Accessories" tab
-> select "Insta360 Ace Pro Bundle" -> play video
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298826/
Change-Id: I3360017fbfc1b468fbddb7046e415b50ce8b820a
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
Manjeet [Tue, 28 May 2024 15:46:31 +0000 (21:16 +0530)]
fixup! [M120 Migration] Bringup Link Effect feature
FocusedWebLocalFrameInWidget() can possibly return a null/invalid
WebLocalFrame that may result in crash in certain scenarios. This
commit adds a null check to avoid the same.
Reference:
https://review.tizen.org/gerrit/299896
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Change-Id: Ib8988f9b71cfaf323f6cd4b1a9b81629ac75b656
Manjeet [Mon, 27 May 2024 13:33:34 +0000 (19:03 +0530)]
[M120 Migration] Fix rotation issue for ConnectTime app in Offscreen mode
In offscreen mode, when the app is rotated the new bounds are not
updated to DeviceDisplayInfoEfl. This patch makes sure that the values
are updated in WebContentsViewAura.
Reference:
https://review.tizen.org/gerrit/299453
Change-Id: Iaa4e7cfc8ec1b0b5708acbce2ecba31fb348f824
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Rohit Kumar [Wed, 22 May 2024 11:00:33 +0000 (16:30 +0530)]
[M120 Migration] Enable Ecore_Imf_Context for Chrome
Unlike the browsers with ewk, the ecore_imf should be
initialized manually to enable Ecore_IMF_Context.
After that, we could make Korean input at web contents but,
the Korean inputs are doubly typed at the address bar.
Because our input method system was dependant on the function
|IMContextEfl::HandleKeyEvent|, but it wasn't called when
they were typed at the address bar. So I shorten the path of
input system like upstream to manage both cases at once.
Please refer to the patch [0].
And then, I deleted the condition of |IMContextEfl
::OnFocusIn| which was checking the input type of contents.
Because |current_type| was regarding to the input type of
web contents so it was meaninglessly blocking focusing on
the address bar. Even without the condition, at least on Chromium
browser, focusing at web contents wouldn't be harmed
due to the conditions on |IMContextEfl
::UpdateInputMethodState|.
There are some issues after applying this patch.
- The input panel doesn't show when the address bar
get focused.
- The language that is typed from keyboard and input panel
may be different.
This patch is based on [1].
[0]:
0d4e2ce508c9d072518c5aa19eea90a3d316fce2
[1]:
42e2735dfe68a91876e76e560571cde000ea63c3
Reference: https://review.tizen.org/gerrit/302149
Change-Id: I7b9f71c188089650f2d2b0edcecdf21a6950ce2f
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
Michal Jurkiewicz [Fri, 31 May 2024 06:24:32 +0000 (08:24 +0200)]
[M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
Port of the patches:
* [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
(only audio bypass part)
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297233
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I3edbcc88c3fd465997120ab692fe914f78acb4bf
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Wed, 29 May 2024 15:49:11 +0000 (17:49 +0200)]
[WebRTC][GS] Enable H265 codec for GameStreaming
In upstream, comparing H265 codec configurations contains checking
profile, level and tier of remote and local peers.
It results in a problem, where platform may report support for 8K
60 fps playback (level 6.1), but remote peer will report support
for eg. level 5.1. In such case, comparison will result in no match,
thus codec will be marked as unsupported.
This patch checks support for H265 codec the same way as
on tizen 8.0 - by matching only codec profile.
Proper intersection of tier and level is not yet ready in the
upstream and is a topic of future optimizations.
Additionally this patch allows receiving H265 WebRTC streams
(WebRTC feature `kWebRtcAllowH265Receive`) and enables field trial
for H26xPacketBuffer (`WebRTC-Video-H26xPacketBuffer`), which
is required for H265 codec.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ia3629391e278ea13a9b4ff29cf58a186ee6108ff
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Wed, 29 May 2024 14:22:03 +0000 (16:22 +0200)]
[WebRTC] Upstream Chromium and WebRTC patches for HEVC codec
Port of upstream patches:
* H26xPacketBuffer handles out of band H.264 parameter sets
https://webrtc-review.googlesource.com/c/src/+/342225
* Reland "Add HEVC support for h264_packet_buffer."
https://webrtc-review.googlesource.com/c/src/+/339822
* RTC encoder/decoder factory support for H.265 behind flag.
https://chromium-review.googlesource.com/c/chromium/src/+/
5456050
* Reland "Implement h.265 parameter sets tracker."
https://chromium-review.googlesource.com/c/chromium/src/+/
5396998
* Apply QpParser for H.265 streams.
https://webrtc-review.googlesource.com/c/src/+/330883
* Reland "Unify access to SDP codec parameters"
https://webrtc-review.googlesource.com/c/src/+/331402
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I26f434ae0f644240c56ce85887de34df9289ff79
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Manjeet [Mon, 27 May 2024 11:09:00 +0000 (16:39 +0530)]
[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue
Using evt->string to get text and unmodifiedText results in text
disappearing in input fields for desktop. This commit reverts to
using evt->key as before to fix the issue.
Reference:
https://review.tizen.org/gerrit/298618
Change-Id: I211b7f31bbdce416062eb5a4e8db7052be7f396a
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Satyaveer Singh [Thu, 30 May 2024 09:47:49 +0000 (15:17 +0530)]
Add runtime switch to identify chrome/ewk launch
With --build-chrome compile time flag, both chrome and ewk are built
and packaged in the same rpm. This commit adds a runtime switch to
differentiate bewteen chrome and ewk launch.
Change-Id: I8cbbe5862bed79301d2e34c13ffca6eb08ed876b
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
Suhaspoornachandra [Mon, 3 Jun 2024 04:20:59 +0000 (09:50 +0530)]
[MM] Get correct view bounds for chrome browser
ViewBounds for chrome browser was ignoring the top controls height.
This patch corrects the issue and simplifies GetViewPortRect() in
TizenRendererImpl. OffScreen case is also handled in GetViewBounds() of
RWHVAura.
Change-Id: Iddea1ade09efc0611b0b5faadbbf1c9ac4d4c721
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
v-saha [Tue, 28 May 2024 09:50:10 +0000 (15:20 +0530)]
Fix "print error dialog" not appearing in chrome
Error dialog for print was not appearing for chrome on tv as the
relevant code was disabled under !defined(ENABLE_WRT_JS).
Change-Id: Ib0f4b12392763915a24fcc67781389da866f2c43
Signed-off-by: v-saha <v.saha@samsung.com>
zhaosy [Fri, 31 May 2024 08:34:58 +0000 (16:34 +0800)]
[WRTjs][VD] Early hide on termination when visible
By external, when app is exited by aul API, then application
window keeps on screen a few seconds until ~WRTNativeWindow().
This solution will lower/hide the window early as soon as event
loop is ended.
Change-Id: Ib25fa5eb48fca4e058b1538afc03baeb0cb68f01
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Jakub Gajownik [Thu, 16 Apr 2020 09:43:28 +0000 (11:43 +0200)]
[M120 Migration][WASM] Web IDL Direct access - HostBinding
Introduce Host Bindings - direct access for WebAssembly module to static
WebAPIs.
Normal scenario when calling WebAPIs from WebAssembly:
WASM → JS glue code (arguments translation) → V8 → Blink wrapper (argument translation) → WebAPI implementation
Scenario with Host Bindings:
WASM → WASM wrapper (no translation) → WebAPI implementation
Current implementation allows to specify static WebAPI method as 'HostBinding'.
If during WebAssembly instantiation it discovers such method,
generated machine code will contain direct call to Blink wrapper with
proper arguments.
Limitations:
* static WebAPIs only
* marking WebAPI method as HostBinding causes that it will be
unusable from JS code - calling it will result in throwing RuntimeError.
This feature must be merged as one patch since this functionality can not be split
into smaller pieces without significant effort to avoid build breaks.
Performed tests:
* functional tests of all supported socket calls (wasm_sockets_tests - home developed tests)
All passed
* V8 tests suite
31755 tests ran - 0 regressions
Mechanism is little inspired by:
https://github.com/WebAssembly/interface-types/tree/
c41f9df1302eb88cd8cd5cb0ed32a7ea844cb73a
Architecture overview, motivation and test details can be found at:
http://wiki.vd.sec.samsung.net/display/WEBSOL/Tizen+Web+IDL+Direct+access+-+HostBindings+2020
Patch contains first WebAPI implemented using this feature - Sockets.
Patches ported from tizen8.0 branch:
- https://review.tizen.org/gerrit/292409
- https://review.tizen.org/gerrit/292542
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-265
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I4dc9fc7db304cf2fcbe9a475aaf3a8dc9b6d8f79
Satyaveer Singh [Thu, 23 May 2024 07:08:35 +0000 (12:38 +0530)]
[M120 Migration] Selection & Context menu controller.
This patch ensures proper working of selection and context menu controller
for the proper working of clipboard.
References: https://review.tizen.org/gerrit/293249/
Change-Id: Ie07818e995f972343472f1e9c34868a47002446a
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
Manjeet [Wed, 15 May 2024 11:28:18 +0000 (16:58 +0530)]
[M120 Migration] [HOTFIX] Setting Device Scale Factor for emulator
Setting dsf value to 1.0 for emulator same as RPi4.
ecore_evas_screen_dpi_get api is setting different dpi value for emulator
and RPi4 (81for RPi4 and 293 for emulator), therefore dsf value differs.
Reference:
https://review.tizen.org/gerrit/297988
Change-Id: I36fce1b10c3ef08334438de97989e2b50337df6c
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Fri, 17 May 2024 09:11:34 +0000 (14:41 +0530)]
[M120 Migration] fixup! [VD]Add ewk_file_chooser_request APIs
Original change mistakenly combined the two |if|
conditions in single line, This patch reverts it.
Reference:
https://review.tizen.org/gerrit/298757
Change-Id: Icfcbf425325d5a5a3d6a4bac07c0aead172408a8
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Wed, 15 May 2024 11:03:56 +0000 (16:33 +0530)]
[M120 Migration]Add Device Scale Factor to display info
Device Scale Factor was omitted from display bounds dimension.
This fixes the DPI issue which showed incorrect width and height.
Reference:
https://review.tizen.org/gerrit/297914
Change-Id: I1abf9a639c3de5995d6503cc0fd969b3941f5422
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
jiangyuwei [Mon, 3 Jun 2024 07:05:15 +0000 (15:05 +0800)]
[M120 Migration][VD] Fix webbrowser popup focus issue
When webbrowser popup, FocusOut will be triggered before
MouseOutEvent.
EflWindow::CanDispatchEvent will check focus, MouseOutEvent
cannot be dispatched.
Dispatch all webbrowser MouseOutEvent even focus out of webview.
Change-Id: Ia9e9731d866024641cb5fcedabe354ecd6f184ad
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
wangjing [Tue, 21 May 2024 08:02:35 +0000 (16:02 +0800)]
[M120 Migration][VD] Set Scrollbar Style For Product TV
Enable OverlayScrollbars for Tizen TV WebApp.
when viewport is smaller than screen,
with settings ewk_settings_auto_fitting_set to true.
The scrollbar will appear when IME is shown.
HBBTV doesn't show scrollbar.
Some app doesnot set application type. for these app also need
enable OverlayScrollbars to avoid display wide scrollbar.
refer:
https://review.tizen.org/gerrit/#/c/291321/
Change-Id: I01a0496bd90a3e35728869a22ae75f3b30e54f47
Signed-off-by: wangjing <jing124.wang@samsung.com>
zhishun.zhou [Thu, 30 May 2024 06:00:11 +0000 (14:00 +0800)]
[M120 Migration] Don't invoke Init of DecoderBuffer when size is 0
For EME case, in SubmitEsPacket, if using tz_handle, the
data of DecoderBuffer should be null, or else crash could
happen in esplusplayer_submit_trust_zone_packet, because it will try to
copy this memory if it's non-null..
When convert media::mojom::DecoderBufferPtr to media::DecoderBuffer,
"new media::DecoderBuffer(0)" will make data of DecoderBuffer non-null,
let's check the input size and don't invoke Initialize() of DecoderBuffer
if size is 0.
Change-Id: I6df4a5cdcc504ac68bf1fd94c198bc0df3b9a22d
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
zhishun.zhou [Mon, 27 May 2024 08:00:22 +0000 (16:00 +0800)]
[M120 Migration] Support navigator.mediaCapabilities.decodingInfo
Some APPs have used navigator.mediaCapabilities.decodingInfo
to check media capabilities, such as TVING.
Without this patch, the 4k dramas of TVING will fail to play.
From part of following patch:
https://review.tizen.org/gerrit/#/c/292774/
Change-Id: Iaff29e8617c05f0e205480d09917f9d0c6d833d7
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
zuowei [Thu, 30 May 2024 10:21:33 +0000 (18:21 +0800)]
[RISCV][PDNCF] Fix illegal instruction problem caused by third party module
Starting with linux 6.6, RDCYCLE is a privileged instruction on RISC-V and
can't be used directly from userland.
cherry picked from upstream
- https://github.com/abseil/abseil-cpp/commit/
7335a36d0b5c1c597566f9aa3f458a5b6817c3b4
Change-Id: I024dc8588d05ab56697138d2d6a086ffcc9e3dbe
Signed-off-by: zuowei <wei0622.zuo@samsung.com>
wuxiaoliang [Thu, 9 May 2024 08:06:10 +0000 (16:06 +0800)]
[M120 Migration] limit hbbtv dash video to FHD
sub decoder support FHD max.
if h5 dash video use sub decoder, limit it to fhd
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294276/
Change-Id: Iddd964ab0651ac1f42f81f1248b41c6529c3244b
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
jiangyuwei [Fri, 31 May 2024 02:22:43 +0000 (10:22 +0800)]
Fix RWI websocket disconnect issue.
This patch fix RWI websocket disconnect issue temporarily.
Comment these codes to skip |origin| check.
Refer:
- https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310919/
- https://chromium-review.googlesource.com/c/chromium/src/+/
4106102
Change-Id: I733e777571fc6255ad3145230511c19110b5db5d
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
yangzw [Tue, 28 May 2024 03:20:53 +0000 (11:20 +0800)]
[M120 Migration] Don't report metadata when HBBTV capi
when pipeline_impl call OnMetadata, HBBTV capi don't get the meta data,
so don't report metadata event when case is HBBTV capi.
ref:
12031324
Change-Id: I1d11be8ca4be9175f14770d173fce7f73b4a0a38
Signed-off-by: yangzw <zw714.yang@samsung.com>
jiangyuwei [Thu, 30 May 2024 03:47:34 +0000 (11:47 +0800)]
[M120 Migration][Autofill] Bring up autofill
This patch bring up autofill feature
1. [Autofill] Fix autofill popup comes twice at google site
https://review.tizen.org/gerrit/302039/
2. [M108 Migration][Autofill] Fix autofill popup show twice issue
https://review.tizen.org/gerrit/299721/
3. [M108 Migration][Autofill] Bring up autofill
https://review.tizen.org/gerrit/297810/
4. [Autofill] Enable workspace autofill feature
https://review.tizen.org/gerrit/296635/
5. [Autofill] Fix autofill leak issue
https://review.tizen.org/gerrit/304402/
6. [Autofill] Enable autofill even if username_element/password_element is empty
https://review.tizen.org/gerrit/302339/
Change-Id: Ieb769e1925f1feaccb5a0c007bc9a519c8281035
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
feifei08.liu [Mon, 27 May 2024 03:15:57 +0000 (11:15 +0800)]
[M120 Migration] Fix network cache can't be cleared
Remove network cache when call ewk_context_cache_clear().
Test Scenario:
1. Launch webbrowser ->webbrowser's settings
->Privacy& Security ->Delete browsing data
2. Check the size of
/opt/usr/home/owner/apps_rw/org.tizen.browser/data/Cache
Refer: https://review.tizen.org/gerrit/299860/
Change-Id: I887571891fd236c2916225148c984baeb426c257
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
fang fengrong [Mon, 27 May 2024 07:26:10 +0000 (15:26 +0800)]
[M120 Migration][Remote Access] Fix press "space" key not work issue.
When press "space" by usb keyboard on commit status on some cases, not work.
It is because IME consume the "space" key,and sends the " "(white space)
through commit callback.WebEngine convert the " "(white space) to "space" again,
but the key event(keycode) not consistent.
The " "(white space) will be insert through ImeCommitText,
the windowsKeyCode should be 229.
so can revert the hotfix solution before.
Refer:
https://review.tizen.org/gerrit/#/c/311557
Change-Id: Iaf53f0d5ddfa8170ca8c48e90c4d811ee9ea0b7a
Signed-off-by: fang fengrong <fr.fang@samsung.com>
Michal Jurkiewicz [Fri, 19 Jan 2024 10:41:53 +0000 (11:41 +0100)]
[M120 Migration][WebRTC][GS] Port Screen Saver Functionality from Tizen 8.0
Port of the following patches:
* [MM][WebRTC][GS] Disable Screen Saver during video playback
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301452
* [MM][WebRTC][GS] Change conditions of disabling screensaver on OLED panels
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/304584
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I8604fab544c7c43bf51325f05c30b4720504e56c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 13:55:59 +0000 (15:55 +0200)]
[M120 Migration][TTVD] Port video decoder from Tizen 8.0
This patch introduces unified video decoder for various
purposes:
- WebRTC,
- WebCodecs,
- video playback (MSE/video source).
It's done taking advantage of existing Chromium pipeline
and wrappers for various technologies, making minimal set
of changes.
Ported commits (note I could have missed something on this
list, but change might be there):
[MM][WebRTC][GS] Introduce direct video decoder support for TV
https://review.tizen.org/gerrit/294458
[MM] Add encrypted content support for TV video decoder
https://review.tizen.org/gerrit/294459
[GS] Force overlay when texturing is not supported
https://review.tizen.org/gerrit/294894
[WebRTC][GS] Support suspend-resume in hardware decoder
https://review.tizen.org/gerrit/295066
[VDGAME-305] Fix bad type for n-decoding attribute
https://review.tizen.org/gerrit/295424
[MM][WebRTC][GS] Improve algorithm to schedule OMX output
https://review.tizen.org/gerrit/295671
[MM][WebRTC][GS] Improve memory handling for HW decoder
https://review.tizen.org/gerrit/295824
[MM][WebRTC][GS] Fix HW decoder resource allocation
https://review.tizen.org/gerrit/296569
[MM][WebRTC][GS] Handle low resolution H264 level 5.0
https://review.tizen.org/gerrit/296943
[GS] Fix warnings in |OverlayProcessorTizen|
https://review.tizen.org/gerrit/297745
fixup! [MM][WebRTC][GS] Improve algorithm to schedule OMX output
https://review.tizen.org/gerrit/297920
[MM][WebRTC][GS] Always notify about decoding mode
https://review.tizen.org/gerrit/297921
Disable kSingleOnTop overlay strategy
https://review.tizen.org/gerrit/298151
Adjust video overlay scaling algorithm
https://review.tizen.org/gerrit/298466
[MM][WebRTC][GS] Fix GPU initialization of video decoder
https://review.tizen.org/gerrit/298808
fixup!^2 [WebRTC][GS] Don't trigger redraw for overlay forced frames
https://review.tizen.org/gerrit/298827
[MM][GS] Select better decoder only for RTC in Game Mode
https://review.tizen.org/gerrit/298962
[MM][WebRTC][GS] Allow holding manager by allocated resource
https://review.tizen.org/gerrit/298961
[MM][WebRTC][GS] Prioritize video decoder allocation
https://review.tizen.org/gerrit/298963
[MM][WebRTC][GS] Set display game mode setting according to video source
https://review.tizen.org/gerrit/299032
fixup! Adjust video overlay scaling algorithm
https://review.tizen.org/gerrit/299033
[MM][GS][WebRTC] Fix scaler resource conflict handling
https://review.tizen.org/gerrit/299148
[MM][WebRTC][GS] Fix handling resume state change in decoder
https://review.tizen.org/gerrit/299144
[MM][WebRTC][GS] Fix flickering when changing decoding mode
https://review.tizen.org/gerrit/299145
[MM][WebRTC][GS] Remove initialization timeout from decoder
https://review.tizen.org/gerrit/299147
fixup! Use last state when allocating overlays
https://review.tizen.org/gerrit/299245
[MM][WebRTC][GS] Select decoder according to visible picture
https://review.tizen.org/gerrit/299363
[MM][WebRTC][GS] Calculate decoding framerate for HEVC
https://review.tizen.org/gerrit/299417
[WebRTC][GS] Solve issue with video artifacts in GameStreaming scenario
https://review.tizen.org/gerrit/299484
[MM][WebRTC][GS] Skip rendering frame if no change
https://review.tizen.org/gerrit/299501
[WebRTC][GS] Request keyframe from RTC only once
https://review.tizen.org/gerrit/299502
fixup! [MM][WebRTC][GS] Introduce direct video decoder support for TV
https://review.tizen.org/gerrit/299551
[MM][WebRTC][GS] Fix handling video resources releasing
https://review.tizen.org/gerrit/299691
[MM][WebRTC][GS] Do not allocate memory if texturing is not supported
https://review.tizen.org/gerrit/299693
[MM][WebRTC][GS] Fix OMX video decoder when event reordering
https://review.tizen.org/gerrit/299694
[MM][WebRTC][GS] Release data dependency of deallocated decoder
https://review.tizen.org/gerrit/300023
[MM][WebRTC][GS] Improve transition from texture to overlay
https://review.tizen.org/gerrit/300025
fixup! [MM][WebRTC][GS] Fix OMX video decoder when event reordering
https://review.tizen.org/gerrit/300163
fixup! [MM][WebRTC][GS] Improve transition from texture to overlay
https://review.tizen.org/gerrit/300270
[MM][WebRTC][GS] Apply rotation to scaler
https://review.tizen.org/gerrit/300317
[MM][WebRTC][GS] Apply color space setting
https://review.tizen.org/gerrit/300421
[MM][WebRTC][GS] Add AV1 maximum framerate calculation
https://review.tizen.org/gerrit/300464
[MM][WebRTC] Fix rendering video in overlay mode in non GameStreaming scenario
https://review.tizen.org/gerrit/300476
[MM][WebRTC][GS] Further improve texture to overlay transition
https://review.tizen.org/gerrit/300793
[MM][WebRTC][GS] Decrease priority when suspending
https://review.tizen.org/gerrit/300795
[MM][WebRTC][GS] Ensure overlay processor is alive on GPU
https://review.tizen.org/gerrit/300797
fixup! [MM][WebRTC][GS] Improve transition from texture to overlay
https://review.tizen.org/gerrit/300816
[MM][WebRTC][GS] Ensure stride is properly aligned
https://review.tizen.org/gerrit/300817
[MM][WebRTC][GS] Handle conflict after releasing resource properly
https://review.tizen.org/gerrit/301442
[MM][WebRTC][GS] Apply decoder priority only during allocation
https://review.tizen.org/gerrit/301443
fixup! [MM][WebRTC][GS] Use video-sink interface to set geometry
https://review.tizen.org/gerrit/301445
[MM][WebRTC][GS] Use same mailbox when recreating with buffers
https://review.tizen.org/gerrit/301539
[MM][WebRTC][GS] Fix handling decoder thread on destroy
https://review.tizen.org/gerrit/301540
fixup! [MM] Replace presentable range with last dts
https://review.tizen.org/gerrit/301867
fixup!^3 [MM][WebRTC][GS] Use video-sink interface to set geometry
https://review.tizen.org/gerrit/301868
[MM][WebRTC][GS] Hold OmxDecodedFrame by VideoFrame
https://review.tizen.org/gerrit/301870
[MM][WebRTC][GS] Remove factory checking when producing overlay
https://review.tizen.org/gerrit/301911
[MM][WebRTC][GS] Fix releasing single surface
https://review.tizen.org/gerrit/301915
[MM][WebRTC][GS] Include scaler index in video surface title
https://review.tizen.org/gerrit/301929
[MM][WebRTC][GS] Remove NotifyOverlayPromotion from individual frame
https://review.tizen.org/gerrit/301952
[MM][WebRTC][GS] Unmap when native pixmap mapping failed
https://review.tizen.org/gerrit/301953
[MM][WebRTC][GS] Improve logic in PrepareToRender method
https://review.tizen.org/gerrit/302239
[MM][WebRTC][GS] Recreate current picture on GPU thread
https://review.tizen.org/gerrit/302240
[MM][WebRTC][GS] Set order of underlay planes
https://review.tizen.org/gerrit/302242
[MM][WebRTC][GS] Release resources related to video surface
https://review.tizen.org/gerrit/302241
[MM][WebRTC][GS] Don't use old framebuffer for new plane
https://review.tizen.org/gerrit/302243
[MM][WebRTC][GS] Clean OMX decoded frame pool during Suspend and ResourceConflict
https://review.tizen.org/gerrit/302244
[MM][WebRTC][GS] Detect source change for output surface
https://review.tizen.org/gerrit/302420
[MM][WebRTC][GS] Solve deadlock while destroying omx_video_decoder
https://review.tizen.org/gerrit/302245
[MM][WebRTC][GS] Don't use OMX backed frame for black video
https://review.tizen.org/gerrit/302330
[MM][WebRTC][GS] Clear decoding queue when suspending
https://review.tizen.org/gerrit/302331
[MM][WebRTC][GS] Clear decoding eos after triggering one
https://review.tizen.org/gerrit/302334
[MM][WebRTC][GS] Prevent inadequate error for EOS buffer
https://review.tizen.org/gerrit/302333
[MM][WebRTC][GS] Fix releasing surface when suspending
https://review.tizen.org/gerrit/302417
[MM][WebRTC][GS] Use progressive video decoder
https://review.tizen.org/gerrit/302418
[MM][WebRTC][GS] Always use lazy initialization
https://review.tizen.org/gerrit/302421
[MM][WebRTC][GS] Parse VP8 and VP9 for config
https://review.tizen.org/gerrit/302422
fixup! [MM][WebRTC][GS] Use progressive video decoder
https://review.tizen.org/gerrit/302430
[MM][WebRTC][GS] Ensure buffers are not allocated for DVDE
https://review.tizen.org/gerrit/302578
[MM][WebRTC][GS] Reinitialize shared image for texturing
https://review.tizen.org/gerrit/302579
[MM][WebRTC][GS] Update all pictures during switch
https://review.tizen.org/gerrit/302582
[MM][WebRTC][GS] Optimize decoded pool cleaning when changing mode
https://review.tizen.org/gerrit/302726
[MM][WebRTC][GS] Hide video surface when destroying decoder
https://review.tizen.org/gerrit/302727
[MM][WebRTC][GS] Fix unmuting scaler after source change
https://review.tizen.org/gerrit/302728
[MM][WebRTC][GS] Enforce lifetime of client native pixmap factory
https://review.tizen.org/gerrit/302929
[MM][WebRTC][GS] Finish video decoder reset when suspending
https://review.tizen.org/gerrit/302930
[MM][WebRTC][GS] Fix resetting video decoder in suspended state
https://review.tizen.org/gerrit/302931
[MM][WebRTC][GS] Clear black frame when no data during buffer recreation
https://review.tizen.org/gerrit/302934
[MM][WebRTC][GS] Improve handling of decoder depended frames
https://review.tizen.org/gerrit/302933
[MM][WebRTC][GS] Do not return black frames from video decoder
https://review.tizen.org/gerrit/303065
[MM][WebRTC][GS] Remove kInitializing from video decoder
https://review.tizen.org/gerrit/303067
[MM][WebRTC][GS] Handle resetting during decoder initialization
https://review.tizen.org/gerrit/303070
[MM][WebRTC][GS] Ensure collection is notified before releasing decoder
https://review.tizen.org/gerrit/303068
[MM][WebRTC][GS] Fix for precise seek while video is paused
https://review.tizen.org/gerrit/303069
[MM][WebRTC][GS] Decoded frame lookup by pointer
https://review.tizen.org/gerrit/303152
[MM][WebRTC][GS] Adjust supported rendering modes for game streaming
https://review.tizen.org/gerrit/304160
[MM][WebRTC][GS] Visibility check using video-dp-control
https://review.tizen.org/gerrit/304520
[MM][WebRTC][GS] Don't use H264 level 50 workaround when UHD decoder absent
https://review.tizen.org/gerrit/304772
[MM][WebRTC][GS] Add 'synced unstable' state to output surface state machine
https://review.tizen.org/gerrit/304708
[WebRTC] Upstream architecture video capture refactor - fix OMXVideoDecoderBase crash
https://review.tizen.org/gerrit/305260
[WebRTC] Upstream architecture video capture refactor - OnOmxFrameDecoded method
https://review.tizen.org/gerrit/305262
[MM][WebRTC][GS] Skip shared image update when no reason
https://review.tizen.org/gerrit/305360
[MM][WebRTC][GS] Copy decode frame data in parallel
https://review.tizen.org/gerrit/305524
[MM][WebRTC][GS] Remove OMX related naming from decoders
https://review.tizen.org/gerrit/305865
[MM][WebRTC][GS] Relax lazy framing mechanism
https://review.tizen.org/gerrit/305872
[MM][WebRTC][GS] Delay returning lazy frames
https://review.tizen.org/gerrit/305873
[MM][WebRTC][GS] Identify emptied buffer using unique id
https://review.tizen.org/gerrit/305874
[MM][WebRTC][GS] Allow releasing lazy frame immediately
https://review.tizen.org/gerrit/305875
[MM][WebRTC][GS] Handle conflict after suspend is already done
https://review.tizen.org/gerrit/305909
[MM][WebRTC][GS] Don't mark VideoFrame as end of stream
https://review.tizen.org/gerrit/306039
fixup! [MM][WebRTC][GS] Apply decoder priority only during allocation
https://review.tizen.org/gerrit/306155
[MM][WebRTC][GS] Ensure decoding_request removal
https://review.tizen.org/gerrit/306194
[MM][WebRTC][GS] Correct includes in //media/filters/tizen
https://review.tizen.org/gerrit/306270
[MM][WebRTC][GS] Fix coding style in //media/filters/tizen
https://review.tizen.org/gerrit/306271
[MM][WebRTC][GS] Use dedicated decoding mode enum
https://review.tizen.org/gerrit/306335
fixup! [MM][WebRTC][GS] Parse bit depth and chroma sampling
https://review.tizen.org/gerrit/306339
[MM][WebRTC][GS] EME initdata format adaptation
https://review.tizen.org/gerrit/306349
[MM][WebRTC][GS] Fixing dereferencing past the end iterator
https://review.tizen.org/gerrit/306360
[MM][WebRTC][GS] Notify decoder when a new decryption key arrives
https://review.tizen.org/gerrit/306508
[MM][WebRTC][GS] Remove mailbox from mode change notification
https://review.tizen.org/gerrit/306543
[MM][WebRTC][GS] Ensure updating output surface state
https://review.tizen.org/gerrit/306647
[MM][WebRTC][GS] Do not access empty OMX component
https://review.tizen.org/gerrit/306648
[MM][WebRTC][GS] Selecting lower decoder category when desired one is not supported
https://review.tizen.org/gerrit/306654
[MM][WebRTC][GS] Adding missing OMX Events
https://review.tizen.org/gerrit/306688
[MM][WebRTC][GS] Adding support for `AES-CBC` encryption
https://review.tizen.org/gerrit/306690
[MM][WebRTC][GS] Do not hide plane if it's not the last used
https://review.tizen.org/gerrit/308206
[MM][WebRTC][GS] Start video surface with \zero\ geometry
https://review.tizen.org/gerrit/308334
fixup! [MM][WebRTC][GS] Apply rotation to scaler
https://review.tizen.org/gerrit/308350
[MM][WebRTC][GS] Reset video surface in case of same plane id
https://review.tizen.org/gerrit/308367
fixup!^2 [MM][WebRTC][GS] Apply rotation to scaler
https://review.tizen.org/gerrit/308391
fixup! [MM] Add encrypted content support for TV video decoder
https://review.tizen.org/gerrit/308957
[MM][WebRTC][GS] Do not change scalers if not needed
https://review.tizen.org/gerrit/309003
[MM][WebRTC][GS] Apply damage for overlay plane
https://review.tizen.org/gerrit/309026
[MM][WebRTC][GS] Dead code removal
https://review.tizen.org/gerrit/309274
[MM][WebRTC][GS] Implement facade test with filled before empting
https://review.tizen.org/gerrit/309308
[MM][WebRTC][GS] Fix handling filled event without decoded data
https://review.tizen.org/gerrit/309333
[MM][WebRTC][GS] Notify video texture mode for other render passes
https://review.tizen.org/gerrit/309421
[MM] Start WebCodecs decoding in texturing mode always
https://review.tizen.org/gerrit/309416
[MM][WebRTC][GS] Fix seek at start for DVDE decoder
https://review.tizen.org/gerrit/309419
[MM][WebRTC][GS] Use virtual resource id to start video sink
https://review.tizen.org/gerrit/309422
[MM][WebRTC][GS] Fix for crash during resource conflict in suspend/resume
https://review.tizen.org/gerrit/309424
fixup! [MM] Replace presentable range with last dts
https://review.tizen.org/gerrit/309730
[MM][WebRTC][GS] Use collection token when assigning surfaces
https://review.tizen.org/gerrit/309875
[MM][WebRTC][GS] Fix notification being posted to released object
https://review.tizen.org/gerrit/309876
[MM][WebRTC][GS] Ensure surfaces are deleted with proper timing
https://review.tizen.org/gerrit/309880
[MM][WebRTC][GS] Ensure surface proxy is alive when handling resource conflict
https://review.tizen.org/gerrit/309877
[MM] Fixing emitting EME `keystatuseschange` event
https://review.tizen.org/gerrit/309878
[MM][WebRTC][GS] Ensure commit is finished before releasing resources
https://review.tizen.org/gerrit/310047
[MM][WebRTC][GS] Force first frame rendering for older platforms
https://review.tizen.org/gerrit/310048
[MM] Reallocating OMX input buffers
https://review.tizen.org/gerrit/310251
[MM][WebRTC][GS] Split surface allocation method
https://review.tizen.org/gerrit/310262
[MM][WebRTC][GS] Continue surface preparation with same argument
https://review.tizen.org/gerrit/310260
[MM][WebRTC][GS] Crash in VizCompositor
https://review.tizen.org/gerrit/310670
[TTVD] Adjust decoder EoS handling
https://review.tizen.org/gerrit/310687
Partial revert of \Fix svace issue\
https://review.tizen.org/gerrit/310688
[MM][WebRTC][GS] Ensure buffer is written from single thread
https://review.tizen.org/gerrit/310689
[MM][WebRTC][GS] Try resetting stream after initialization done for RTC
https://review.tizen.org/gerrit/310707
[MM][WebRTC][GS] Removing -Wshadow compiler warning
https://review.tizen.org/gerrit/310750
[MM][WebRTC][GS] Already released frame should not be returned again
https://review.tizen.org/gerrit/310806
[MM][WebRTC] Video SW fallback when entering partial view
https://review.tizen.org/gerrit/310893
fixup!^2 [TTVD] Adjust decoder EoS handling
https://review.tizen.org/gerrit/311068
[MM][WebRTC][GS] Prefer overlay when playing videos in game mode
https://review.tizen.org/gerrit/311040
[MM][WebRTC][GS] Disable picking better decoder on Tizen 6.0
https://review.tizen.org/gerrit/311070
[MM][WebRTC][GS] Get rid of |base::Unretained| in video decoder impl
https://review.tizen.org/gerrit/311041
[MM][WebRTC][GS] Correct notification about texturing support
https://review.tizen.org/gerrit/311072
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2f03bb33f187ed1282cec455829f4ee8326ec479
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Michal Jurkiewicz [Fri, 24 May 2024 12:13:32 +0000 (14:13 +0200)]
[WebRTC][GS] Add SDP negotiation support for HEVC.
Port of the upstream patch:
* Add SDP negotiation support for HEVC.
https://webrtc-review.googlesource.com/c/src/+/330202
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ib5f9d8533b6c9c418ee420b7d7096e26b7aa2d0f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Tue, 6 Jun 2023 15:20:14 +0000 (17:20 +0200)]
[M120 Migration][WebRTC] Port camera from Tizen 8.0
Port of the following patches:
* [WebRTC] Video capture with direct HW decoding
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294461
* fixup!^2 [WebRTC] Video capture with direct HW decoding
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294849
* [WebRTC] Allow accessing raw data from GpuMemoryBufferTrackerTizen memory
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/304574
* [WebRTC] Upstream architecture video capture refactor - Camera part
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305261
* [WebRTC] Upstream architecture video capture refactor - VideoCaptureDeviceTizenTv::Impl
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305509
* [WebRTC] Upstream architecture video capture refactor - VideoCaptureDeviceTizenTv
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305510
* fixup! [MM][WebRTC][GS] Accept bit depth and chroma sampling for decoder allocation
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305825
* [WebRTC] Provide relative frame timestamp in upstream video capture
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305866
* [WebRTC] Support camera rotation in upstream architecture
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305867
* [MM][WebRTC][GS] Solve issue of dropped preview frames
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305869
* [WebRTC] Prefer GpuMemoryBuffer for video capture in upstream architecture
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305694
* [WebRTC][Camera] Prevent old pipeline initialization in new architecture
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/308133
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1550
Change-Id: I1c123ef963da61e0917cbe4e2a30066b73a73370
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>