Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de43e5f1 authored by Shai Barack's avatar Shai Barack
Browse files

Make writing Bitmap to ashmem faster

Write to memfd instead.
Avoid mmap+memcpy+munmap.

See b/407422742 for rationale, research, and benchmark results.

Bug: 407422742
Flag: com.android.graphics.hwui.flags.bitmap_use_memfd
Test: BitmapPerfTest
Change-Id: I64c6850721004f3f6ec71964169230f8c9828e16
parent d6941c1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment