Tags: xland/cobalt
Tags
Cherry pick PR youtube#3084: Add idl definition for PersistentSetting… …LogtraceEnable getter and setter (youtube#3091) Refer to the original PR: youtube#3084 Add idl definition for PersistentSettingLogtraceEnable getter and setter. Tested with devtools on Cobalt on linux. b/334122726 Change-Id: I22a881f99af3c05eadc251881cf167d3e0934c0e Co-authored-by: Anton <[email protected]>
Cherry pick PR youtube#2454: Stabilize JavaScript Profiler in Cobalt (y… …outube#2820) Refer to the original PR: youtube#2454 b/323983545 A major refactor was needed in order to prevent the JavaScript Profiler from SEGFAULTING due to a garbage-collected nullptr. This refactor includes the use of a `ProfilerGroup` class. The life of a cobalt::js_profiler::Profiler is extended by adding scoped_refptrs to the ProfilerGroup; thus preventing GC. Profilers live as long as their ProfilerGroup, which lives as long as the Isolate and Web Agent. One `ProfilerGroup` is bound to one `web::Agent`, and contains one `v8::Isolate`, one `v8::CpuProfiler`, and many `cobalt::js_profiler::Profiler`s. The major advantage of this refactor is that it does not crash, and is more faithful to the [original Chromium Implementation](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/timing/profiler_group.cc;bpv=0;bpt=0). Test-On-Device: true Co-authored-by: Ahmed Elzeiny <[email protected]>
Cherry pick PR youtube#2477: Update SbPlayerGetMaximumNumberOfSamples… …PerWrite() description (youtube#2628) Refer to the original PR: youtube#2477 b/326446911 Co-authored-by: Austin Osagie <[email protected]>
Revert "Cherry pick PR youtube#2075: Pause player when demuxer is und… …erflow" (youtube#2471) Reverts youtube#2355 b/307362589
Cherry pick PR youtube#2037: Implement Cobalt wrappers for v8::CpuPro… …filer (youtube#2139) Refer to the original PR: youtube#2037 Implement Cobalt wrappers for v8::CpuProfiler Provides a baseline cobalt-side implementation of the JS Self-Profiling API (https://wicg.github.io/js-self-profiling/). Adds Profiler::Profiler, which wraps a profile handle from a v8::CpuProfiler, and relevant IDL bindings. b/314179829 Co-authored-by: Ahmed Elzeiny <[email protected]>
Revert "Cherry pick PR youtube#1909: Use -std=gnu++17 in mac GN confi… …guration" (youtube#2048) Reverts youtube#2033 This is causing a build breakage since a use of `auto_ptr` has been removed in C++17 b/288332442
Update 23 LTS version to lts.6 (youtube#2004) Preparing for a release. b/210482154
Cherry pick PR youtube#1714: [XB1] Set kNumberOfCachedPresentingImage… … to 3 (youtube#1727) Refer to the original PR: youtube#1714 b/216526788 Co-authored-by: alexanderbobrovnik <[email protected]>
Cherry pick PR youtube#1808: Properly set foreground service permissi… …ons (youtube#1809) Refer to the original PR: youtube#1808 Per https://developer.android.com/about/versions/14/changes/fgs-types-required#media we should be setting that we are using the FOREGROUND_SERVICE_MEDIA_PLAYBACK permission and also passing the corresponding type constants when we start the foreground service. b/305802411 Co-authored-by: Garo Bournoutian <[email protected]>
PreviousNext