Commit graph

7 commits

Author SHA1 Message Date
Sebastiano Barezzi
ca34347089
compat: Keep only one copy of clang-format style
* When --style=file is specified, clang-format will look for a
  .clang-format on file's parent dirs automatically

Change-Id: If94fe4915cd434b3f5901b8830cbdb90976ae4b7
2023-07-17 20:51:56 +02:00
Ivan Vecera
d67ae54f8e compat: Fix ABI issues
Several constructor shims are implemented incorrectly because
they completely ignore the fact that constructors have 'this-call'
calling convention and should pass 'this ptr' as the first argument [1]
as well as its return value, at least according ARM ABI [2].

Additionally android::SurfaceComposerClient::Transaction::apply(bool)
shim has void return value instead of status_t so the caller retrieves
random value.

[1] https://review.lineageos.org/c/LineageOS/android_device_xiaomi_sdm710-common/+/360011/comments/eb6600df_3e2fb434
[2] 617079d8a0/cppabi32/cppabi32.rst (L576)

Change-Id: I7b14b5d3ca6008c1e4b3f5fcbaece5021b3cbb82
Signed-off-by: Ivan Vecera <ivan@cera.cz>
2023-06-26 15:20:07 +02:00
Michael Bestas
ce8f7cfed4
libgui: Add SurfaceComposerClient shim
Change-Id: Ie0ce6a17cebd079584a3121524eb79bf64a88df3
2022-11-02 04:25:13 +02:00
LuK1337
c3f51682eb libgui/libui: Switch to SPDX license identifiers
Change-Id: Iaf4cbd3ea8cdbf74bff42466a51f81af88b82c81
2022-09-21 18:20:58 +02:00
LuK1337
8c9cff232b libgui/libui: Add and run clang-format
Change-Id: I34ad46b99904e48be1a273486a42e0dc7edea48f
2022-09-21 18:19:26 +02:00
LuK1337
039f81353b libgui: Remove namespace android
Change-Id: I8cb93369d22ffc2fb61f58c570580b8c19898bfd
2022-09-21 18:19:26 +02:00
Erfan Abdi
aae0cea26d Provide libgui{,_vendor} shim for 4.4/4.9-era camera blobs
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I5e622e68422f5c4da13c0752a7eb3f4b20ddae49
2022-09-21 12:08:45 +01:00