Loading libs/hwui/aconfig/hwui_flags.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -176,13 +176,6 @@ flag { is_fixed_read_only: true } flag { name: "bitmap_parcel_ashmem_as_immutable" namespace: "system_performance" description: "Whether to parcel implicit copies of bitmaps to ashmem as immutable" bug: "400807118" } flag { name: "bitmap_use_memfd" namespace: "system_performance" Loading libs/hwui/jni/Bitmap.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -987,10 +987,6 @@ static bool shouldParcelAsMutable(SkBitmap& bitmap, AParcel* parcel) { return false; } if (!com::android::graphics::hwui::flags::bitmap_parcel_ashmem_as_immutable()) { return true; } // If we're going to copy the bitmap to ashmem and write that to the parcel, // then parcel as immutable, since we won't be mutating the bitmap after // writing it to the parcel. Loading Loading
libs/hwui/aconfig/hwui_flags.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -176,13 +176,6 @@ flag { is_fixed_read_only: true } flag { name: "bitmap_parcel_ashmem_as_immutable" namespace: "system_performance" description: "Whether to parcel implicit copies of bitmaps to ashmem as immutable" bug: "400807118" } flag { name: "bitmap_use_memfd" namespace: "system_performance" Loading
libs/hwui/jni/Bitmap.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -987,10 +987,6 @@ static bool shouldParcelAsMutable(SkBitmap& bitmap, AParcel* parcel) { return false; } if (!com::android::graphics::hwui::flags::bitmap_parcel_ashmem_as_immutable()) { return true; } // If we're going to copy the bitmap to ashmem and write that to the parcel, // then parcel as immutable, since we won't be mutating the bitmap after // writing it to the parcel. Loading