Reland "Implement AndroidBitmap_getDataSpace"
Originally reviewed in Ie05a45da32b2fd670abdae35626cd6548cfb102c (and reverted in I0b06312f6583f766512cc771a35d3d735debcce1) Bug: 135133301 Test: I7a5fcb726fba0c832bbb86a424d7534a7cfa35b6 This supplements AndroidBitmap_getInfo, allowing NDK clients to know how to interpret the colors in an android.graphics.Bitmap. Only build android_bitmap.cpp on Android so that it can rely on libnativewindow (which is Android-only) for data_space.h Change-Id: I4b23c68c7e62ed733e95af6f76c47fecbc2c5747
Loading
Please register or sign in to comment