Go to file
scroggo ab60c5bd9f Support decoding PNG to 565.
Although we initially discussed not supporting 565, SkCodec needs to
support Android's BitmapFactory and BitmapRegionDecoder, which need to
support 565.

We could instead implement 565 on top of SkCodec, but this would require
more memory and run more slowly.

An open question is whether to support dithering, and how. In order to
support dithering, we need to pass y to RowProc, which I believe means
we will need to pass y to SkSwizzler::swizzle().

I dislike having an option which is typically ignored - SkImageDecoder
allows you to turn on dithering when decoding to any color type, but it
is only meaningful only if the output color type is 565.

We could also make the client implement dithering, which I believe would
mean forcing them to do the conversion to 565 (since we have already
thrown away data when we convered to 565 without dithering).

BUG=skia:3257

Review URL: https://codereview.chromium.org/1277593002
2015-08-06 06:08:18 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
bin Change to use mean and to use stderr. 2015-07-09 10:50:24 -07:00
debugger Fix no-gpu debugger. 2015-07-31 15:46:03 -07:00
dm Revert of Intentionally crash DM to make sure all bots are up-to-date. (patchset #1 id:1 of https://codereview.chromium.org/1274693002/ ) 2015-08-05 08:40:19 -07:00
example Propagate SkSurfaceProps to more call sites 2015-06-23 06:26:08 -07:00
experimental Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
gyp Detect MIPS DSP and DSPR2 programattically. 2015-08-05 14:17:32 -07:00
include IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
infra Build buckets: tryjob access 2015-07-30 10:32:27 -07:00
platform_tools Update Android Testing apps to support release mode 2015-07-31 10:25:17 -07:00
resources Scanline decoding for wbmp 2015-08-05 12:58:26 -07:00
samplecode simulate drawatlas 2015-08-06 05:14:11 -07:00
site Rephrase Windows gyp instructions 2015-08-05 16:18:03 -07:00
src Support decoding PNG to 565. 2015-08-06 06:08:18 -07:00
tests IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
third_party Reenable yasm for Android x86 and x86-64 on Linux host 2015-07-21 12:01:48 -07:00
tools Add tools/ubsan.supp. 2015-08-05 10:12:33 -04:00
.gitignore Update Android Apps to use gradle 2015-07-24 13:15:59 -07:00
AUTHORS Optimize RGB16 blitV functions with NEON for ARM platform. 2015-07-15 07:07:30 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Add benjaminwagner@ to CQ_COMMITTERS. 2015-06-08 10:22:34 -07:00
DEPS Skia: ANGLE Roll 2015-07-23 11:56:40 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Support SKIA_OUT on Mac and ChromeOS 2015-05-04 08:04:28 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
HASHTAGS Fix cr SKPs naming 2015-03-31 08:03:02 -07:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py Fix make.py: BUILDTYPE 2015-08-05 11:30:28 -04:00
Makefile Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py update presubmit to know about include/private 2015-07-28 08:54:12 -07: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
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2015-07-19 00:19:11 -07:00
whitespace.txt Whitespace change to test Gerrit ACLs 2015-08-04 14:23:48 -07:00

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

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