skia2/include
scroggo@google.com 2bbc2c945b Add an option to create unpremultiplied bitmaps.
Currently they cannot be used directly by Skia, but
the pixels can be used elsewhere.

SkImageDecoder:
Add functions to require unpremultiplied output
and query the presence of the requirement

SkImageDecoder_libpng:
SkImageDecoder_libwebp:
SkImageDecoder_WIC:
Respect the requirement for unpremultiplied output.
TODO: Fix SkImageDecoder_CG.

SkScaledBitmapSampler:
Add procs to skip premultiplication and a boolean
parameter to use those procs.

ImageDecodingTest:
Test unpremultiplied bitmap decoding.

SampleUnpremul:
Add a sample which allows visually comparing between the
unpremultiplied version (copied into a premultiplied bitmap,
since drawing unpremultiplied is not currently supported)
and a premultiplied version of image files.

gm.h:
Add a getter for the resource path, so Samples can use it.

As of patch set 13, https://codereview.chromium.org/16816016/
and https://codereview.chromium.org/16983004/, which were
approved separately.

R=reed@google.com

Review URL: https://codereview.chromium.org/16410009

git-svn-id: http://skia.googlecode.com/svn/trunk@9612 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-14 15:33:20 +00:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
config Re-enable inst counting in debug builds. 2013-01-15 20:37:04 +00:00
core Add an option to create unpremultiplied bitmaps. 2013-06-14 15:33:20 +00:00
device/xps XPS ttc handling. 2013-05-07 15:28:15 +00:00
effects Implement SkXfermode image filter. This required changing the signature of SkXfermode::asNewEffectOrCoeffs(), to add an optional background texture. 2013-05-31 17:49:12 +00:00
gpu Replace fixed-size array of effect stages in GrDrawState with two appendable arrays, one for color, one for coverage. 2013-06-13 19:34:18 +00:00
images Separate core and images project. 2013-05-31 14:00:10 +00:00
lazy Improvements/additions to SkImageCache/SkLazyPixelRef. 2013-03-18 21:37:39 +00:00
pathops Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-27 07:02:53 +00:00
pdf Remove SK_API, from SkTSet. the template is not public. 2013-05-31 18:04:20 +00:00
pipe Fixes for piping bitmaps with encoded data. 2013-04-30 02:32:41 +00:00
ports Android specific changes that are upstreamed from the android framework. 2013-05-24 20:31:57 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
text Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils add script to scrape glyph usage in drawText calls 2013-05-30 18:55:14 +00:00
views add validate to SkView for debugging 2013-06-13 20:20:17 +00:00
xml Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00