skia2/gyp
scroggo 05245900bf Add scanline decoding to SkCodec.
Add an interface for decoding scanlines, and implement that interface
in the PNG decoder.

Use a separate method to determine whether an image that used a type
with alpha was actually opaque.

SkScanlineDecoder.h:
New interface for decoding scanlines.

SkCodec.h:
Add getScanlineDecoder.
Add a virtual function (with non-virtual caller) for determining
whether the image truly had alpha. The client can call this to
determine if the image was actually opaque if it reported having alpha.
Remove code to sneakily change the passed in alpha type.

SkCodec_libpng.*:
Split up code onGetPixels into helper functions that can be shared with
the scanline decoder.
Implement scanline decoding.
Implement onReallyHasAlpha.

SkSwizzler.*:
Add a new SrcConfig as a default, which is invalid.
Add a function for setting fDstRow directly.
Assert fDstRow is not NULL.

BUG=skia:3257

Review URL: https://codereview.chromium.org/1010903003
2015-03-25 11:11:52 -07:00
..
android_deps.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
android_framework_lib.gyp Make android framework depend on SkCodec. 2015-03-20 11:20:03 -07:00
android_output.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
android_system.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
angle.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
animator.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
apptype_console.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
bench.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
bench.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
canvas_state_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
chromeos_deps.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
codec.gyp Add scanline decoding to SkCodec. 2015-03-25 11:11:52 -07:00
common_conditions.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
common_variables.gypi Clean up poppler code. 2015-03-11 11:55:14 -07:00
common.gypi flip stroke to chrome compatible define 2015-02-24 06:02:06 -08:00
core.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
core.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
debugger.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
dm.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
dm.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
effects.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
effects.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
etc1.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
everything.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
example.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
experimental.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
FileReaderApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
flags.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
freetype.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
freetype.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
giflib.gyp Sanitizing source files in Housekeeper-Nightly 2014-02-25 03:05:18 +00:00
gmslides.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
gpu.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
gpu.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
gputest.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
images.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
iOSShell.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
jsoncpp.gyp Roll jsoncpp, drop dependency on Chromium overrides. 2014-08-19 07:21:00 -07:00
ktx.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
libjpeg.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
libpng.gyp Add SkCodec, including PNG implementation. 2015-03-03 08:59:20 -08:00
libwebp.gyp Build in C++11 mode on Macs. 2015-02-03 13:24:36 -08:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
most.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
nacl.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
nanomsg.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
opts.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
opts.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pathops_skpclip.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pathops_unittest.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pathops_unittest.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pathops.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pdf.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pdf.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pdfviewer_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pdfviewer.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
ports.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
SampleApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
sfnt.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
SimpleCocoaApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
SimpleiOSApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skflate.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_for_android_framework_defines.gypi remove unneeded flags 2015-03-16 13:55:48 -07:00
skia_for_chromium_defines.gypi Option for SkCodec to treat dst as all zeroes. 2015-03-17 05:02:17 -07:00
skia_launcher.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
svg.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
tests.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
tools.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
utils.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
utils.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
v8.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views_animated.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xml.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xps.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
zlib.gyp Revert of For consistency, use our homebrew zlib everywhere possible. (patchset #6 id:100001 of https://codereview.chromium.org/971673005/) 2015-03-07 07:47:51 -08:00