| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The host build of libhwui requires access to the headers of
nativedisplay and nativewindow.
Bug: 322360037
Test: N/A
Change-Id: I1deefdaa42c8756914451c8642fff83199d25e70
|
| |
|
|
|
| |
Test: n/a
Change-Id: I59c9c62458fbaf274db031cc56e89b2e3129ac1a
|
| |
|
|
|
|
| |
Fixes: 319284591
Test: make && atest libnativewindow_test
Change-Id: I7d6521ff43bf7a79dc6c6e45610108b82e469dc8
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
88127a1114
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2902242
Change-Id: I7af6166c94b5fc4c11712f459813a2b9aec239eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This enum is used in the ABI for the SurfaceControl APIs, but that's
not safe without a defined backing type.
Bug: None
Test: treehugger
Change-Id: Ifa52f69abacc370e91fd9a358f24a011fdbf0322
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
am: f7d2e064a3
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2895642
Change-Id: I1a11930aa80aef361b0fc10c33dafb9c5c23a7fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In nativewindo, if the NDK symbols aren't present the read/write
parcel calls will fail. STATUS_FAILED_TRANSACTION is a special return
value and shouldn't be used for this case. Return
STATUS_INVALID_OPERATION instead.
This change will allow the caller to handle the error.
Test: m
Bug: none
Change-Id: I98f1319d8a67bd159825da9b7b533e9f709ad288
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is mainly to be used by toolkit to send the touch interaction to
SF (in effort to handle touch signal in toolkit instead of SF).
The HighInteractive category is similar to Heuristic layer type
but will be considered in touch boost logic.
Bug: 315071842
Test: atest libsurfaceflinger_unittest
Test: atest CtsSurfaceControlTestsStaging
Change-Id: I97a94fa970e165424757e4537468fbeda4226a72
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
main am: 565af6b109 am: f696a98863 am: 911e500a8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2880408
Change-Id: I9bb34ac43d823e440ca9257c81c4f3a985245b07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
These NDK APIs may not be available for modules using this AIDL type on
older devices.
Test: m
Bug: none
Change-Id: I0048285e4bd4d708833704845bed2199800bf42c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Also fix that some ADataSpace enum values were not prefixed
with ADATASPACE_*
Test: atest AHardwareBufferTest
Bug: 315475131
Change-Id: Ie92f416a209501fa8fdc9b3593ea6d3bb68eaa48
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 306080972
Test: atest libsurfaceflinger_unittest
Test: atest SetFrameRateTest
Change-Id: I65551be0f96fd7d4137e49259436e1a9c74bfe90
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SELF -> PROPAGATE (default)
DO_NOT_PROPAGATE -> SELF
No behavioral changes.
Test: atest libsurfaceflinger_unittest
Bug: 309687765
Change-Id: I055d827a45ecc7f566375425c42e745a41b751f9
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This logic is for the new FrameRateSelectionStrategy::DoNotPropagate.
The default behavior ("Self") is to propagate parent vote to children
that has no votes, but if a layer has "DoNotPropagate", it will not
propagate its vote to children.
Bug: 309687765
Test: atest libsurfaceflinger_unittest
Test: atest CtsSurfaceControlTestsStaging
Change-Id: I284b639f2b1902c5e9d3dcd08ceaf3f76b73451e
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
native_window_aidl.h only enables the AIDL glue for CPP/NDK backends,
so the headers required for AIDL glue should only be included
for CPP/NDK backends.
This CL includes headers required by AIDL glue only when the AIDL
glue is actually being enabled.
Bug: 283283111
Test: Verified that Surface can be used in an AIDL file.
Change-Id: I1945d3cfc247bfa507ca4fef03044e1078e598f0
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ANativeWindow is now parcelable over stable interfaces by being
wrapped in NativeWindow or Surface. The readFromParcel and
writeToParcel functions are implemented for this class, but
AIDL also expects some comparators and a toString function
to be implemented for custom parcelables.
This CL implements the comparison operators, and the toString
function to allow NativeWindow/Surface to be used with AIDL
interfaces and Parcelables. The operations simply
compare/print the ANativeWindow pointer that is being managed
by the object.
Bug: 283283111
Test: Verified that Surface can be used in an AIDL file.
Change-Id: I28ceded9ee1358884a6b1214269bb04a90749fc0
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
main am: c99b3a0cef am: 314f2692ec am: 20b18d0f83 am: 7a76712982 am: 866759321e
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2775867
Change-Id: If33fcc489826f5f186ac51986018cb413bb073c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
main am: c99b3a0cef am: 314f2692ec am: 20b18d0f83 am: 7a76712982
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2775867
Change-Id: I62a03540a1c3851f5a7816adee3c9dc3c9629568
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 300602767
Change-Id: Ie67bf2ef39faa8b679fde7831bd8f45d264a3350
Test: builds
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 3ad1b0d5da am: dc91837b4d am: 6a017ea70b am: 4530017f67 am: c2999c3c10
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2775428
Change-Id: Ib0ed6ab71c0585e2532ea3c5d9acb81c6e12f9c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 3ad1b0d5da am: dc91837b4d am: 6a017ea70b am: 4530017f67
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2775428
Change-Id: I0d26b16dd37649d2d227897934381014a5278c42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ \ |
|
| | | | |/
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 300602767
Change-Id: Iccc941a3d44781703cf1dc82513e6354b1839ae7
Test: builds
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
313d1596d8 am: 3c64be4264 am: 4495a70b8f am: f408312f40
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2773889
Change-Id: If04f18ed7ef71dc44622a134a497665b71da01e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
313d1596d8 am: 3c64be4264 am: 4495a70b8f
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2773889
Change-Id: I6194baef3c4748c2bdece4f0f7586aa55ecc1c9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2773889
Change-Id: I2117a4a93b3c93e3a4189fea84709f47da0c9540
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 300602767
Change-Id: I114a4cf83978f152959a6ec244d322603ff5257b
Test: builds
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4499839c26 am: c1aa8a6431 am: dffca2c4f3 am: 7956a5cf44
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2754865
Change-Id: I2407c9015937783717360ad9ee460bdd13a9e627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4499839c26
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2754865
Change-Id: I55d40bafabb1a20fc6f5e92f9c8b5188fe299edc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |\ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 266124653
Bug: 300602767
Test: builds
Change-Id: I3a77febcc4fa36f7b00abd77326cfb33eaf7dfbc
Merged-In: I3a77febcc4fa36f7b00abd77326cfb33eaf7dfbc
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This new value will allow a parent layer to override the frame
rate specifications of all its descendants. This CL only plumbs the
value from Transaction to Layer.
Bug: 297418260
Test: atest CtsSurfaceControlTestsStaging
Test: atest libsurfaceflinger_unittest
Change-Id: Ibbda6ff6c143e931240178d89306822b4cce9669
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 2bce819db7 am: d8606ef3ff am: 1f1b0b8c94 am: 09de6e167a am: fe18554125
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2730939
Change-Id: Id4b35c05847388a84fecc985e9354348f11540d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 2bce819db7 am: d8606ef3ff am: 1f1b0b8c94 am: 09de6e167a
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2730939
Change-Id: Idd5294e80aed0897117a26780f44ba078dd61d75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 2bce819db7
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2730939
Change-Id: I827423ff44b97d145eed8ec87abcfeffd164f295
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |/
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 251850069
Test: build
Change-Id: Ic7efeabc42fcc094b36e8c9104e5d43a618ed4fe
|
| | | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2619815
Change-Id: I82e5f43ba16488df4e469681eefe21b70fdca7d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
All AIDL structures are comparable. It makes it possible to use them as keys in a map. We can define an order for any type on the computer, since we can always take the address. Though - this may not always be the most useful meaning.
We didn't discover this earlier, because this was only ever used in an argument. Regardless, it seems like a useful thing to have.
Also - we shouldn't add complexity to AIDL to make this optional. It has deep consequences, since any element, even 4-5 structures deep could cause a struct to not be comparable. If someone adds a non-comparable type to a structure in a later version, AIDL packages depending on it might find it impossible to upgrade without making their structures non-comparable, which could break client code.
Bug: N/A
Test: N/A
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2d4660083c7eb0ea56040745830abcb148d8de54)
Merged-In: I627adbd110d037246ce307f4984739008fe91c33
Change-Id: I627adbd110d037246ce307f4984739008fe91c33
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
0c5649f4ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2618318
Change-Id: Id5162cf322ec68b1e1fc721f760005f9acb6cdcd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2618318
Change-Id: Iff6c185b517fda0de3826ab09b4a9e5ff140d32b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: N/A
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2ed5cf9a07889c97d9fc28471934f1115c72736f)
Merged-In: I7452fd53876eacb0a062d5a5c601594de2190ee1
Change-Id: I7452fd53876eacb0a062d5a5c601594de2190ee1
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Mark UI frames that didn't make it to their expected presentation
due to RenderThread animations as dropped.
Screenshot from Perfetto: https://screenshot.googleplex.com/3pQuNaDYAhHLYu7
Bug: 210605870
Test: manual
Change-Id: Ibc91bcaac2f9296ec0bddd5deebb4289c5b5bf7e
Merged-In: Ibc91bcaac2f9296ec0bddd5deebb4289c5b5bf7e
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 283474351
Test: m
Change-Id: I7452fd53876eacb0a062d5a5c601594de2190ee1
Merged-In: I7452fd53876eacb0a062d5a5c601594de2190ee1
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 284911776
Test: atest CtsSurfaceControlTestsStaging
Test: atest libsurfaceflinger_unittest
Change-Id: Ia804a63198ff096d1e5ffedf6046a0350963b8ed
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 266124653
Test: builds
Change-Id: I3a77febcc4fa36f7b00abd77326cfb33eaf7dfbc
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Mark UI frames that didn't make it to their expected presentation
due to RenderThread animations as dropped.
Screenshot from Perfetto: https://screenshot.googleplex.com/3pQuNaDYAhHLYu7
Bug: 210605870
Test: manual
Change-Id: Ibc91bcaac2f9296ec0bddd5deebb4289c5b5bf7e
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
udc-dev am: 8b0d097a74 am: 710b825f9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23118717
Change-Id: Ibdd00cc47118d6fe0766a611d501200e31620264
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SF would only try to heuristically calculate the frame rate of a layer
when TextureView is updating. This fixes a bug where SF tries to
heuristically calculate the frame rate for UI animations but fails
due to long frames.
Bug: 280249265
Test: Playing a video on Facebook and observe refresh rate
Test: go/cb-pcmark
Change-Id: Ic98484b8313f1e8e6ad01297b63bb64da6d4a6dd
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
Bug: N/A
Test: m
Change-Id: I7452fd53876eacb0a062d5a5c601594de2190ee1
|