aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar Derek Sollenberger <djsollen@google.com>2014-07-08 08:23:31 -0400
committerGravatar Derek Sollenberger <djsollen@google.com>2014-07-08 08:23:31 -0400
commit56a6b6ba9dcb85700c0fd11c1d097e06dc9e1a6b (patch)
tree9bb5c5b0058df8da40c3c8f4747d395990b8c619 /platform_tools
parenta26bbb95a64c1507ba81d39b971f079f3f9c5646 (diff)
fix WBMP image will get null color table when draw in RGB565 Canvas
Symptom: draw Index8 to RGB565 will using SkColorTable::lock16BitCache and return a null array. Root Cause:lock16BitCache return null pointer because default type is kPremul_SkAlphaType Solution: WBMP color table should be kOpaque_SkAlphaType Reproduce steps: draw a WBMP with a matrix that apply rotate and transform This patch was proposed by arthur_hung at htc.com to the AOSP project. R=reed@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/377443007
Diffstat (limited to 'platform_tools')
0 files changed, 0 insertions, 0 deletions