skia2/include/core
Mike Reed d07e4a226a Change behavior of custom image serial/deserial
New behavior is to *always* call the client's deserial image proc for all data.
This allows the client to make decisions even on "std" image data like PNG.

The change also means that if there is no client deserial image proc, Skia will
still attempt to create an image from the data, even if it was written by a
custom serial proc.

Bug: skia:7706
Change-Id: Ia58bdd10b86d497f02187082c6373c029e9c8293
Reviewed-on: https://skia-review.googlesource.com/113302
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-03-08 21:50:51 +00:00
..
SkAnnotation.h remove unneeded flag for annotations 2016-03-05 06:00:12 -08:00
SkBBHFactory.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
SkBitmap.h updated includes 2018-02-27 16:37:39 +00:00
SkBlendMode.h move SkBlendMode_Name into public (for chrome) 2016-11-16 19:17:21 +00:00
SkBlurTypes.h move common blur types into central header 2014-04-28 16:25:35 +00:00
SkCanvas.h remove canvas internal private 2018-03-06 19:06:16 +00:00
SkClipOp.h add flag to hide deprecated clipops 2017-05-10 18:56:14 +00:00
SkColor.h Make SkASSERT and co. constexpr compatible. 2017-09-29 13:49:04 +00:00
SkColorFilter.h hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
SkColorPriv.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
SkColorSpace.h Remove more functionality from SkColorSpace_Base 2017-12-21 21:01:35 +00:00
SkColorSpaceXform.h Cleaning up SkColorSpaceXform a bit 2018-03-06 20:01:51 +00:00
SkColorSpaceXformCanvas.h Make xformer class for SkCSXCanvas, use for draw loopers 2017-03-30 18:02:58 +00:00
SkCoverageMode.h fix symbol for intersection 2018-02-06 02:40:16 +00:00
SkData.h Class delete call unsized delete when size not known. 2016-10-19 21:41:00 +00:00
SkDataTable.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkDeferredDisplayListRecorder.h Add SkSurfaceCharacterization::createResized 2018-03-06 19:08:46 +00:00
SkDeque.h This CL addresses "SkCanvas::save flags are not respected by GPU backend" (https://code.google.com/p/skia/issues/detail?id=1503). 2013-08-16 00:53:34 +00:00
SkDocument.h SkDocument: remove unused fDoneProc 2018-01-08 20:53:41 +00:00
SkDrawable.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
SkDrawFilter.h SkPaintFilterCanvas cleanup 2016-01-12 12:14:10 -08:00
SkDrawLooper.h Make xformer class for SkCSXCanvas, use for draw loopers 2017-03-30 18:02:58 +00:00
SkEncodedImageFormat.h GOOGLE3 -> SK_BUILD_FOR_GOOGLE3 2017-12-19 14:42:16 +00:00
SkExecutor.h Add FIFO thread pool, use it for most things. 2017-09-01 16:19:47 +00:00
SkFilterQuality.h Skia Filter Quality and Scaling Metrics 2016-04-18 09:14:00 -07:00
SkFlattenable.h remove unused SkRasterizer 2018-01-21 18:24:11 +00:00
SkFont.h typedef uint16_t SkGlyphID 2016-07-25 07:18:12 -07:00
SkFontArguments.h Add SkTypeface::getVariationDesignPosition. 2017-02-24 16:59:05 +00:00
SkFontLCDConfig.h Add SK_API to SkFontLCDConfig. 2016-05-03 11:56:03 -07:00
SkFontStyle.h Make SkTypeface::Style and FromOldStyle private. 2017-10-13 15:49:18 +00:00
SkGraphics.h add API to change max pointsize for font cache 2017-06-01 20:55:16 +00:00
SkICC.h Improve comment in SkICC.h 2017-02-24 20:35:57 +00:00
SkImage.h updated includes 2018-02-27 16:37:39 +00:00
SkImageEncoder.h centralize encoding to SkData 2017-12-09 01:36:48 +00:00
SkImageFilter.h don't draw non-finite contexts in imagefilters 2018-01-30 02:02:42 +00:00
SkImageGenerator.h Add api for passing mipped hint into ImageGenerator onGenerateTexture 2017-10-11 17:11:07 +00:00
SkImageInfo.h make SkDestinationSurfaceColorMode private 2018-02-28 20:31:33 +00:00
SkMallocPixelRef.h removed dead colortable code 2017-07-19 22:20:57 +00:00
SkMaskFilter.h add maskfilter+localmatrix to fix savelayer 2018-02-06 21:39:45 +00:00
SkMath.h SkLiteDL: remove freelisting, add reset() and SKLITEDL_PAGE knob. 2016-08-16 09:36:18 -07:00
SkMatrix44.h Suppress float-cast-overflow for double-to-float in SkMatrix{,44} 2017-09-18 17:23:39 +00:00
SkMatrix.h updated includes 2018-02-27 16:37:39 +00:00
SkMetaData.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkMilestone.h Update Skia milestone to 67 2018-03-06 15:31:49 +00:00
SkMultiPictureDraw.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkOverdrawCanvas.h Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
SkPaint.h updated includes 2018-02-27 16:37:39 +00:00
SkPath.h updated includes 2018-02-27 16:37:39 +00:00
SkPathEffect.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkPathMeasure.h Move seg_to to a new header, define SkSegType enum there 2016-08-09 09:38:30 -07:00
SkPicture.h Change behavior of custom image serial/deserial 2018-03-08 21:50:51 +00:00
SkPictureRecorder.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkPixelRef.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkPixmap.h updated includes 2018-02-27 16:37:39 +00:00
SkPngChunkReader.h Delete SkImageDecoder 2016-03-24 10:41:47 -07:00
SkPoint3.h Add some additional checks for shadow generation 2018-02-26 20:02:38 +00:00
SkPoint.h updated includes 2018-02-27 16:37:39 +00:00
SkPostConfig.h eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
SkPreConfig.h eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
SkRasterHandleAllocator.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
SkRect.h updated includes 2018-02-27 16:37:39 +00:00
SkRefCnt.h hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
SkRegion.h fix crasher in path-->region 2018-02-27 21:03:49 +00:00
SkRRect.h move some RRect methods into priv 2018-02-22 19:09:10 +00:00
SkRSXform.h Revert "Revert "Make GPU backend triangulate rects such that they are rendered as tri strips rather than tri fans."" 2017-10-18 12:21:17 +00:00
SkRWBuffer.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
SkScalar.h begin to wrap all float divides 2018-02-12 19:04:19 +00:00
SkSerialProcs.h Change behavior of custom image serial/deserial 2018-03-08 21:50:51 +00:00
SkShader.h add decal tilemode to shaders 2018-02-16 23:19:47 +00:00
SkSize.h SkSize can be aggregate-initialized 2017-04-11 18:57:20 +00:00
SkStream.h remove dead code for STREAM_API 2017-09-20 20:43:50 +00:00
SkString.h SkString: remove externally unused ::setUTF16() from API 2018-03-01 22:16:34 +00:00
SkStrokeRec.h Unify implementations of stroking radius calculationsns 2016-04-29 07:07:03 -07:00
SkSurface.h updated includes 2018-02-27 16:37:39 +00:00
SkSurfaceCharacterization.h Add SkSurfaceCharacterization::createResized 2018-03-06 19:08:46 +00:00
SkSurfaceProps.h Flesh out SkSurfaceCharacterization 2017-11-30 17:10:38 +00:00
SkSwizzle.h Add missing SK_API to SkSwizzle.h 2016-03-24 07:50:14 -07:00
SkTextBlob.h simple version of serialization for SkTextBlob 2017-12-19 22:34:56 +00:00
SkTime.h Make SkTime SK_API so that SkTime::GetDateTime() is visible to the clients. 2016-05-02 15:04:46 -07:00
SkTLazy.h Update SkTLazy for move only types. 2017-11-28 22:13:47 +00:00
SkTraceMemoryDump.h Add support for light dumps in SkTraceMemoryDump interface. 2015-09-30 04:31:23 -07:00
SkTypeface.h Add GetTypefaceOrDefault to SkPaintPriv 2018-03-06 15:50:26 +00:00
SkTypes.h add saturate helper for float2int64 2018-01-31 21:21:36 +00:00
SkUnPreMultiply.h Factor out UnPreMultiplyPreservingByteOrder 2014-01-15 22:24:58 +00:00
SkVertices.h check for valid vertices mode 2018-01-23 18:28:47 +00:00
SkYUVSizeInfo.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00