History log of /external/skia/include/codec/SkAndroidCodec.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7b5e5536a18123f568afca99dc8f89019eab2c77 04-Feb-2016 scroggo <scroggo@google.com> Add SkAndroidCodec::getPixels

This is a synonym for the version of getAndroidPixels that accepts
only three parameters (i.e. no AndroidOptions). It is very similar
to SkCodec::getPixels, so I think the motivation for naming the
version with options differently does not apply here.

Add comments to the header describing defaults.

Update the test to use a template, and delete a lot of redundant code.

Rename a variable to stop shadowing another variable.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1647153002

Review URL: https://codereview.chromium.org/1647153002
/external/skia/include/codec/SkAndroidCodec.h
a4970dc973459d2607ce80623452bf8470adf6f1 11-Jan-2016 msarett <msarett@google.com> Delete reallyHasAlpha() from SkCodec

TBR=reed
BUG=skia:3582
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1557403002

Review URL: https://codereview.chromium.org/1557403002
/external/skia/include/codec/SkAndroidCodec.h
9a0e3467da2a61ec81f676c147c21c77de91fccf 11-Dec-2015 msarett <msarett@google.com> Make BitmapRegionDecoder succeed on invalid requests

If the client requests a color type or alpha type that is
not supported, we should decode to the default/appropriate
color and alpha types to match existing behavior in Android.

BUG=skia:

Review URL: https://codereview.chromium.org/1513023002
/external/skia/include/codec/SkAndroidCodec.h
90c4d5fec8a9455729b401fd7818bea221dcada2 10-Dec-2015 msarett <msarett@google.com> Add reallyHasAlpha() to SkAndroidCodec

This also modified the default implementation
of onReallyHasAlpha() in SkCodec.

BUG=skia:

Review URL: https://codereview.chromium.org/1518743002
/external/skia/include/codec/SkAndroidCodec.h
7d5105c4d2a9be7ef9ddba646471c35d4c966d97 02-Dec-2015 msarett <msarett@google.com> Allow SkAndroidCodec to use SkPngChunkReader

Also update documentation of SkPngChunkReader
in SkCodec.

BUG=skia:

Review URL: https://codereview.chromium.org/1487583003
/external/skia/include/codec/SkAndroidCodec.h
e95a06883b6d9972ea58c4e16f772bb88af393e9 04-Nov-2015 scroggo <scroggo@chromium.org> Make AndroidOptions const

Make the struct passed to SkAndroidCodec::getAndroidPixels const. This
matches SkCodec, and makes sense, since it is not used as an output.

Brought up in crrev.com/1417583009

Review URL: https://codereview.chromium.org/1411693005
/external/skia/include/codec/SkAndroidCodec.h
3d9d7a7213748761d46ade183e11aa7cb55313c1 21-Oct-2015 msarett <msarett@google.com> Create an SkAndroidCodec API separate from SkCodec

We will implement this API using SkCodecs.

SkAndroidCodecs will be used to implement the
BitmapRegionDecoder Java API (and possibly
BitmapFactory).

BUG=skia:

Review URL: https://codereview.chromium.org/1406223002
/external/skia/include/codec/SkAndroidCodec.h