History log of /external/skia/src/core/SkImageCacherator.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
05dd251e5e135626d170b9e77eb64729bd482169 05-Jan-2016 reed <reed@google.com> take gr-context parameter to refEncoded, indicating a desire for only gpu-specific formats

Prime motivator:
- we always call refEncoded on the generator when trying to upload
- we call it *before* we ask for raster or YUV
- for blink, this call can be very slow, as they have to cons-up their SkData the first time (and grab a mutex to do it)
- this parameter will indicate to them that we're only interested in gpu formats, which they will know if they have.

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

Review URL: https://codereview.chromium.org/1556333004
/external/skia/src/core/SkImageCacherator.h
1cf6f9b6b51bcf09d93142ba40d6c331c21f50a6 08-Dec-2015 bsalomon <bsalomon@google.com> Stop wrapping images backed by generators as bitmaps in SkGpuDevice (except when tiling)

Review URL: https://codereview.chromium.org/1510903002
/external/skia/src/core/SkImageCacherator.h
6868c3fccf65d297a64919a7cb74f09780c845c3 24-Nov-2015 reed <reed@google.com> optimize the disable-caching case for SkImage::readPixels

If the client wants no caching, and we haven't already cached it, pass the
caller's dst-buffer directly down to the generator, avoiding the (previous)
extra memcpy.

BUG=skia:4594

Review URL: https://codereview.chromium.org/1473373002
/external/skia/src/core/SkImageCacherator.h
095530389d8211895309107a4f74beefacce638c 23-Nov-2015 reed <reed@google.com> scaling API on SkPixmap

BUG=skia:4481

Review URL: https://codereview.chromium.org/1463373002
/external/skia/src/core/SkImageCacherator.h
89fe56bb98de55c7bd2b547c875b74a98bd5a1ca 29-Oct-2015 bsalomon <bsalomon@google.com> Pull texture-backed bitmap resampler out of GrTextureParamsAdjuster code into its own class.

Review URL: https://codereview.chromium.org/1420963008
/external/skia/src/core/SkImageCacherator.h
045802dbb7202b52f5fd2758d725f39c156a6165 20-Oct-2015 bsalomon <bsalomon@google.com> Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.

Committed: https://skia.googlesource.com/skia/+/fcffaf22d697f06f903c3193308f9dc54a959f79

Committed: https://skia.googlesource.com/skia/+/1a197ea31e0aac7ea312e9a6c0d9f5df626b0350

Review URL: https://codereview.chromium.org/1409163002
/external/skia/src/core/SkImageCacherator.h
bc0bcc08b390e430f66710ddfbc47da39ab841d9 19-Oct-2015 Brian Salomon <bsalomon@google.com> Revert recent CLs around GrTextureMaker/GrTextureParamsAdjuster

Review URL: https://codereview.chromium.org/1411353002 .
/external/skia/src/core/SkImageCacherator.h
1a197ea31e0aac7ea312e9a6c0d9f5df626b0350 19-Oct-2015 bsalomon <bsalomon@google.com> Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.

Committed: https://skia.googlesource.com/skia/+/fcffaf22d697f06f903c3193308f9dc54a959f79

Review URL: https://codereview.chromium.org/1409163002
/external/skia/src/core/SkImageCacherator.h
91957941ce2fe9457babe7f83514e4599089d411 16-Oct-2015 egdaniel <egdaniel@google.com> Revert of Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what… (patchset #4 id:60001 of https://codereview.chromium.org/1409163002/ )

Reason for revert:
breaking nanobench

Original issue's description:
> Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.
>
> Committed: https://skia.googlesource.com/skia/+/fcffaf22d697f06f903c3193308f9dc54a959f79

TBR=reed@google.com,bsalomon@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1409923003
/external/skia/src/core/SkImageCacherator.h
fcffaf22d697f06f903c3193308f9dc54a959f79 16-Oct-2015 bsalomon <bsalomon@google.com> Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.

Review URL: https://codereview.chromium.org/1409163002
/external/skia/src/core/SkImageCacherator.h
5f5527fb46664297fbeb575033886a757eb44147 15-Oct-2015 bsalomon <bsalomon@google.com> Remove params from Cacherator_GrTextureMaker

Review URL: https://codereview.chromium.org/1403313003
/external/skia/src/core/SkImageCacherator.h
afa95e270c64c9777647b6c58b796750ced57c39 12-Oct-2015 bsalomon <bsalomon@google.com> Remove image usage type enum. Use GrTextureParams instead.

BUG=skia:

Review URL: https://codereview.chromium.org/1404433002
/external/skia/src/core/SkImageCacherator.h
856e9d921462136da8562f8f122d42e114cd4710 30-Sep-2015 reed <reed@google.com> Revert[4] of add ImageShader, sharing code with its Bitmap cousin

Now with GrTextureMaker subclasses to handle npot usage.

This reverts commit 476506d070dbc59b158acc1a00c34bff95ab2968.

BUG=skia:

Review URL: https://codereview.chromium.org/1370223002
/external/skia/src/core/SkImageCacherator.h
3b0d532df72db806c255cad98538fcbb4d9678a8 18-Sep-2015 fmalita <fmalita@chromium.org> Purge cached resources on SkImage destruction.

BUG=532981
R=reed@google.com,mtklein@google.com

Review URL: https://codereview.chromium.org/1352883004
/external/skia/src/core/SkImageCacherator.h
96fcdcc219d2a0d3579719b84b28bede76efba64 27-Aug-2015 halcanary <halcanary@google.com> Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002

Review URL: https://codereview.chromium.org/1316233002
/external/skia/src/core/SkImageCacherator.h
d5c448fd857a77a375886bc1a8da83a7f1bf32fe 26-Aug-2015 reed <reed@google.com> make cacherator thread-safe

hoisted from https://codereview.chromium.org/1282363002 as that CL is going to take a while to finish

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/1313423002
/external/skia/src/core/SkImageCacherator.h
935d6cfaa78b6be75c9fcc596805f0f9b8da972e 18-Aug-2015 reed <reed@google.com> Add subsets to SkImageGenerator and SkImageCacherator
... to support subsets in SkImage!

BUG=skia:

Review URL: https://codereview.chromium.org/1301633002
/external/skia/src/core/SkImageCacherator.h
8f4fe37b1cb7c98577d76e7004f35929664e251e 13-Aug-2015 reed <reed@google.com> some catchup CL revisions

BUG=skia:

Review URL: https://codereview.chromium.org/1295593002
/external/skia/src/core/SkImageCacherator.h
8f34372f7e97482e5e61ab298b7edaa008ba2f4c 13-Aug-2015 reed <reed@google.com> Extend SkImageGenerator to support natively generated GrTextures. As part of this, added uniqueID() to the generator, and made it be in the same namespace is bitmaps, pixelrefs, images.

To do this, create SkImageCacherator, which wraps a generator and provides an
interface to get a cached answer for either the raster or texture output of
the generator.

BUG=skia:

Review URL: https://codereview.chromium.org/1291803002
/external/skia/src/core/SkImageCacherator.h