platform/framework/web/chromium-efl.git
11 months ago[M120 Migration] Don't invoke Init of DecoderBuffer when size is 0 16/311916/4
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>
11 months ago[M120 Migration] Support navigator.mediaCapabilities.decodingInfo 60/311760/4 submit/tizen/20240531.160013
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>
11 months ago[RISCV][PDNCF] Fix illegal instruction problem caused by third party module 20/311920/3
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>
11 months ago[M120 Migration] limit hbbtv dash video to FHD 91/310891/5
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>
11 months agoFix RWI websocket disconnect issue. 42/311942/3
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>
11 months ago[M120 Migration] Don't report metadata when HBBTV capi 92/311792/4
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>
11 months ago[M120 Migration][Autofill] Bring up autofill 90/311890/2
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>
11 months ago[M120 Migration] Fix network cache can't be cleared 57/311757/3 submit/tizen/20240530.160013
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>
11 months ago[M120 Migration][Remote Access] Fix press "space" key not work issue. 56/311756/2
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>
11 months ago[M120 Migration][WebRTC][GS] Port Screen Saver Functionality from Tizen 8.0 76/311876/2 submit/tizen/20240529.160017
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>
11 months ago[M120 Migration][TTVD] Port video decoder from Tizen 8.0 66/311866/4
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>
11 months ago[WebRTC][GS] Add SDP negotiation support for HEVC. 76/311776/4
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>
11 months ago[M120 Migration][WebRTC] Port camera from Tizen 8.0 68/311868/10
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>
11 months ago[M120 Migration] Remove WebkitPreferencesEfl 71/311571/2
jie [Wed, 22 May 2024 09:07:39 +0000 (17:07 +0800)]
[M120 Migration] Remove WebkitPreferencesEfl

All WebPreferencesEfl settings has been moved to WebPreferences,
except javascript_can_open_windows_automatically_ewk.
Now move script open window control to browser context and remove
WebkitPreferencesEfl.

Reference:
 - https://review.tizen.org/gerrit/#/c/293866/

Change-Id: I5eadadaa5922fcaac2eb4fdd4e96e8f066d71b43
Signed-off-by: jie <jie137.zhang@samsung.com>
11 months ago[M120 Migration][HbbTV] Add NGA feature support 11/310811/4
yanqing.lu [Wed, 8 May 2024 11:13:47 +0000 (19:13 +0800)]
[M120 Migration][HbbTV] Add NGA feature support

Provide preselect function for audiotrack.
Here contains two cases:
1.audiotrack contains one preselection,
        set preselection id as audiotrack id.
2.audiotrack contains more than one preselection,
        audioxtrack id not change.

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294825/

Change-Id: I54357781ed662b904025add42a168645bc42b4c4
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
11 months ago[M120 Migration][WASM] Tizen Sockets API for WebAssembly 80/311780/3 submit/tizen/20240528.160016
Adam Bujalski [Thu, 30 Apr 2020 06:25:28 +0000 (08:25 +0200)]
[M120 Migration][WASM] Tizen Sockets API for WebAssembly

This commit ports Tizen Sockets Extensions for WebAssemblay from M108
to M120 WebEngine.

[description]

This commit introduces Tizen Sockets Extensions for WebAssembly.
Goal of this extension is to add POSIX compatible sockets API
which be used in WebAssembly.

Requirements:
- API provided to WebAssembly should be as much as possible
  syntactically and semantically consistent with POSIX sockets API.
- Minimal overhead over native POSIX sockets calls.
- Security - API is only provided to WRT and secured by Internet
  privilege (http://tizen.org/internet)

[architecture overview]

Architecture overview can be found at:
https://confluence.sec.samsung.net/display/WEBSOL/Tizen+Sockets+API+for+WebAssembly

[porting notes]

This patch migrates Tizen Sockets Extensions feature from Tizen 6.5.
Entire feature (i.e. all patches) are ported at once, because porting
only parts of feature would be hard and make it difficult to deliver
patches without a buildbreak.

[list of ported patches]
- https://review.tizen.org/gerrit/292408
- https://review.tizen.org/gerrit/298047
- https://review.tizen.org/gerrit/309440

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: Ib18f4a6381cbfa37f070d9756f7b5bb22f2d26c9
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[WebRTC][GS] Port upstream H265 packetizer and depacketizer 75/311775/3
Michal Jurkiewicz [Fri, 24 May 2024 10:08:31 +0000 (12:08 +0200)]
[WebRTC][GS] Port upstream H265 packetizer and depacketizer

Port of the following upstream patches:
* Add rtp packetizer for H265
  https://webrtc-review.googlesource.com/c/src/+/318005
* Add CopyOnWriteBuffer::empty accessor
  https://webrtc-review.googlesource.com/c/src/+/328382
* Fix fuzzing issue for h265 bitstream parser
  https://webrtc-review.googlesource.com/c/src/+/333942
* Add RTP depacketizer for H265
  https://webrtc-review.googlesource.com/c/src/+/325660
* Fix H.265 bitstream parser incorrect PPS reference.
  https://webrtc-review.googlesource.com/c/src/+/337080
* Export h.265 bitstream parser APIs.
  https://webrtc-review.googlesource.com/c/src/+/340004
* Remove wrong range check for CurrRpsIdx and fix its naming.
  https://webrtc-review.googlesource.com/c/src/+/347764

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id94522a354921868628d85331c4af9d12da86dae
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Port WebMedia optimizations for WebRTC 74/311774/5
Michal Jurkiewicz [Tue, 7 Dec 2021 14:14:52 +0000 (15:14 +0100)]
[M120 Migration] Port WebMedia optimizations for WebRTC

Port of the following original patches from older platform,
instead of extracting them from squashed patch for old
WebRTC implementation:

* [WebRTC] Don't call OnReceivedPacket for every packet
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/268327

* Fix enabling traces not possible during video capture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/254354

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1550
Change-Id: Ic3dab08cccda83e50b7d04e0a8bdc095778c10c6
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[MM] Fix Screen Error Issue 90/311790/2
yanqing.lu [Tue, 28 May 2024 02:38:32 +0000 (10:38 +0800)]
[MM] Fix Screen Error Issue

Screen Error issue was reported on ITVPlayer
Cause: occurred by player get duration in invalid state
Solution: Don't update duration unless prepared done

Change-Id: I1cb4e19c8daf9f81e87da1c2d24dba88e78f0f78
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
11 months ago[M120 Migration][VD] Use "if" check to avoid crash 51/311751/2
fangfengrong [Mon, 27 May 2024 07:10:35 +0000 (15:10 +0800)]
[M120 Migration][VD] Use "if" check to avoid crash

Use "if" instead of "CHECK" to avoid crash at LostMouseLock.

Reference:
https://review.tizen.org/gerrit/#/c/304549/

Change-Id: Ib093552815fe491e4c580eb752655d5a3c123035
Signed-off-by: fangfengrong <fr.fang@samsung.com>
11 months ago[M120 Migration][MM] Support 3 players on LFD TV 69/311369/6
xiaofang [Thu, 13 Jul 2023 11:13:17 +0000 (19:13 +0800)]
[M120 Migration][MM] Support 3 players on  LFD TV

Support 3 players playback on LFD TV.
Support seamless playback on LFD TV.

LFD URL on WRT App : Capi-player/Mixer Player

First player is in non-mixer mode,
When second player created, first player will
release and recreate again.

refer to:
[MM] Merge LFD related patches
https://review.tizen.org/gerrit/295910/
https://review.tizen.org/gerrit/302978/
https://review.tizen.org/gerrit/304910/

Change-Id: I2e92962ef7e76199d24594c4f3fb87c7821eba1e
Signed-off-by: xiaofang <fang.xiao@samsung.com>
11 months ago[M120 Migration] Disable `DualDecoding` when upstream architecture is enabled 32/311732/3
Michal Jurkiewicz [Wed, 3 Apr 2024 14:16:00 +0000 (16:16 +0200)]
[M120 Migration] Disable `DualDecoding` when upstream architecture is enabled

Porting patch from Tizen 8.0:
* [WebRTC] Disable `DualDecoding` when upstream architecture is enabled
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309084

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I4cc4fd9a12be1b8009d6bc2d2d6551db7762c9ed
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger 10/311710/2 submit/tizen/20240524.160013
Adam Bujalski [Thu, 23 May 2024 11:18:34 +0000 (13:18 +0200)]
fixup! [M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger

Wrapping constants with proper `#ifdef` to avoid `unused-const-variable`
warning.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-501
Change-Id: Icad4d34b74d23e24253ceed27c295a4c815b699a
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration] Implement suspend resume & thread booster services 66/311566/5
Jakub Gajownik [Wed, 15 May 2024 14:28:50 +0000 (16:28 +0200)]
[M120 Migration] Implement suspend resume & thread booster services

This migrates all the changes done to following services
on Chromium M120:
- suspend resume,
- thread booster.
Note that those services do not depend on any other
component, so it might be introduced separately from their
clients to make porting process easier.

This patch is a migration for commits:
* (partially) only services part
  [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

* Split suspend-resume service from thread booster
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295065

* (partially) only services part
  [WebRTC][GS] Thread booster adjustments
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295822

* fixup! Use last state when allocating overlays
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298802

* [MM][WebRTC] Implement mojo service for suspend resume
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/310822

* [MM][WebRTC] Extend suspend resume with partial view
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/310890

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ib8028fd5b5dfc9ae6252ef3d1c75c41802d601ef
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months agofixup! [WRTjs] Enable WRTjs 08/311708/5
Adam Bujalski [Thu, 16 May 2024 16:37:00 +0000 (18:37 +0200)]
fixup! [WRTjs] Enable WRTjs

Disabling debug messages from GRD, as they distracts developers not
working with GRD directly.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: I078ce67c931ecec4aaa584611698f880f8d35704
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration] Fix focus will be changed when input a text 25/311525/3
jie [Wed, 22 May 2024 05:59:15 +0000 (13:59 +0800)]
[M120 Migration] Fix focus will be changed when input a text

Hide or show IME should consider the input type for old text and new text.
Or else, sometimes focus will be changed automatically.

Like: ALTBalaji(appid: 3201902017790), after input "1" in IME, focus will be
changed from "1" to "q" automatically.

Reference:
 - https://review.tizen.org/gerrit/#/c/300875/

Change-Id: I7986fa8f6a4058b833e31f741ec6516fcf54d9b1
Signed-off-by: jie <jie137.zhang@samsung.com>
11 months ago[M120 Migration] Fix svace warning 06/310906/3
wuxiaoliang [Thu, 9 May 2024 09:34:35 +0000 (17:34 +0800)]
[M120 Migration] Fix svace warning

Migrated from:
https://review.tizen.org/gerrit/#/c/297825/
https://review.tizen.org/gerrit/#/c/299726/

Change-Id: I4c364e804a741517904107cd638b4c3f9c51d631
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[WebRTC] Fixing compiler warnings 95/311595/4 submit/tizen/20240523.160551
Adam Bujalski [Thu, 16 May 2024 16:39:09 +0000 (18:39 +0200)]
[WebRTC] Fixing compiler warnings

Fixing compiler warning related to WebRTC component.

Note that some `-Wthread-safety-analysis` or
`-Wthread-safety-reference-return` was fixed by adding proper function
annotations (`RTC_RUN_ON`). However some of them had to be suppressed by
`RTC_NO_THREAD_SAFETY_ANALYSIS`.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: Ibaf8a641554572bf9028e65ef391e132bbfd4bd6
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[VD][RISCV] Fixed 'uint8_t' has not been declared issue when enable AC4 Codec 34/311634/3
jie [Thu, 23 May 2024 03:03:01 +0000 (11:03 +0800)]
[VD][RISCV] Fixed 'uint8_t' has not been declared issue when enable AC4 Codec

Change-Id: I0267bee8161d07d87bc6fb04aef6ec7c7f6bb1ed
Signed-off-by: huochangjun <changjun.huo@samsung.com>
11 months ago[M120 Migration][HBBTV] Dolby new cases implementation 54/310954/4
wuxiaoliang [Fri, 10 May 2024 07:04:40 +0000 (15:04 +0800)]
[M120 Migration][HBBTV] Dolby new cases implementation

Migrated from:
https://review.tizen.org/gerrit/#/c/294860

Refer to the requirement of Dolby new cases,
We need to support three new features.

1. Select audio tracks according to the preferred language.
2. If the audio tracks have preselection info, we need select it first
3. User can enable Audio Description func in system menu, we need inform
   MM side to change the audio stream.

In the above cases, the preferred language is the highest priority.
A: If the preferred language audio tracks do not exist, it will select the defalut audio track 0.
B: The preferred language audio track lists exist,
  a. Audio Description enable,if they do not have "Audio Description" info,
  b. Audio Description disable,if all they have "Audio Description" info,
We will select the first one in the list in the above cases.

The first time we will help MM side to choose the audio track.
During the playback we only need to inform the audio option change to the MM side,
they will change the audio stream.

Change-Id: If3cb4c2295bf73d197258711a3dae8310f16912d
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration] Add max resolution callback to web browser 22/311222/4
“xiaofang” [Thu, 16 May 2024 06:59:24 +0000 (14:59 +0800)]
[M120 Migration] Add max resolution callback to web browser

When max resolution changed, web media should notify to webbrowser.
Webbrowser will reload video.

Refer:
https://review.tizen.org/gerrit/305082

Change-Id: I68e442ba520a1bc9cc013b7579c6e8575d6eb0a2
Signed-off-by: xiaofang <fang.xiao@samsung.com>
11 months ago[M120 Migration][VD] Add waiting for RW image mount 98/311498/3
jiangyuwei [Wed, 22 May 2024 03:20:56 +0000 (11:20 +0800)]
[M120 Migration][VD] Add waiting for RW image mount

When UWE is used but RW image was not mounted yet,
Engine could wrongly dlopen RO package.

This patch adds additional waiting for RW mount
to prevent from opening RO package by mistake.

Max waiting time for RW mount: 10s

Reference:
  - https://review.tizen.org/gerrit/301389/
  - https://review.tizen.org/gerrit/301791/

Change-Id: I9178bcb4316030645c0a141ee01aecf53eb7ef6f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration][WRTjs][VD] Resize native evas object to app window size 71/311371/3
zhaosy [Mon, 20 May 2024 07:53:13 +0000 (15:53 +0800)]
[M120 Migration][WRTjs][VD] Resize native evas object to app window size

In ultra width screen products(21:9 or 32:9), connect time app size is
2580*1080 or 3840*1080, but native evas object still is 1920*1080,
so mouse event is only working in 1920*1080 area.

Mouse event is based on this evas object, so resize it to app window size.

Reference Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/311368/

Change-Id: I9936c38d1334c29b2b00e21394f5c0a3c5c5468c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration] Add tizen_tv_upstream_multimedia feature to GN 38/311538/2
Jakub Gajownik [Mon, 20 May 2024 16:48:53 +0000 (18:48 +0200)]
[M120 Migration] Add tizen_tv_upstream_multimedia feature to GN

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I28decbe6f4bd10b93fc940ea174f6416500e8d89
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Indicate a need for raw frame access in WebCodecs 39/311439/2
Jakub Gajownik [Thu, 16 May 2024 15:32:38 +0000 (17:32 +0200)]
[M120 Migration] Indicate a need for raw frame access in WebCodecs

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300423/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ided79d6cd69d9f3e3aacff9a990ac8fa7dda9563
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[WebRTC][HW Encoder] Disable software encoder forcing for low resolutions 58/311558/4
Michal Jurkiewicz [Tue, 21 May 2024 11:46:48 +0000 (13:46 +0200)]
[WebRTC][HW Encoder] Disable software encoder forcing for low resolutions

This commit prevents fallbacking to software encoder for low stream
resolutions when HW encoder is available.

On Tizen TV we need to utilize HW resources as much as possible
to assure encoding performance.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I7a6c1fe41ec7b1f9a8bde22c006475604fd4809c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC][HW Encoder] Port video encoder from Tizen 8.0 44/311544/2
Michal Jurkiewicz [Tue, 6 Jun 2023 15:18:56 +0000 (17:18 +0200)]
[M120 Migration][WebRTC][HW Encoder] Port video encoder from Tizen 8.0

Port of the following patches:
* [MM][WebRTC] Introduce video encoder using standard pipeline
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294460
* [WebRTC][HW Encoder] Upstream architecture VideoEncoder code cleaning
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297814
* [WebRTC][HW Encoder] Properly identify HW encoder IDR frame
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297815
* [WebRTC][HW Encoder] Upstream architecture - Force Keyframe and GoP Size
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297814
* [WebRTC][HW Encoder] Upstream architecture - Bitrate change support
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298926
* [WebRTC][HW Encoder] Properly deallocate HW Encoder external memory
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306657
* [WebRTC][HW Encoder] Report bitrate change when needed
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306698
* [WebRTC][HW Encoder] Notify about platform encoder capabilities
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308071
* [WebRTC][HW Encoder] Return proper QP for encoded frame
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308125
* [WebRTC][HW Encoder] Force keyframe when no output buffer is available
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308189

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: Ida2284960f995c2ab17f8d25f33a4c031723d2da
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Fix simulcast functionality when VP8 encoder is used 33/311533/6
Michal Jurkiewicz [Mon, 20 May 2024 11:10:52 +0000 (13:10 +0200)]
[M120 Migration][WebRTC] Fix simulcast functionality when VP8 encoder is used

Ported changes of upstream part of the commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/303290

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I0646a245b2e9b988f66c4c06afe660e604763ed8
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Fix crash on tracing initialization 73/311473/4
Robert Bycul [Mon, 13 May 2024 10:32:50 +0000 (12:32 +0200)]
[M120 Migration] Fix crash on tracing initialization

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292707

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I02a02328be78bd0a73c5967f2e310ec6c8c6b8ea
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WebRTC] Prefer H264 codec when available 37/311537/3
Michal Jurkiewicz [Mon, 5 Jun 2023 12:19:47 +0000 (14:19 +0200)]
[M120 Migration][WebRTC] Prefer H264 codec when available

Port of the following patch:
[WebRTC] Prefer H264 codec when available
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293893

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: Id9846bb5eb8f6bb2bf82d7ff50bc740a8523ef09
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] WEBRTC_TIZEN_TV and WEBRTC_USE_HEVC defines 80/311480/6
Michal Jurkiewicz [Mon, 20 May 2024 12:44:53 +0000 (14:44 +0200)]
[M120 Migration] WEBRTC_TIZEN_TV and WEBRTC_USE_HEVC defines

Port of the following patch:
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/+/296590

Notice:
Base patch, apart from adding `WEBRTC_TIZEN_TV` and `WEBRTC_USE_HEVC`
defines, also replaces all usages of `BUILDFLAG(IS_TIZEN_TV)` and
`BUILDFLAG(ENABLE_PLATFORM_HEVC)`. Currently there are no such usages
inside `third_party/webrtc` directory, so no replace is being performed.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I667d7ec946156bba521ee0a8bc2bfe0b44f2f33f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Support camera to canvas feature 01/310201/8 submit/tizen/20240522.160018
hongyanting [Wed, 24 Apr 2024 05:35:06 +0000 (13:35 +0800)]
[M120 Migration][WebRTC] Support camera to canvas feature

Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292666/

Following patch is needed in Renderer side (crash issue):
  https://review.tizen.org/gerrit/#/c/292745/

Change-Id: Ica157c7d09cc290010a87b0575d9f3ea87feeb17
Signed-off-by: hongyanting <yanting.hong@samsung.com>
11 months ago[MM] Fix EME Crash for DecryptingDemuxerStream 89/311389/6
yangzw [Mon, 20 May 2024 10:05:47 +0000 (18:05 +0800)]
[MM] Fix EME Crash for DecryptingDemuxerStream

Issue: crash happened when call
  DecryptingDemuxerStream::GetDecryptorStreamType in
  DecryptingDemuxerStream::~DecryptingDemuxerStream()

Why: current the DecryptingDemuxerStream destroyed in
  dtor of PipelineImpl::RendererWrapper,
  and demuxer_stream_ detoryed in dtor of DemuxerManager
  in WebMediaPlayerImpl::~WebMediaPlayerImpl()

  A task posted to media thread to destroy DemuxerManager
  while PipelineImpl::RendererWrapper will be destroyed after
  WebMediaPlayerImpl::~WebMediaPlayerImpl() in main thread
  So, the destroy of DemuxerManager could be earlier than
  PipelineImpl::RendererWrapper.

Solution: destruct DecryptingDemuxerStream first

Change-Id: I28b2bf382cc87c982303228878de91cab77f9436
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months ago[M120 Migration][VD] Support Mouse and Touch separately 92/311392/2
fangfengrong [Mon, 20 May 2024 10:41:45 +0000 (18:41 +0800)]
[M120 Migration][VD] Support Mouse and Touch separately

WebAPP need set mouse and touch enable/disable separately for Premier.
So we need support mouse and touch separately.

For mouse/touch down/up/move event, EFL provide the same event callback;
there may be cases where the mouse and touch settings are different,
We can not unregister these event callback according one set.

1. Register event callabck
For mouse/touch down/up/move event(is common for mouse and touch), we register the event callback by default;
For mouse in/out/wheel event, register the event callback according mouseEnable
For multitouch event,register the event callback according touchEnable

2. the default value:
mouse: enable
touch: set default value according isSupportTouch product

3. when receive the mouse/touch common event callback:
if touch device and touch enable, handle as touch event,
if Mouse device and mouse enable, handle as mouse event,
other case, don't handle.

4. api:
provide internal api to wrt:
RWHVAuraCommonHelperEfl::SetMouseEventsEnabled
RWHVAuraCommonHelperEfl::SetTouchEventsEnabled

provide ewk api to other runtime:
Eina_Bool ewk_view_mouse_pointer_support_set(Evas_Object *view, Eina_Bool support)
Eina_Bool ewk_view_touch_events_enabled_set(Evas_Object *view, Eina_Bool enabled)

Reference:
  - https://review.tizen.org/gerrit/308707

Change-Id: I2725da163f2846f8270873ca177e3d53265fdeec
Signed-off-by: fangfengrong <fr.fang@samsung.com>
11 months ago[WRTjs][VD] Remove WRT media suspend logic 86/311486/2
zhaosy [Wed, 22 May 2024 01:10:19 +0000 (09:10 +0800)]
[WRTjs][VD] Remove WRT media suspend logic

Media implement the same logic in SetPageVisibility,
so remove related code in WRT.

Reference Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310854/

Change-Id: I7f6b53144d05656b55d3ea831cefbb160b46a860
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration][MM] Replace presentable range with last dts 70/311470/5
Jakub Gajownik [Fri, 17 May 2024 10:30:13 +0000 (12:30 +0200)]
[M120 Migration][MM] Replace presentable range with last dts

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300279

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1542
Change-Id: Ia707c7fdf5f737ffaeb36c8595067c4bdb0178be
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser 34/311334/4
wangjing [Fri, 17 May 2024 12:56:55 +0000 (20:56 +0800)]
[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser

For Tizen WebBrowser customization.
1. The root frame viewport use the specific scrollbar for the TV web browser.
2. The other frame use the traditional scrollbar to avoid some content
be covered by scrollbar.

refer:
https://review.tizen.org/gerrit/#/c/292169/

Change-Id: I4f5eced384c38ebe4224f11cba65c25b9afe9c84
Signed-off-by: wangjing <jing124.wang@samsung.com>
11 months ago[M120 Migration] Fix for new window not opening 88/308388/4
Rohit Kumar [Tue, 21 May 2024 09:44:37 +0000 (15:14 +0530)]
[M120 Migration] Fix for new window not opening

When clicked on linkedin Google Auth signin button,
window is not opening. This patch fixes this issue.

Reference: https://review.tizen.org/gerrit/304184

Change-Id: Ic9eafe415ecee01eb53aa19bb2229ef26ba8003d
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
11 months agoFixup! [M120 Migration] Support Dash high bitrate 67/311367/2
wuxiaoliang [Mon, 20 May 2024 06:32:22 +0000 (14:32 +0800)]
Fixup! [M120 Migration] Support Dash high bitrate

use std::string + to catenate string.

Change-Id: I19c9be512a4c2c914d6c6d385a1e49659451d8a9
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration][WebMedia]Report right status and currenttime to app 96/310896/4
peng1xiao [Thu, 9 May 2024 08:37:51 +0000 (16:37 +0800)]
[M120 Migration][WebMedia]Report right status and currenttime to app

1.Update video display aspect ratio and add error handle
Migrate from:
https://review.tizen.org/gerrit/#/c/293074/

2.Report right status and currenttime to app
Migrate from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295396/

3.refine SetAppInfo logic
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298626/

Change-Id: I11db13129af07352f88121a679c74d865c000ec6
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder. 04/311404/5
Jakub Gajownik [Thu, 16 May 2024 15:26:01 +0000 (17:26 +0200)]
[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder.

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310749/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I53b1e6fa09288754d5e940bbfb88ad75819e1c3c
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Support AC-4 audio codec 69/310869/6 submit/tizen/20240521.160018
yangzw [Thu, 9 May 2024 06:41:05 +0000 (14:41 +0800)]
[M120 Migration] Support AC-4 audio codec

HbbTV uses AC-4 encrypted audio stream.
This patch is verified by HbbTV MediaSource/AC-4 TCs.

ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299413/

Change-Id: I62876758e84c9f35386f5388466846b76b504c15
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months agofixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames 03/311403/3
Jakub Gajownik [Mon, 20 May 2024 10:21:55 +0000 (12:21 +0200)]
fixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I80540e12877640bb5eabfc820c9321cef754a2f8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture 98/311398/7
Jakub Gajownik [Thu, 16 May 2024 11:42:49 +0000 (13:42 +0200)]
[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308958/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Id57594cce10141973d0dba9fa56046f283b0c282
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict 81/311381/7
Jakub Gajownik [Thu, 16 May 2024 10:21:07 +0000 (12:21 +0200)]
[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308147/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Iddcef4861926abe9f67cd74f202b409d8cdf89e4
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Don't override demuxer for upstream arch 80/311380/6
Jakub Gajownik [Thu, 16 May 2024 10:11:20 +0000 (12:11 +0200)]
[M120 Migration][MM] Don't override demuxer for upstream arch

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307093/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ia0ab6a51d640e9a371c1c9c6fe87ae02b62dc0ce
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Restart player after hardware context reset 79/311379/6
Jakub Gajownik [Thu, 16 May 2024 09:41:24 +0000 (11:41 +0200)]
[M120 Migration][MM][WebRTC][GS] Restart player after hardware context reset

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306733/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I40f178459c6bbc2a702185c8b71dabf28fe706d1

11 months ago[M120 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI 78/311378/8
Michal Jurkiewicz [Thu, 30 Apr 2020 06:25:28 +0000 (08:25 +0200)]
[M120 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI

This patch ports Tizen TV WASM namespace (including versioning)
WebAPIs. This is a base for further WASM (and WebRTC, which also uses
versioning mechanism) ports.

The scope of porting included Tizen TV WASM core features.

Ported patches:
- https://review.tizen.org/gerrit/291864
- https://review.tizen.org/gerrit/292540
- https://review.tizen.org/gerrit/296072

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I2b0adea4452872c99f169a5dc8c11b16d221c76c

11 months ago[M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger 77/311377/2
Jakub Gajownik [Wed, 15 May 2024 11:06:58 +0000 (13:06 +0200)]
[M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger

Ported commits:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292141/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294275/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300090/
(partially) https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306460/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307840/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-501
Change-Id: Idb7f09ead3b56ad4b1e97bacbacf2999e4435d12
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months agoOptimize chromium rebuilds - icu build 76/311376/5
Michal Jurkiewicz [Wed, 15 May 2024 14:14:59 +0000 (16:14 +0200)]
Optimize chromium rebuilds - icu build

On tizen 9.0, as `icu_copy_icudata_to_root_build_dir` flag
is set, `icudtl.dat` is copied to output dir by `copy_icudata`
action (`third_party/icu/BUILD.gn`) and does not need to be
copied manually.

`common/icudtl.dat` and `android/icudtl.dat` are the same files,
so this patch removes unneeded copy of `android/icudtl.dat`
to output dir.

Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Change-Id: I46eb1ad3c4d91633f3d1544ed53e2b3ed7faebd9
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Prefer GL fence for presentation notification 75/311375/5
Jakub Gajownik [Thu, 16 May 2024 09:36:58 +0000 (11:36 +0200)]
[M120 Migration][MM][WebRTC][GS] Prefer GL fence for presentation notification

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/305359/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I740dcd322ab61cb937631213476a89d7e06e58d3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Add workarounds related to decoder 74/311374/5
Jakub Gajownik [Thu, 16 May 2024 09:24:19 +0000 (11:24 +0200)]
[M120 Migration] Add workarounds related to decoder

Note that workarounds usages are ported with separate
patches. Here we've definitions from:
* [MM][WebRTC][GS] Workaround for wrong clip geometry setting
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309086/
* [MM][WebRTC][GS] Use HV flip instead of rotate 180
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309305/
* [MM][WebRTC][GS] Limit rotation support on KantSU2e
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309306/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2e5c16762fa704fa21d9f37912fcc21a362d525a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Support machine model name under gpu info 73/311373/5
Jakub Gajownik [Thu, 16 May 2024 09:17:40 +0000 (11:17 +0200)]
[M120 Migration] Support machine model name under gpu info

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309039/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ibbff25ac91b913c7919bcc3d23d8ae2a89900434
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Add new api for webbrowser to set default audio input device 47/310847/4
wuxiaoliang [Thu, 9 May 2024 03:18:55 +0000 (11:18 +0800)]
[M120 Migration] Add new api for webbrowser to set default audio input device

void ewk_settings_default_audio_input_device_set(Ewk_Settings* settings, const char* device_id);

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295162/

Change-Id: I9b2cb049bd28ae8b11af7a12a7a2768b16c29ef4
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration] Remove duplicate function definition 61/311361/2
jiangyuwei [Mon, 20 May 2024 05:17:44 +0000 (13:17 +0800)]
[M120 Migration] Remove duplicate function definition

Below function have duplicate definition:
ewk_check_chromium_ready
ewk_wait_chromium_ready

Reference:
  - https://review.tizen.org/gerrit/289662/

Change-Id: I06437556545edcb34c7e045f8974e3cf17b95c83
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[HBBTV] Add TS stream judgement 48/310848/6
yangzw [Thu, 9 May 2024 03:29:12 +0000 (11:29 +0800)]
[HBBTV] Add TS stream judgement

Add TS judgment when url is .ts

ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298300/

Change-Id: I6709a156438844e09a2390fd23c996ce9cbb03aa
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months agoRevert "[M120 Migration][VD] Add waiting for RW image mount" 72/311372/2
jiang yuwei [Mon, 20 May 2024 07:56:51 +0000 (07:56 +0000)]
Revert "[M120 Migration][VD] Add waiting for RW image mount"

This reverts commit 36e4fa72efc2fa71ab28e3c3d00c5790ef8d9c50.

Change-Id: I197ec029fb2420e8d2fe1182e1e9129ef9c77d02

11 months ago[M120 Migration][MM] Suspend/Resume according to webview visibility 54/310854/4
zhishun.zhou [Thu, 9 May 2024 04:10:16 +0000 (12:10 +0800)]
[M120 Migration][MM] Suspend/Resume according to webview visibility

The suspend/resume message delivery to redner process too late.
Let's call player suspend/resume according webview visibility.

Patch from:
https://review.tizen.org/gerrit/#/c/301466/

Change-Id: Ia7e6f51c301e0502e2f3b7e723cae387cb1c4ee2
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[M120 Migration] Enable symbolize on local build by default 55/311355/2 submit/tizen/20240520.160019
chenhuasheng [Mon, 20 May 2024 01:12:07 +0000 (09:12 +0800)]
[M120 Migration] Enable symbolize on local build by default

This enables symbolize on local build for debugging to use backtracing
log.

Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291142/

Change-Id: I647a858898fc70a123a5e6a7acd3bd3a2c919baa
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
11 months ago[M120 Migration][MM][HBBTV] Support Hbbtv Auto Play 98/310698/3
xiaofang [Mon, 8 May 2023 01:13:32 +0000 (09:13 +0800)]
[M120 Migration][MM][HBBTV] Support Hbbtv Auto Play

when hbbtv load resource complete,state is FutureData.
let paused = false to make "play" is called.

Migration from:
https://review.tizen.org/gerrit/292422/

Change-Id: I739a898420f003fd94d0f6610e69cca47a57afd6
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
11 months ago[Chrome] Fix for chrome://apps load failure 42/311242/3
Chandan Padhi [Thu, 16 May 2024 13:35:11 +0000 (19:05 +0530)]
[Chrome] Fix for chrome://apps load failure

chrome://apps failed to load as the corresponding pak file
was not getting generated. This commit enables the same.

Change-Id: I1aaafd3d436cf055c2f92087acb61958170aebfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months ago[M120 Migration][MM] Clear glibc's malloc cache periodically 37/310937/3
wuxiaoliang [Fri, 10 May 2024 02:36:51 +0000 (10:36 +0800)]
[M120 Migration][MM] Clear glibc's malloc cache periodically

Migrated from:
https://review.tizen.org/gerrit/#/c/297241/
https://review.tizen.org/gerrit/#/c/298636/

Change-Id: Iad29a6b3b090170aee2ceafd95633ad93923f3b5
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months agoFixup! [M120 Migration] Support HDR10+ property 25/311125/2
wuxiaoliang [Tue, 14 May 2024 09:17:35 +0000 (17:17 +0800)]
Fixup! [M120 Migration] Support HDR10+ property

remove repeated log.

Change-Id: Ia961a1c1d95f84715b1e3c4b9c282c76c2966b96
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months agofixup! [Tizen] Fix for Compiler and linker errors 25/311325/5 submit/tizen/20240519.160016
Adam Bujalski [Thu, 16 May 2024 09:30:44 +0000 (11:30 +0200)]
fixup! [Tizen] Fix for Compiler and linker errors

Setting `use_atk=false` in `gn_chromiumefl.sh` has no effect, due to a
way `use_atk` variable is defined in `//build/config/ui.gni` it only
causes that triggering following warning message:

```
  WARNING at the command-line "--args":1:869: Build argument has no effect.
    use_libjpeg_turbo=true rtc_enable_sctp=true use_alsa=false ....

  Did you mean "use_gtk"?

  The variable "use_atk" was set as a build argument
  but never appeared in a declare_args() block in any buildfile.
```

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: I4d9757a61ccf94820e3364d94c8f676721455bb2
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Recreate renderer for upstream architecture 29/311329/5
Jakub Gajownik [Wed, 15 May 2024 10:31:13 +0000 (12:31 +0200)]
[M120 Migration][MM][WebRTC][GS] Recreate renderer for upstream architecture

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/303066/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Icf146f1cfea03f37a6e650883ddbb706afde3b37
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Disable video hole for upstream architecture 27/311327/6
Jakub Gajownik [Wed, 15 May 2024 10:24:54 +0000 (12:24 +0200)]
[M120 Migration][MM][WebRTC][GS] Disable video hole for upstream architecture

Ported commits:
* [MM][WebRTC][GS] Disable video hole for upstream architecture
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300798/
* fixup! [MM][WebRTC][GS] Disable video hole for upstream architecture
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301044/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I9f1fac5dd3353860dcf1dd0fceeb4ffb1cb25af3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Adding default values for features 30/311330/2
Adam Bujalski [Tue, 18 Apr 2023 08:06:38 +0000 (10:06 +0200)]
[M120 Migration] Adding default values for features

There were variables set in `gn_chromiumefl.sh` but not declared in GN
files, which caused following warning:

  WARNING at the command-line "--args":1:510: Build argument has no effect.

  The variable "SOME_VAR" was set as a build argument
  but never appeared in a declare_args() block in any buildfile.

This patch provides default values for them or avoids providing
value them for TV build in gn_chromiumefl.sh script.

Ref: https://review.tizen.org/gerrit/291865
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I4bcaa92138f692b88c84d17400e94a64d4b1789c

11 months ago[M120 Migration] Optimize chromium rebuilds 28/311328/2
Michal Jurkiewicz [Wed, 15 May 2024 12:02:01 +0000 (14:02 +0200)]
[M120 Migration] Optimize chromium rebuilds

Port the following patch from tizen 7.5:

  * [M108 Migration] Optimize chromium rebuilds
    https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/290585

Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Change-Id: I50fef0b948d3f265d36e41b7019ae81687f689fc

11 months ago[M120 Migration][MM][WebRTC][GS] Adjust software fallback mechanism 21/311321/4
Jakub Gajownik [Wed, 15 May 2024 10:11:57 +0000 (12:11 +0200)]
[M120 Migration][MM][WebRTC][GS] Adjust software fallback mechanism

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299146/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2563e5c323b098e6dda23f679bb43edbf16cf5da
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Use video surfaces when upstream architecture enabled 90/311290/4
Jakub Gajownik [Wed, 15 May 2024 10:03:02 +0000 (12:03 +0200)]
[M120 Migration][MM] Use video surfaces when upstream architecture enabled

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294858/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I876372dc1c20442f9836df00cd2ed5ed18b38280
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Introduce dedicated functions to check modes 89/311289/3
Jakub Gajownik [Thu, 16 May 2024 14:43:30 +0000 (16:43 +0200)]
[M120 Migration] Introduce dedicated functions to check modes

Ported commits:
* Introduce dedicated funtion to check upstream architecture
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308361/
* [MM] Introduce dedicated function to check game mode
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309473/

There is no using of those functions yet ported, but it
should be easier to do later. Decreases number of patches
needed to be done manually.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I5b1de2e1cb0548cb15fa9611780939d4ea2ed45a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Fixing compiler warnings 63/311263/9
Adam Bujalski [Tue, 29 Aug 2023 11:44:09 +0000 (13:44 +0200)]
[M120 Migration] Fixing compiler warnings

Porting patches related to fixing compiler warnings for Chromium code
or suppressing them for 3rd party libraries.

Ported patches:
- https://review.tizen.org/gerrit/290586
- https://review.tizen.org/gerrit/290747
- https://review.tizen.org/gerrit/290748
- https://review.tizen.org/gerrit/291197
- https://review.tizen.org/gerrit/298149

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I00ef221014189c1275613fcec9984dfb52efcdd8

11 months ago[M120 Migration][VD] Add waiting for RW image mount 84/311184/2 submit/tizen/20240517.160021
jiangyuwei [Thu, 16 May 2024 01:56:08 +0000 (09:56 +0800)]
[M120 Migration][VD] Add waiting for RW image mount

When UWE is used but RW image was not mounted yet,
Engine could wrongly dlopen RO package.

This patch adds additional waiting for RW mount
to prevent from opening RO package by mistake.

Max waiting time for RW mount: 10s

Reference:
  - https://review.tizen.org/gerrit/301389/

Change-Id: Ie83cde9ac0fe41391ecc6f01887da52d3d431c89
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration][VD] Implement the specific scrollbar for the TV web browser. 49/310949/5
wangjing [Fri, 10 May 2024 05:44:39 +0000 (13:44 +0800)]
[M120 Migration][VD] Implement the specific scrollbar for the TV web browser.

The web browser team wants specific scrollbar to the TV.
So we implemented the scrollbar based on the GUI guideline document.

If you want test it, need enable with the command as below.
(eg. ubrowser --enable-features=NativeScrollbar)

refer:
https://review.tizen.org/gerrit/#/c/291989/

Change-Id: I5b26519be7f05fa78e6a86e816c4f96e3fb47ace
Signed-off-by: wangjing <jing124.wang@samsung.com>
11 months ago[M120 Migration][WASM] Adding flag indicating builds for Tizen TV to V8 40/311240/4
Robert Bycul [Thu, 9 May 2024 10:53:13 +0000 (12:53 +0200)]
[M120 Migration][WASM] Adding flag indicating builds for Tizen TV to V8

Ported patch:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/291875

There are some additional V8 features added for Tizen TVs only, so flag
indicating build for such platform is required in V8.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I5a59e989bf5c40c4bbc9e3cc99c4730981ce8a70
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames 39/311239/3
Jakub Gajownik [Wed, 15 May 2024 08:50:51 +0000 (10:50 +0200)]
[M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames

Ported commits:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296944/
(partially) https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297919/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301487/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I3f6a487283613a6bef176ee260c7cca25c6bc9d8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] fixup! [MM] Handle buffering and playback 38/311238/3
Jakub Gajownik [Wed, 15 May 2024 05:43:53 +0000 (07:43 +0200)]
[M120 Migration] fixup! [MM] Handle buffering and playback

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294072/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2f37f454d03943c4b1659d56a2280213f05ec8c5
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] fixup! [M108 Migration][MM] Introduce renderer seek 37/311237/3
Jakub Gajownik [Wed, 15 May 2024 05:31:41 +0000 (07:31 +0200)]
[M120 Migration] fixup! [M108 Migration][MM] Introduce renderer seek

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294071/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I1016ea89f12f3f5081364601476d45e457f19f82
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[Coverage] Patch for UnitTest coverage 08/311208/5 submit/tizen/20240516.160022
nishitha [Thu, 16 May 2024 06:08:56 +0000 (11:38 +0530)]
[Coverage] Patch for UnitTest coverage

Improve line and function coverage percentages.

Coverage result with the patch-
Lines    : 86.8%
Functions: 85.1%

Reference: https://review.tizen.org/gerrit/309202

Change-Id: Ic13957441e962216404b322145608b2e1bf664fe
Signed-off-by: nishitha <n.saravanan@samsung.com>
11 months ago[M120 Migration] Fix availWidth/availHeight is not work 24/311224/1
v-saha [Thu, 16 May 2024 07:56:09 +0000 (13:26 +0530)]
[M120 Migration] Fix availWidth/availHeight is not work

availWidth/availHeight is based on work area, it was set
while init display info, and this is platform dependence.

Reference: https://review.tizen.org/gerrit/293023

Change-Id: Ie5ffc5dc0669780beb330b762098895ebbc4ce67
Signed-off-by: v-saha <v.saha@samsung.com>
11 months ago[WRTjs][VD] Clear cache in native side directly in low memory case 88/310788/4
zhaosy [Wed, 8 May 2024 06:38:40 +0000 (14:38 +0800)]
[WRTjs][VD] Clear cache in native side directly in low memory case

In low memory case, send event from native side -> wrtjs -> native side to clear cache.
But sometimes, it costs too much time to send event, then app maybe is dead-lock.
So clear cache in native side directly.

Change-Id: Ibfeb32ab4ba9d8c3b8327e3a57e68bdb3d9c2dfe
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
12 months ago[WRTjs][Service] Add Service app status mechanism 48/309848/8 submit/tizen/20240515.160016
Chunling Ye [Wed, 17 Apr 2024 07:19:15 +0000 (15:19 +0800)]
[WRTjs][Service] Add Service app status mechanism

Depend on patch:
https://review.tizen.org/gerrit/309855/

Change-Id: I677bf5cbd60e52314762fb2c56a8e6d555f5f07d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
12 months agofixup! [M120 Migration] Refactor CookieManager 51/311151/1 accepted/tizen/unified/20240516.031732 accepted/tizen/unified/x/20240516.064103
jiangyuwei [Wed, 15 May 2024 07:28:55 +0000 (15:28 +0800)]
fixup! [M120 Migration] Refactor CookieManager

1.Implement CookieManager functions via network::mojom::CookieManager
2.Delete cookies on UI thread
3.Remove UrlRequestContextGetter related code
4.Fix code style issue

References:
 - https://review.tizen.org/gerrit/293007/

Change-Id: Iaef9935b1ff60bc4f29d3f92b06730137fe8e1c3
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 migration][MM][HBBTV] Add video_id for JS and EWK API 39/311039/4
zhishun.zhou [Mon, 13 May 2024 08:00:04 +0000 (16:00 +0800)]
[M120 migration][MM][HBBTV] Add video_id for JS and EWK API

Support js interface that used to get video id of video element.
It's used by HBBTV.

Patch from:
https://review.tizen.org/gerrit/#/c/293421/
https://review.tizen.org/gerrit/#/c/294255/

Some part of the original patch have been merged by:
https://review.tizen.org/gerrit/#/c/309217/

Change-Id: I49de03056f0ddc79df13a42b880a28dc1e479812
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration][VD] Force sync level database file on low end 05/311105/2
feifei08.liu [Tue, 14 May 2024 06:10:11 +0000 (14:10 +0800)]
[M120 Migration][VD] Force sync level database file on low end

Vdfs4 filesystem can't sync timely. Checked with tizen linux kernel team,
kernel need to wait 30s then do auto sync after last write operation by user.
For HbbTV power cycle test, the new content is not really write done.
Since these exception cases, WebEngine do force sync for level database file.

Refer: https://review.tizen.org/gerrit/297841/

Change-Id: I142d33bf3476cf7cdf2dfb1f1c24b58bf0b0c961
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
12 months ago[M120 Migration][VD] Ignore "p2p" port message notified by system kernel 84/311084/3
jingjieli [Tue, 14 May 2024 02:17:12 +0000 (10:17 +0800)]
[M120 Migration][VD] Ignore "p2p" port message notified by system kernel

NetLink sends RTM_NEWADDR message for "p2p" port,
this causes WebEngine close all unfinished requests.
user APP should skip its events.

References:
https://review.tizen.org/gerrit/#/c/296054/

Change-Id: Ia430b7a2dded1618585128a72cfe21296132f40b
Signed-off-by: jingjieli <jingjie.li@samsung.com>
12 months ago[M120 Migration] Update libdir and include dir 38/311138/2
Qiang Ji [Tue, 14 May 2024 10:48:18 +0000 (18:48 +0800)]
[M120 Migration] Update libdir and include dir

Don't use fixed dir for lib and include dir, use
_libdir to instead.

refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/275831/

Change-Id: I1c632fea09a3915fd90c3cc05f25fbf5d75d4c78
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
12 months ago[WRTjs][VD] Change the Json format for camera info api for service app 40/311140/1
liwei90727 [Tue, 14 May 2024 03:18:34 +0000 (11:18 +0800)]
[WRTjs][VD] Change the Json format for camera info api for service app

This camera api is for devicehome, and there is nested redundant array,
change JS format from
"camera_device_list" :
[
        [
                {
                        "name" : "C922 Pro Stream Webcam",
                        "type" : 12
                }
        ]
],
"device_count" :
[
       "1"
]

to
"camera_device_list": [
    {
      "name": "C922 Pro Stream Webcam",
      "type": "1"
    }
],
"device_count": "1"

Change-Id: I729b5f08d46cc5e8fb043e814812eed2cc49a39e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
12 months ago[M120 Migration]Make WebContentsViewAuraHelperEfl also work for onscreen mode. 86/311086/3 submit/tizen/20240514.160017
fangfengrong [Tue, 14 May 2024 02:42:21 +0000 (10:42 +0800)]
[M120 Migration]Make WebContentsViewAuraHelperEfl also work for onscreen mode.

While onscreen mode, such as WRT also need use the WebContentsViewAuraHelperEfl
class to route some calls to wrt efl delegate classes.

So remove offscreen mode check,
make WebContentsViewAuraHelperEfl work for both onscreen and offscreen mode.

Reference:
https://review.tizen.org/gerrit/#/c/291598

Change-Id: I9e3ae81b59b208a0209799c7c8aff7b8fe2f44a8
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][HBBTV] Set DynamicPlugin when Network service enable. 23/311023/3
fang fengrong [Mon, 13 May 2024 02:58:16 +0000 (10:58 +0800)]
[M120 Migration][HBBTV] Set DynamicPlugin when Network service enable.

Now the Network service is default enabled. When it's enabled,
URLRequestContextGetter is not created,
URLRequestInterceptor with DynamicPlugin is not created.
This patch implement it when Network service is enabled.
Because there is no interceptor, we parse url in ThrottlingURLLoader now.

Reference:
https://review.tizen.org/gerrit/#/c/290763

Change-Id: I6b812b06ab3c5e4a3f4db606209e309795fac74e
Signed-off-by: fang fengrong <fr.fang@samsung.com>