platform_system_core/libpixelflinger
Joel Fernandes 519440468b Add support for memfd
This patch adds support to make libcutils create and use memfd where
possible, instead of ashmem.

The libcutils library is made dynamic, since apps are still sending over
ashmem FDs to processes and we are working on moving those apps away
from ashmem. The best we can do for that is make the library work, and
force apps in the long run to move away from directly using ashmem.

Due to further complications mentioned in the 'NOTE' section of the
patch, memfd is kept disabled for now, so nothing changes yet. To enable
it, set the sys.use_memfd property (check user_debug build).

Bug: 113362644
Change-Id: I491cb7841b664db5b1c26b3e07a440a14810e182
Signed-off-by: Joel Fernandes <joelaf@google.com>
2019-02-07 00:40:13 +00:00
..
arch-arm64 libpixelflinger: Avoid using x18 register in blend implementation. 2018-08-29 16:23:21 -07:00
arch-mips Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
arch-mips64 Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
codeflinger Ignore null-pointer-arithmetic warning from dlmalloc include 2018-12-11 23:08:32 -08:00
include Remove dead gglFastDivx. 2018-08-02 16:18:24 -07:00
tests Add support for memfd 2019-02-07 00:40:13 +00:00
Android.bp Convert libpixelflinger to Android.bp 2018-11-16 19:15:38 -08:00
buffer.cpp Suppress implicit-fallthrough warnings. 2018-09-17 16:50:11 +00:00
buffer.h
clear.cpp
clear.h
col32cb16blend.S Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
col32cb16blend_neon.S Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
fixed.cpp Remove dead gglFastDivx. 2018-08-02 16:18:24 -07:00
format.cpp
MODULE_LICENSE_APACHE2
NOTICE
picker.cpp Fix compiler warnings in libpixelflinger 2014-02-20 14:21:55 -08:00
picker.h
pixelflinger.cpp Linux always has POSIX clocks available. 2015-01-09 16:17:46 -08:00
raster.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
raster.h
scanline.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
scanline.h
t32cb16blend.S Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
trap.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
trap.h