Merge "Pass ColorSpace along with HardwareBuffers" into qt-dev

This commit is contained in:
Leon Scroggins
2019-05-02 15:15:02 +00:00
committed by Android (Google) Code Review
6 changed files with 35 additions and 7 deletions

View File

@@ -2197,8 +2197,12 @@ public final class Bitmap implements Parcelable {
}
/**
*
* @return {@link GraphicBuffer} which is internally used by hardware bitmap
*
* Note: the GraphicBuffer does *not* have an associated {@link ColorSpace}.
* To render this object the same as its rendered with this Bitmap, you
* should also call {@link getColorSpace}.
*
* @hide
*/
@UnsupportedAppUsage