Go to file
Leon Scroggins III 179559fe35 Fix decoding RAW images to 565
Bug: skia:8473

Follow-on to 96765960dc.

In SkRawCodec, call select_xform_format (in SkCodec.cpp, now shared
via SkCodecPriv.h) to determine the destination skcms_PixelFormat
for the color transform. This switches kRGB_565_SkColorType decodes
from skcms_PixelFormat_RGB_565 to skcms_PixelFormat_BGR_565, which
fixes some broken images in Gold.

Change-Id: I38eebc06610c7ec8898453ae7a9df7e1ed04efa6
Reviewed-on: https://skia-review.googlesource.com/c/175992
Commit-Queue: Leon Scroggins <scroggo@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-12-10 18:04:48 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench add bench to time relative gain for convexity 2018-12-07 19:02:50 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
docker Convert skottie's cloud build to use CanvasKit 2018-11-10 12:06:32 +00:00
docs fix bookmaker nightly 2018-12-10 15:20:07 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [canvaskit] Refactor with getTotalMatrix 2018-12-07 18:59:54 +00:00
fuzz clean up conditional code for SkTextEncoding 2018-12-05 17:42:33 +00:00
gm hide non-blob versions of getTextIntercepts 2018-12-07 12:59:12 +00:00
gn Fix PATH and EXE quoting for Windows ARM64 builds 2018-12-10 15:54:18 +00:00
include Reland "Add clamp to border wrap mode to gpu" 2018-12-10 16:59:37 +00:00
infra roll clang_win 2018-12-10 15:49:23 +00:00
modules use SkFont more 2018-12-07 22:10:39 +00:00
platform_tools SkQP: refatctor C++ bits. 2018-11-30 18:38:00 +00:00
resources [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
samplecode Move Arc sample to onOnceBeforeDraw. 2018-12-05 05:17:40 +00:00
site Add minimal documentation about Windows on ARM64 2018-12-10 17:07:56 +00:00
src Fix decoding RAW images to 565 2018-12-10 18:04:48 +00:00
tests Revert "Fix performance regresion on Mali, while preserving sk_FragCoord.w" 2018-12-10 15:33:17 +00:00
third_party Update ICU (and sfntly) to latest version (as used by Chromium) 2018-12-07 19:19:40 +00:00
tools Disable OpenGL for Windows-on-ARM64 2018-12-10 15:59:14 +00:00
.clang-format clean up flattenable macro cruft 2018-10-19 16:18:32 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS [canvaskit] Exposed SkPath::arc. Exposed SkEncodedImageFormat enum. Exposed SkImage::encodeToData overload with arguments 2018-11-15 02:52:02 +00:00
BUILD.gn Disable skiaserve target for Windows ARM64 2018-12-10 17:28:46 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS roll up to "msvc != x86" 2018-12-10 13:59:15 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Remove usage of EnsureCQIncludeTrybotsAreAdded 2018-11-12 19:35:42 +00:00
public.bzl Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.