| commit | 1ad2692ed7a9b2eeabfb20f11f880bddcd6697cd | [log] [tgz] |
|---|---|---|
| author | Alec Mouri <alecmouri@google.com> | Mon Jul 14 14:15:00 2025 +0000 |
| committer | Alec Mouri <alecmouri@google.com> | Mon Jul 14 14:25:45 2025 +0000 |
| tree | 4bd736f8061c117b9db5fd42470c323cec51baa1 | |
| parent | 42ffb06b517eda8ad0d6177c8f82f97409249994 [diff] |
Always use ABitmap_compressWithGainmap in screencap AndroidBitmap_compress() calls into ABitmap_compressWithGainmap anyways, but has additional checks to ban private bitmap formats from the NDK. But we still want to enable 10-bit BGRA. Bug: 431746508 Flag: com.android.graphics.surfaceflinger.flags.readback_screenshot Test: adb screencap --preserve-display-colors Change-Id: I278eb237da40620234e441f2aaf8c48d580f55b9