Age | Commit message (Collapse) | Author |
|
'googleplex-android-review.googlesource.com/24240403'] into udc-d1-release.
Change-Id: Ieb51f42eaa0bc9881c6c8a782d1a2992c7b05c75
|
|
This reverts commit 3b9574a68afb242d573f062ce8e0a99a452d5842.
Reason for revert: potential culprit for b/291461814
Bug: 291461814
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e9cb5b159c6bf1c76576845d4bacd752ce79f8e1)
Merged-In: Ib92a05135a05978d8d4e6a938df1c6fb5b8169e2
Change-Id: Ib92a05135a05978d8d4e6a938df1c6fb5b8169e2
|
|
Test: manual - protected content in Netflix apk, even without blurring
Without this change getOrCreateBackendTexture can return an
un-Protected backend texture when a Protected one is required.
This causes the Protected content draw to be dropped.
Note: This CL originally landed in main as part of a broader fix for
blurring protected content, but it has been discovered to fix other
issues with protected content that were otherwise still visible in
this branch.
Bug: 242266174
Bug: 294357792
(cherry picked from commit 59f71734258e3959d2d3d8937d689b1bb88941db)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a0c7cca5769008d02e0ce227feb3efd7471813a4)
Merged-In: I9d7bab890ae8d88656e77dede962b40e926580c8
Change-Id: I9d7bab890ae8d88656e77dede962b40e926580c8
|
|
into udc-d1-release.
Change-Id: I928dbf0cf98141d64673fb1b302f3aec48095c94
|
|
This change improves the performance of the WindowInfosListenerInvoker work done on SurfaceFlinger's background executor thread. The primary optimization made is not sending a WindowInfosReportedListener with every call to WindowInfosListener.onWindowInfosChanged. Instead, we send a new interface, WindowInfosPublisher, and a unique listener id to listeners when they're added. Listeners call WindowInfosPublisher.ackWindowInfosReceived with their id after processing each update.
From traces taken during development, the new code is a major improvement, taking about 15% of the time spent previously on SurfaceFlinger's background thread for sending window infos. Performance with this change seems roughly in line with the performance in T.
Bug: 290377931
Test: atest WindowInfosListenerTest
Test: atest WindowInfosListenerInvokerTest
Test: manually killing system server and checking valid state on restart
(cherry picked from commit acd2258a5492a9e289fd7f4b8ea90543d6843a23)
(cherry picked from commit e8a7ab25b2f2f17571279a2c2bf2ea0dff66c8e6)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:82f3463d449eb13e28c5dbffeee16e10721c71d2)
Merged-In: Ib39ba935727df0bc1ab4030bcfe8301de7e64805
Change-Id: Ib39ba935727df0bc1ab4030bcfe8301de7e64805
|
|
into udc-d1-release.
Change-Id: I57ad69438621abbef691d5861a1caaaf245a87c7
|
|
Bug: 289450873
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b103ec53587485e7867a6e57c9e6c87406307ce5)
Merged-In: I92b6eb08e97cf1e1c59ea331530b9da1e9c1549b
Change-Id: I92b6eb08e97cf1e1c59ea331530b9da1e9c1549b
|
|
'googleplex-android-review.googlesource.com/24438240'] into udc-d1-release.
Change-Id: I500bf4fcead05fcef2904ea95469194adc6a386c
|
|
When the physical range is a single rate (e.g. 120Hz), render rates
where discarded if they could be run at a lower physical rate
(e.g. 30fps of 60Hz). This CL enables these frame rates to be able to
save power by running on a slower rate.
Bug: 296079213
Test: play 30fps video while the device policy has a
single physical refresh rate
Test: atest libsurfaceflinger_unittest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d0b0a336ea227ac9df82edb0b89cd99141ed7d5)
Merged-In: I4d6d6ddffd6004022d02329148709204ff9d57db
Change-Id: I4d6d6ddffd6004022d02329148709204ff9d57db
|
|
Ideally DisplayManager should know what is the min supported frame rate
that SF allows, and send the policy accordingly. This is a more elaborate
fix that will be coming as part of b/292105422. For now we fix it in SF
by just ignoring the render frame rate when we can't find any frame rate
that is allowed by the policy.
Bug: 292047939
Bug: 291172084
Test: atest android.graphics.cts.FrameRateOverrideTest
(cherry picked from commit 41bf7c63078d8fce42ff2484359e859c89b56d6d)
(cherry picked from commit 0cfcc70e1d9d8025283f4629fdf0de6acc66fa37)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f5c66835aa18ce5ad0e2b60505fee9a9140ffe2b)
Merged-In: Id053a07eec2525ecbe1156ad46f649956a06a03b
Change-Id: Id053a07eec2525ecbe1156ad46f649956a06a03b
|
|
into udc-d1-release.
Change-Id: I105324d7c38d5caf0063a4bb7443b15b9cc90c6e
|
|
Populating fakeOutputDataspace got dropped, which turned off the one-off
workaround to bypass skia's color management to encode as gamma 2.2.
Turn it back on to prevent flickers on some devices.
Bug: 293311643
Test: SilkFX test app
(cherry picked from commit e0bb6f4ff13cc45b61a1b0edccbf875bb3871c89)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fad6ef537b2e96a6f5aaeb6a70dd63fc389e18ff)
Merged-In: I4370756c48fe79c1b4fcbd88a3bf2579fde1bf65
Change-Id: I4370756c48fe79c1b4fcbd88a3bf2579fde1bf65
|
|
'googleplex-android-review.googlesource.com/24286326'] into udc-d1-release.
Change-Id: Iaca15c1b98b879645ecdb799f0f3c590b856dc05
|
|
This change guards IsStrictRun using __ANDROID_VNDK__ to avoid needing
to update the prebuilt ABI dumps in internal, since IsStrictRun is only
needed in the framework and does not need to be made available to
vendors.
This avoids updating the API surface unnecessarily.
Test: Cherry-pick this change to internal and verify that internal
builds work without needing to update the prebuilt ABI dumps.
Ignore-AOSP-First: This is already in AOSP, but needs to be
cherry-picked here first before being removed from
AOSP.
Bug: 283326935
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7e2d1beb3cfa1b85f3e7ef7bedc5afa29ca83ee7)
Merged-In: I9dfdf3306b6a9b0faa9f8f7871b1fc244bde1a97
Change-Id: I9dfdf3306b6a9b0faa9f8f7871b1fc244bde1a97
|
|
This change adds 'dumpstate.strict_run', which sets stricter timeouts on
flaky sections. The default value for this property is 'true'.
Test: Build, wipe, and flash, then verify that:
1) the strict-run log is emitted when taking a bug report
2) manually running 'setprop dumpstate.strict_run false' results in
the strict-run log not being emitted in the next bug report
Bug: 283326935
(cherry picked from https://android-review.googlesource.com/q/commit:fa64e6412bd607e198a199b39cc18024e6e99105)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2a5a1a92dfdf911e095a0298a1b4f81905d9efec)
Merged-In: Ic40b235f710b2858ec8ca463a8f6a796d9e6c98e
Change-Id: Ic40b235f710b2858ec8ca463a8f6a796d9e6c98e
|
|
udc-d1-release
Change-Id: Ic0c4a0bb9bcc8c9a2e0bf7d1ee5c9447d9bc9a16
|
|
|
|
BufferQueueCore::mMutex should never be locked when calling
consumerListener's callbacks.
The reason is that the consumerListener callback could in turn
acquire BufferQueueCore::mMutex, resulting in deadlock.
The deadlock stack trace for onFrameDequeued is:
- BufferQueueProduer::dequeueBuffer acquires Core::mMutex
- ProxyConsumerListener::onFrameDequeued::onFrameDequeued
promotes a ConsumerListener wp to sp
- The sp becomes the last reference to the ConsumerListener object,
when onFrameDequeued() goes out of scope, ~ConsumerListener is
called
- BufferQueueConsumer::disconnect is called as part of
~ConsumerListener(), and disconnect needs to acquire Core::mMutex
The same issue applies to onFrameCancelled and onFrameDetached.
Test: atest BufferQueueThreading::TestProducerDequeueConsumerDestroy
Bug: 270004534
Change-Id: I22fdc637ccc937594656d6f5bc1ee9b7c506490a
Merged-In: I22fdc637ccc937594656d6f5bc1ee9b7c506490a
|
|
udc-d1-release
Change-Id: Ifccf55aa084b7f66ae267266c8fd6c46e3cfafe5
|
|
udc-d1-release
Change-Id: I0c4e3a62069a4e0841fc1a477d2fdd7aaeea224c
|
|
udc-dev am: be2ac9c753
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/24193668
Change-Id: I592a8a41290c441dd837a467991a1d8925c3fcfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
udc-dev
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/24168505
Change-Id: Id5525d92a7cc80aefd78ef450cc4cbda20b2c19a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Bug: 292284515
Test: Builds
Change-Id: Ifd263d93e1c1b8bb8043712283e38e4434079f85
|
|
Some layers are extraordinarily large. In the particular case we've
found, the layer does not have any content, but even if it did, content
outside the display would not impact the blur. So limit the size of the
rectangle we use for blurring, which in turn limits the size of the
buffers we allocate to compute the blur.
Use the canvas' existing clip, which has already been adjusted to the
size of the display.
Bug: 283427479
Bug: 292539958
Test: manual (logcat)
Change-Id: I17e646cce0dca02f4e6a18032ecd1e9120fcf880
Merged-In: I17e646cce0dca02f4e6a18032ecd1e9120fcf880
|
|
udc-d1-release
Change-Id: I6cec041379bfc03464ffe7427b50b52f289d7b0d
|
|
When doing a layer capture for seamless transitions
avoid clamping the max HDR headroom.
Fixes: 288063548
Test: repro steps in bug
Change-Id: Ic90c8b4478ad90b1776c455cbe696ec22182496d
(cherry picked from commit 1dadaa6b78f2939e717451303cd29d8f683e5f08)
|
|
udc-d1-release
Change-Id: Ib91d015ceb157999ee63069158e0a0eaa46aab75
|
|
Fixes: 287721163
Test: Test on device
Change-Id: I9585d8c1a285e27ed8c1f506dd9ac24a47631f93
Merged-In: I9585d8c1a285e27ed8c1f506dd9ac24a47631f93
|
|
udc-d1-release
Change-Id: I49195f87e426a888002dc4af498cfb21108afcaa
|
|
If the device is configured to decode SDR video standards as sRGB, then
we need to do this for screenshots and caching as well.
See patch I64fc8f2ea77f8e595333de36fb9da2979d8316ca for why we allow for reinterpreting 170M as sRGB.
Bug: 288330598
Test: Netflix full screen, disable HW overlays, then swipe to home
Change-Id: Ie4eabd6301826fcb9e302ba6079f7f6b94e5a8b8
|
|
udc-d1-release
Change-Id: I59b7df9c08e650db27221643406d0197b08364d8
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours am: 7ed143a5e9 -s ours am: a8a539955c -s ours am: ce68dd7ef3 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: I17cf1b39c03ea770ef9a6ce55fc8fcf28d038662
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours am: a7d1ab18e5 -s ours am: d750a46617 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: Ibbf0253698345079d9210324318d74553471bd04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours am: 7ed143a5e9 -s ours am: a8a539955c -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: Ia96901ed1cd1a291adb76d9956f4f27ec49c278b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours am: 7ed143a5e9 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: Idb98e606f3615c2a6f79e1e6f4474acc15cad3fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours am: a7d1ab18e5 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: I63384207add35ce04706e6eace51c0abb8fd6a38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: Icab0f8d912b0e4f9cc743ecadd9c5deac2a52fee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours am: ea256bece0 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: I1b8d4181767020c9efbc3835e6d3381762524d24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
24a7874bb4 am: bc5214e0dc am: 2039b815e3 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: I3a1639cf19d7d0f4a33a247a8b185f3365525c47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: I26c7c10dadc8f4eec8392130a0357e3505a5de00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23905808
Change-Id: I82fbc5e1dab9df417fb7da6a18a8ebfac19a21f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
7fb707802e am: 4ca2500fe6 am: 69580b9a26 -s ours am: ef318d5f81 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: I7ce68fe01a47d74965be4c9cb32e13c6bdc620f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
7fb707802e am: 979c25499a -s ours am: ac20ad5aa4 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 a8186037a7 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: I8b058ac60467004333b39707d8b3291b140b7b2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
7fb707802e am: 4ca2500fe6 am: 69580b9a26 -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 7fb707802e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: I576dd4fac65c76cc11a00159acac16f0f31cdc35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: I48fb105c71ef3d56643016445daa31fcfef6e5f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
7fb707802e am: 979c25499a -s ours
am skip reason: Merged-In I4d1d2d4658b575bf2c8f425f91f68f03114ad029 with SHA-1 a8186037a7 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: Ice85fd1970fc07b3ffde35f514134f69a5db4a01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: I786d52e608b0e8d31219b094e9c4b90c549491ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23899871
Change-Id: Ieac80b880878225d914efb41e78385eb76b3a690
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|