summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-01sf: Avoid present hidl call when DP is disconnected.Vikas batchu
CRs-Fixed: 3121678 Change-Id: I2b778cc0fa1d9f93560fadfd715605ae062f5af1
2022-04-01sf: check layer stack id only for multi display smomo.Vikas batchu
CRs-Fixed: 3159089 Change-Id: Id751d5ab8b7f4c1a02ff9bfdb4cecbf648905994
2022-04-01Snap for 8389413 from bd044647ca0ff6bb257e9eebf0fafba3abed6c81 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: Ia9293f633c8b1782cbd978bdc3ee4334e841675a
2022-03-31Merge fa715fbb081b1c548160bbf9b3b483f2e532960c on remote branchLinux Build Service Account
Change-Id: I2fa95e3ecfc3219041352b9c0446f9113da2bbbe
2022-03-31sf: do not set frame buffer size when display is powered offVikas batchu
CRs-Fixed: 3159480 Change-Id: I7b678d1e9c8c8b3522b7f7ac1e4563dce2b1b790
2022-03-28Snap for 8364639 from 07c2dbe420fbf86008823e8053c7c5a5b9cef47f to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: Ia13a1517766c371b8247a82060023b52e1d5ff36
2022-03-25Snap for 8357962 from 5dfc188d9f53a0fb42fa6fa6f8fb7c71c79e7c12 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: I566f5e1dc61784ff0320ca8ec573b6d20183d923
2022-03-25nativedisplay: fix the flicker issue in streaming videoRay Zhang
In streaming video case, video decoder needs to change buffer color space dynamically according to video stream real-time parameters. CRs-Fixed: 3155775 Change-Id: I21590ee41708f5cb1ed45cb5a7f5c00f1c129bb0
2022-03-24sf: Reconfigure Display without waiting for mode change.Rajat Yadav
CRs-Fixed:3120039 Change-Id: I3743ab8ff1c78aa4ee6521d44976609089c0d661
2022-03-23Snap for 8343869 from 169d2b5244b662e05dee2595acaef912fa553c38 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: I3a2a1c3b8551e1c6af02b7c5426bffa4d5835511
2022-03-14Merge 5de646da713683909330a05deeaef364289d5fca on remote branchLinux Build Service Account
Change-Id: If74c10b29ebf0bc7bdf991abec1d7b77d0cb3aea
2022-03-12Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Ic33b5a6c518f7aa587e6c7cf0bfd6df4c795782b
2022-03-11Snap for 8289401 from 8ed7f00e7f6085f477f2d00f106819e7324d550d to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: I0ad3891528bf9a1d76a5873e0f8cfcda1b88650d
2022-03-10Merge "sf: Propagate vsyncs to all instances." into s-keystone-qcom-devTreehugger Robot
2022-03-09Snap for 8277631 from 9b00efc7cc616b5c979c959379609e4f4f185570 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: I6cdf11945f73fada249898f94e85fe76880de754
2022-03-08Merge "Initialize DrawingState::trustedOverlay to false in constructor" into ↵Matt Lee
s-keystone-qcom-dev
2022-03-07Initialize DrawingState::trustedOverlay to false in constructorRobin Lee
To avoid it being initialised to true randomly. Bug: 199483370 Bug: 198370268 Change-Id: I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa Merged-In: I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa (cherry picked from commit ba48944f4b465f5927a4764b461942fdf245ca08) (cherry picked from commit cccbb97d57caded61785c70ac6d5760037a15d3c)
2022-03-06sf: Propagate vsyncs to all instances.Rajat Yadav
CRs-Fixed: 3138822 Change-Id: I908baf43abc0ea6cac31842266beee2d77cd8e7f
2022-03-01Snap for 8235703 from 33e5cfb3d52f97022f1e5b7ae67ce99f73001f62 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: I07bd68059025f3fe061bb037cde47fb804640d66
2022-02-28sf: perform FB scaling purely based on LayerStackRect parametersPadmanabhan Komanduru
Avoid dependency on orientation flag from setDisplayProjection. Handle the FB scaling use-case based on the orientation of FrameBuffer and the LayerStackRect parameters. Change-Id: I4e9aed8c4ccc7a80ebc2dfe931eddbc06f64daa6 CRs-Fixed: 3127296
2022-02-28Merge 6a5986311b92296e995359af3d246f3db62fbe4f on remote branchLinux Build Service Account
Change-Id: I5ac8ddbe7f80fa867725cbffdcaf90a7d30de824
2022-02-13Snap for 8179158 from b146035ccc320ba1ffa723c178c88aebb199ea6b to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: Ib53b688cfd6f3f0a8d5c0e46244840057c21e0e0
2022-02-13Merge tag 'LA.QSSI.12.0.r1-06100-qssi.0' into sugisawasugisawaalk3pInjection
"LA.QSSI.12.0.r1-06100-qssi.0" Change-Id: I8375c5be732ba39cd8b840a5003b82ab2e758503
2022-02-12Merge s-mpr-2022-02-05-2Eric Arseneau
Change-Id: I372bf9eac9ae451b7cadd67be98316e32f67cdb2
2022-01-30Merge c1f928f5da669708d256694c98be186cb0ca8ad8 on remote branchLinux Build Service Account
Change-Id: Ie7bca96fb4df5a00044c4181ad5245540c465128
2022-01-21CompositionEngine: Request device composition for the Udfps touched layerdaniml3
The FOD layers should be always composed by the device to set the custom zpos bits to the kernel. By default all layers are set to device composition and the proprietary libsdmextension.so moves some to client composition. Unfortunately that also affects the Udfps touched layer. After this commit the layer below the Udfps touched layer is forced to be client composition. For unknown reasons libsdmextension will not change the Udfps touched layer to client composition anymore. tests: - Run 'adb shell dumpsys SurfaceFlinger' and ensure that the Udfps touched layer is composed by the device - Ensure that the Udfps touched layer correctly sets the zpos bits on the kernel while / after using WFD Signed-off-by: daniml3 <danimoral1001@gmail.com> Signed-off-by: Arian <arian.kulmer@web.de> Change-Id: I8aeb98d18557ad4e971eaba74700ceb3058273ab
2022-01-21surfaceflinger: Add support for Udfps extension libPierre-Hugues Husson
* Supports changed z Udfps order * Supports changed Udfps usage bits TheScarastic: Adapt to extension lib and support 12 BiometricPrompt Co-authored-by: TheScarastic <warabhishek@gmail.com> Change-Id: Id95aa73e06b4223a6b4f05c69fa2fc494f9a97b1
2022-01-16Merge b108fb3f7e1c4d8435f49952f6828fcafd05ed87 on remote branchLinux Build Service Account
Change-Id: I51afeca765bd48370d23ed44ca9e9070f5710851
2022-01-15Snap for 8084085 from f8ce875c134b1e6ce08171c2cb4b4f3232a90b08 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I29b9af3378136b2f60ca883b2265d0874569c7fc
2022-01-14Allow gpuservice to read tracefs entriesKalesh Singh
Gpu service needs tracefs access to attach the BPF program to the gpu_mem_total tracepoint for GPU memory tracking. Bug: 208892266 Bug: 209513178 Bug: 214061655 Test: adb shell dumpsys gpu --gpumem Change-Id: I10fd54544bee940313f3987247c1841101a9d03a Merged-In: I10fd54544bee940313f3987247c1841101a9d03a
2022-01-14Snap for 8076550 from 73e5d94f4b5de774690e0b55cd766f4baae4e121 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I15c0abde8bad83180a3971ec685378bacdf09c09
2022-01-12[automerger skipped] Skip creating external textures that exceeds size limit ↵Garfield Tan
am: ec7e4d9a5c -s ours am: 9c097670cd -s ours am skip reason: Merged-In I52d253ed5a10f0e4ade372048721913405ed668a with SHA-1 2914a57d75 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16613881 Change-Id: I3976b73eb9ba72294a5a4113264fed51e3c6903d
2022-01-12[automerger skipped] Skip creating external textures that exceeds size limit ↵Garfield Tan
am: ec7e4d9a5c -s ours am skip reason: Merged-In I52d253ed5a10f0e4ade372048721913405ed668a with SHA-1 2914a57d75 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16613881 Change-Id: I9218d997dcf98117b0f241de6dea69be74095f8d
2022-01-12[automerger skipped] Skip creating external textures that exceeds size limit ↵Garfield Tan
am: 2914a57d75 -s ours am skip reason: Merged-In I52d253ed5a10f0e4ade372048721913405ed668a with SHA-1 9c9c191345 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16614247 Change-Id: Ic690dbeb34cbc62c4d38d8348587f13a6fcb7efc
2022-01-12Skip creating external textures that exceeds size limitGarfield Tan
Skia always accept an Android buffer and wraps it around with a texture even if its size exceeds the limit GL exposes. Therefore let's skip creating the texture in SurfaceFlinger and outputs an error log to logcat. I chose to do it in SurfaceFlinger rather than RenderEngine is because the external texture mapping is designed to be asynchronous, so it'd be better to keep that way. The limit is also exposed out of RenderEngine so SurfaceFlinger can check it before creating external textures as well. Bug: 190399306 Bug: 204316511 Test: The test mentioned in the bug fails instead of crashing SurfaceFlinger. Test: atest SurfaceFlinger_test Test: atest libsurfaceflinger_unittest Change-Id: I52d253ed5a10f0e4ade372048721913405ed668a (cherry picked from commit 9c9c19134593655c36fe70aaa45a91ad4f75e36f) Merged-In: I52d253ed5a10f0e4ade372048721913405ed668a
2022-01-12Skip creating external textures that exceeds size limitGarfield Tan
Skia always accept an Android buffer and wraps it around with a texture even if its size exceeds the limit GL exposes. Therefore let's skip creating the texture in SurfaceFlinger and outputs an error log to logcat. I chose to do it in SurfaceFlinger rather than RenderEngine is because the external texture mapping is designed to be asynchronous, so it'd be better to keep that way. The limit is also exposed out of RenderEngine so SurfaceFlinger can check it before creating external textures as well. Bug: 190399306 Bug: 204316511 Test: The test mentioned in the bug fails instead of crashing SurfaceFlinger. Test: atest SurfaceFlinger_test Test: atest libsurfaceflinger_unittest Change-Id: I52d253ed5a10f0e4ade372048721913405ed668a (cherry picked from commit 9c9c19134593655c36fe70aaa45a91ad4f75e36f) Merged-In: I52d253ed5a10f0e4ade372048721913405ed668a
2022-01-12Snap for 8069964 from d002918bbf20d55af7a39f4f86b76f9f533221f7 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: Iba9826587ad1db0e731f0f07c33ae6885333df60
2022-01-12Snap for 8068644 from ee4a87b8617b91e5c3006efa74b4a25377b2a07f to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I1eb04573e4067c70aff5c6e6ef470122dbbbadf8
2022-01-11Snap for 8060779 from 6f28d23f07e70a91157880b5c9d9423c388de92d to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I6a6467d5515bfae05384053e816c8fb8d363ffad
2022-01-10Merge "DO NOT MERGE SF: Fix releaseBufferEndpoint merge issue" into sc-v2-devTreeHugger Robot
2022-01-10Merge "Fix KeyCharacterMap overlays by reloading base overlay before ↵Philip Junker
applying another overlay." into sc-v2-dev
2022-01-10sf: Removing On Main Thread check in isFpsDeferNeededRajat Yadav
CRs-Fixed: 3107071 Change-Id: I279eada61ceec9063444758d3a61f5f338830dba
2022-01-09Snap for 8056754 from 4f47adf3a44ad7cddb48b01f9c096c7484ee9a32 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: If0397dfa47f57fadd9031b3eeaa052abe9c5c610
2022-01-08Snap for 8055317 from b6f8479039c1462a0f2e041d6376e3e208bbb70f to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I7262d559ebece98f97357db12d77af68e6d40e2b
2022-01-08DO NOT MERGE SF: Fix releaseBufferEndpoint merge issueVishnu Nair
If a transaction contained a cached buffer, and was parcelled then merged, the releaseBufferEndpoint would not be merged correctly. This would result in SF not releasing a buffer and the app eventually ANRing. DO NOT MERGE because this issue doesn't exist in master Bug: b/205791752 Test: manually rotate apps to trigger sync transactions and check the logs to see we don't release stale buffers. Real tests to follow Change-Id: Ibd295be5e06fea00b331610206f1664f651afed3
2022-01-06Merge s-mpr-2022-01-05Eric Arseneau
Change-Id: I38291448b567328240bec5beb3c76a70ef3c55ee
2022-01-06keep a wp<BLASTBufferQueue> in BufferItemConsumerAdy Abraham
Use a wp<> instead of raw pointer and remove the mutex around it to prevent potential deadlocks. Bug: 208121127 Test: stress test by partner Test: atest BLASTBufferQueueTest Change-Id: Iffed80410aeffc9b724d5c01ca2ec589c9622990 Merged-In: Iffed80410aeffc9b724d5c01ca2ec589c9622990
2022-01-06Fix KeyCharacterMap overlays by reloading base overlay before applying ↵Philip Junker
another overlay. Add all fields to parcel (mLoadFileName, mLayoutOverlayApplied, mKeysByScanCode, mKeysByUsageCode). Add all fields to equality operator. Add tests to libinput_tests. Bug: 210090260 Test: Manually verified that layout changes correctly. Test: atest libinput_tests Change-Id: I1777b87e5c2ce8a0dbd42ad48748ea9e669c9139 (cherry picked from commit 90bc949048f2b91fa841cb8272381af8c301c055)
2022-01-06Snap for 8048496 from be37e0237979f9dd716e8962b4b4bba9751eeb83 to ↵Android Build Coastguard Worker
s-keystone-qcom-release Change-Id: Id8afd6063a063165c0329dfa1384b30547959886
2022-01-06Snap for 8045491 from aca25f60537453114bfe7f0f8587e551438ca7a5 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I24dfbab144ef36a2aecaa1e49511ccef931b44e3