Go to file
Matt Sarett 19aff5dd5c 565 codec color xform support: fix colortable / incomplete image behavior
This fixes a bug that was exposed when I added color space
support for 565 decodes.

Before this CL, we would sometimes fill incomplete images with
R and B swapped.

This fixes that issue.  Part of the fix is the decision to do 565
xforms when building the color table (then just swizzle to 565),
rather than do them per pixel after swizzling.

Bug: skia:
Change-Id: I09e1ec75aba09a4e288015ea746465d0c3f7d59f
Reviewed-on: https://skia-review.googlesource.com/11137
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
2017-04-04 15:22:04 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Finish up mip opts: 2x3 and 3x2 2017-04-04 13:52:33 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
example Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
experimental Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
fuzz Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
gm Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
gn Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
include Fully remove coord transform precision code 2017-04-04 13:19:18 +00:00
infra [cleanup] rename var in perf script to match sktest script 2017-04-03 19:35:42 +00:00
platform_tools One-liner fix that allows Viewer to switch between Raster and OpenGL 2017-02-23 22:33:36 +00:00
resources Set a limit on the size for BMP images 2017-02-24 21:25:44 +00:00
samplecode Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
site Update instructions on Skia/Chromium multi try. 2017-03-30 15:59:50 +00:00
src 565 codec color xform support: fix colortable / incomplete image behavior 2017-04-04 15:22:04 +00:00
tests Store the dst texture used by an XP in GrPipeline rather than in the XP. 2017-04-03 21:35:47 +00:00
third_party Turn on x86-specific code when building zlib. 2017-03-23 13:36:31 +00:00
tools Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn skslc can now be compiled with no Skia dependencies, in preparation for its eventual 2017-03-31 18:49:51 +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 Update build tools to newer gn. 2017-03-17 17:38:58 +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
PRESUBMIT.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
public.bzl remove flag to see if its used in g3 2017-04-03 23:31:03 +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 Marker for driver update on Win10 Golo GT610 2017-03-29 14:07:18 +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.