summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/13/changes.html
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2014-06-04 18:51:07 -0400
committerLeon Scroggins III <scroggo@google.com>2014-07-01 14:05:37 -0400
commit57ee620ced8caed1eb8651717f6a6d2d5f1f9a5b (patch)
treefd78b4efc23fdcb2c6c1b4c762bef7b0d6fbc088 /docs/html/sdk/api_diff/13/changes.html
parent8949bfb90c415629dbd0e30d25003fb3e0375fb5 (diff)
Read premultiplied status from the SkBitmap.
Replace the Java variable with mRequestPremultiplied, to better reflect what it represents. In both native and Java, the SkBitmap is used as the decision maker of whether a Bitmap is premultiplied. When changing other settings, mRequestedPremultiplied is used to determine whether it should be premultiplied (if the new config/ hasAlpha-ness etc supports it). ChooseFromColorProc now reads both the colortype (instead of the deprecated Config) and alphatype on the SkBitmap. Same with ChooseToColorProc. In the process, this caught a bug, where the wrong procs were being used for Index8. Replace instances of SkBitmap::Config with SkColorType where I was already changing code. Use the new versions of setConfig/allocPixels that take an SkImageInfo as a parameter. Document isPremultiplied's return value for ALPHA_8. BUG:13618134 Change-Id: I91fc1f1e46e9294364b1af0ab4bdb37c68d7058e
Diffstat (limited to 'docs/html/sdk/api_diff/13/changes.html')
0 files changed, 0 insertions, 0 deletions