summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsic.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-03-13 15:39:39 -0400
committerLeon Scroggins III <scroggo@google.com>2018-03-13 15:39:39 -0400
commitce89a6e656a4d4d2c0e724c485e109cd6bc60997 (patch)
tree1a25ec0ffd184a91f059aee6f549f0edfb2869da /rs/java/android/renderscript/ScriptIntrinsic.java
parent15e91e6f3a1ef044f3489bbaf34156b78a22d563 (diff)
Work around incorrect Skia gamma
Bug: 74408046 Test: Ic6acdc4a1a16840ec6ad9b13b4926c643d0f81ae Skia incorrectly sets the gamma for LINEAR_EXTENDED_SRGB to 0 as a misguided optimization attempt. As a result, a HARDWARE Bitmap which natively has this color space does not match it properly. (Note that we already catch an F16 Bitmap, above.) Add a workaround in Bitmap.getColorSpace() to check for the color space explicitly. Change-Id: Id595e365d1c8d572cfcea214d230a8ce1decdc01
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsic.java')
0 files changed, 0 insertions, 0 deletions