13 Commits
Author SHA1 Message Date
Sylvestre Ledru 6fe3323ba7 Bug 2023419 - Remove Emacs/Vim modelines from hal/ r=emilio,geckoview-reviewers,m_kato
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287847
2026-03-17 07:58:00 +00:00
serge-sans-paille c3bc8e9113 Bug 2008693 - Remove unused <stddef.h> inclusion and make sure we don't regress on those r=geckoview-reviewers,media-playback-reviewers,webrtc-reviewers,padenot,ng,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D277977
2026-01-07 10:16:09 +00:00
serge-sans-paille ef5ed46fb9 Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager.cpp r=geckoview-reviewers,m_kato,jnicol
As a side effect, also simplify the related code as we no longer need an
API manager.

Differential Revision: https://phabricator.services.mozilla.com/D249225
2025-06-06 23:47:02 +00:00
Cristina Horotan 27d82e6291 Revert "Bug 1966311 - Use weak android symbol instead of dlopen/dlsym for android/Ashmem.cpp r=glandium" for causing run failure
This reverts commit 5a05c94949.

Revert "Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager..cpp r=geckoview-reviewers,m_kato"

This reverts commit 51caedd477.
2025-06-04 09:39:14 +00:00
serge-sans-paille 51caedd477 Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager..cpp r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D249225
2025-06-04 08:08:54 +00:00
Serban Stanca 0ae173924f Revert "Bug 1966311 - Use weak android symbol instead of dlopen/dlsym for android/Ashmem.cpp r=glandium" for causing multiple Android failures.
This reverts commit f5a2f8839a.

This reverts commit 801ade11ce.

This reverts commit 5c575caf38.

This reverts commit 0336e618cb.
2025-05-16 08:52:25 +00:00
serge-sans-paille 801ade11ce Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager..cpp r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D249225
2025-05-16 07:07:09 +00:00
Atila Butkovits 9aeff2a5fb Revert "Bug 1966311 - Use weak android symbol instead of dlopen/dlsym for android/Ashmem.cpp r=glandium" for causing bustages at AndroidSystemFontIterator.cpp.
This reverts commit 8c80ef5139.

Revert "Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager..cpp r=geckoview-reviewers,m_kato"

This reverts commit 409c852308.

Revert "Bug 1966309 - Use weak android symbol instead of dlopen/dlsym for AndroidSystemFontIterator.cpp r=jnicol"

This reverts commit f130d3a4eb.

Revert "Bug 1966308 - Use weak android symbol instead of dlopen/dlsym for AndroidHardwareBuffer.cpp r=jnicol"

This reverts commit 80505431a5.
2025-05-15 13:17:19 +00:00
serge-sans-paille 409c852308 Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager..cpp r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D249225
2025-05-15 12:40:49 +00:00
Makoto Kato d1069dac5f Bug 1858843 - Remove pre-Lollipop code from C/C++. r=geckoview-reviewers,media-playback-reviewers,padenot,owlish,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D191602
2023-11-09 17:39:59 +00:00
Jamie Nicol bb149e3f6f Bug 1848766 - Add PerformanceHintManager implementation to HAL. r=smaug,emilio,geckoview-reviewers,owlish
PerformanceHintManager is an Android API that allows the caller to
create a PerformanceHintSession, representing a workload shared by a
group of threads that should be completed within a target duration
each cycle. The actual duration spent working is reported each cycle,
and the system can then adjust scheduling of the threads accordingly
in order to hit the target going forward.

This patch adds the API to HAL along with an Android
implementation (and a nop fallback implementation for other
platforms).

Differential Revision: https://phabricator.services.mozilla.com/D186238
2023-08-18 12:01:24 +00:00
Cristina Horotan 2e49860ceb Backed out 3 changesets (bug 1848766) for causing build bustage at AndroidPerformanceHintManager.cpp CLOSED TREE
Backed out changeset a645cf8f45e9 (bug 1848766)
Backed out changeset 065b16762c94 (bug 1848766)
Backed out changeset 4e1c2cc65d1c (bug 1848766)
2023-08-18 14:53:08 +03:00
Jamie Nicol ba3cb5c8ed Bug 1848766 - Add PerformanceHintManager implementation to HAL. r=smaug,emilio,geckoview-reviewers,owlish
PerformanceHintManager is an Android API that allows the caller to
create a PerformanceHintSession, representing a workload shared by a
group of threads that should be completed within a target duration
each cycle. The actual duration spent working is reported each cycle,
and the system can then adjust scheduling of the threads accordingly
in order to hit the target going forward.

This patch adds the API to HAL along with an Android
implementation (and a nop fallback implementation for other
platforms).

Differential Revision: https://phabricator.services.mozilla.com/D186238
2023-08-18 11:19:12 +00:00