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 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
clear.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
clear.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
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 remove unused YUV constants 2010-02-16 16:54:53 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
picker.cpp Fix compiler warnings in libpixelflinger 2014-02-20 14:21:55 -08:00
picker.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
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 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
scanline.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
scanline.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
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 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00