skia2/include/core
scroggo 3030445799 Revert of Replace EncodeBitmap with an interface. (patchset #12 id:210001 of https://codereview.chromium.org/784643002/)
Reason for revert:
Failing serialization tasks in DM:

http://build.chromium.org/p/client.skia/builders/Test-Win8-ShuttleA-GTX660-x86-Debug/builds/352/steps/dm/logs/stdio

Original issue's description:
> Replace EncodeBitmap with an interface.
>
> Gives more flexibility to the caller to decide whether to use the
> encoded data returned by refEncodedData().
>
> Provides an implementation that supports the old version of
> SkPicture::serialize().
>
> TODO: Update Chrome, so we can remove SK_LEGACY_ENCODE_BITMAP entirely
>
> BUG=skia:3190
>
> Committed: https://skia.googlesource.com/skia/+/0c4aba6edb9900c597359dfa49d3ce4a41bc5dd1
>
> Committed: https://skia.googlesource.com/skia/+/02b217f80b01a7dda8493422e5257c36a9ce8464

TBR=reed@google.com,rmistry@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:3190

Review URL: https://codereview.chromium.org/783393004
2014-12-09 08:27:37 -08:00
..
SkAdvancedTypefaceMetrics.h [PDF] Fix font embedding restrictions. 2014-06-19 11:05:39 -07:00
SkAnnotation.h Factory methods for heap-allocated SkAnnotation objects. 2014-02-27 11:47:36 +00:00
SkBBHFactory.h Allow pictures to have a full bounds 2014-11-19 08:04:34 -08:00
SkBitmap.h SkColorTable locking serves no purpose anymore. 2014-12-02 09:11:25 -08:00
SkBitmapDevice.h Change clear() to respect the clip 2014-12-04 07:50:14 -08:00
SkBlitRow.h replace config() with colorType() 2014-05-29 15:57:47 +00:00
SkBlurTypes.h move common blur types into central header 2014-04-28 16:25:35 +00:00
SkCanvas.h clear() is now an alias for drawPaint, so remove its virtual 2014-12-05 20:49:03 -08:00
SkChunkAlloc.h combine glyph and image bulk alloc, and adjust initial alloc size, to reduce total waste from 50% to 30% 2013-06-19 19:25:36 +00:00
SkClipStack.h Add dump() to SkClipStack to help with debugging. 2014-06-09 07:59:06 -07:00
SkColor.h SkAlpha constant defs 2013-07-19 17:43:27 +00:00
SkColorFilter.h Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. 2014-12-01 11:47:08 -08:00
SkColorPriv.h Address MSVC warnings about possible value truncation. In the process removes some apparently unused code. 2014-09-02 13:40:48 -07:00
SkColorTable.h Flail a little against LLVM crash. 2014-12-02 13:17:06 -08:00
SkComposeShader.h Add functions for inspecting SkShader. 2014-05-13 18:14:45 +00:00
SkData.h Stop overloading internal_dispose in SkTextBlob and SkData 2014-11-20 08:02:46 -08:00
SkDataTable.h Remove SkDataTable from SkFlattenable hierarchy. 2013-10-15 20:39:57 +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
SkDevice.h remove device::clear -- no longer called 2014-12-08 08:00:29 -08:00
SkDither.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkDocument.h SkDocument SK_API 2014-11-14 13:24:18 -08:00
SkDraw.h Revert of Revert of Fix SkTextBlob offset semantics. (patchset #1 id:1 of https://codereview.chromium.org/609223003/) 2014-09-29 06:29:53 -07:00
SkDrawFilter.h Add GPU support for roundrects 2013-04-25 15:27:00 +00:00
SkDrawLooper.h SkDrawLooper: No need for virtual bounds computation methods. 2014-12-01 13:03:22 -08:00
SkDrawPictureCallback.h Replace SkPictureReplacementPlayback with GrRecordReplaceDraw 2014-09-03 11:04:31 -07:00
SkDynamicAnnotations.h Force path bounds in recording. 2014-12-01 06:59:55 -08:00
SkEndian.h fix size_t/int warnings 2014-04-23 19:19:44 +00:00
SkError.h Sanitizing source files in Housekeeper-Nightly 2013-09-05 07:01:19 +00:00
SkFixed.h Switch SkBitmapProcState's SkFractionalInt to 32.32. 2014-11-21 12:10:33 -08:00
SkFlattenable.h Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. 2014-12-01 11:47:08 -08:00
SkFlattenableSerialization.h Removed unnecessary define 2013-11-08 15:24:12 +00:00
SkFloatBits.h remove unused SkIntToFloatCast_NoOverflowCheck 2014-08-19 07:39:41 -07:00
SkFloatingPoint.h add round/ceil/etc. for SkMScalar 2014-10-21 12:33:21 -07:00
SkFont.h Treat embedded bitmaps as a hinting method. 2014-08-19 13:18:58 -07:00
SkFontHost.h Remove a layer of indirection and code from SkFontHost. 2014-09-10 15:49:48 -07:00
SkFontLCDConfig.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-03-13 07:01:04 +00:00
SkFontStyle.h Replace SkTypeface::Style with SkFontStyle. 2014-10-20 13:33:19 -07:00
SkGraphics.h Cleanup: Remove unused InstallNewHandler() function from SkGraphics. 2014-11-05 07:20:51 -08:00
SkImage.h add SkImage::newSurface 2014-11-21 08:46:38 -08:00
SkImageDecoder.h Remove orphaned SkImageDecoder::Target. 2014-12-01 11:35:19 -08:00
SkImageEncoder.h ios fixes 2014-07-11 12:14:51 -07:00
SkImageFilter.h Disable LCD text explicitly in SkPictureImageFilter::onFilterImage() 2014-11-20 10:44:58 -08:00
SkImageGenerator.h remove obsolete code for SK_SUPPORT_LEGACY_IMAGEGENERATORAPI 2014-09-30 10:15:32 -07:00
SkImageInfo.h flag imageinfo as srgb 2014-11-10 08:57:21 -08:00
SkInstCnt.h Fix thread unsafe mutex initialization. 2014-07-25 11:52:48 -07:00
SkLazyPtr.h Add SkTypeface::getBounds() 2014-10-22 13:20:58 -07:00
SkMallocPixelRef.h remove SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE code 2014-07-14 09:21:31 -07:00
SkMask.h remove unused kLCD_MaskFormat 2014-11-13 14:39:58 -08:00
SkMaskFilter.h Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. 2014-12-01 11:47:08 -08:00
SkMath.h SK_CPU_ARM --> SK_CPU_ARM32 2014-06-03 12:07:31 -07:00
SkMatrix.h Force SkMatrix type while recording too. 2014-12-01 11:03:37 -08:00
SkMetaData.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
SkMultiPictureDraw.h SkTaskGroup::batch(fn, args, N) 2014-10-29 14:17:13 -07:00
SkOnce.h Clean up SkOnce: 2014-06-02 11:26:59 -07:00
SkOSFile.h Add option to dump images from nanobench. 2014-08-07 14:28:50 -07:00
SkPackBits.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkPaint.h Remove android specific genID from SkPaint. 2014-10-23 10:23:07 -07:00
SkPath.h Set temporary paths volatile so we don't cache them. 2014-10-24 07:12:51 -07:00
SkPathEffect.h Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. 2014-12-01 11:47:08 -08:00
SkPathMeasure.h add SK_API 2013-05-08 13:25:02 +00:00
SkPathRef.h Force path bounds in recording. 2014-12-01 06:59:55 -08:00
SkPicture.h Revert of Replace EncodeBitmap with an interface. (patchset #12 id:210001 of https://codereview.chromium.org/784643002/) 2014-12-09 08:27:37 -08:00
SkPictureRecorder.h free up picturerecorder refs after returning picture or drawable 2014-11-24 19:59:23 -08:00
SkPixelRef.h Add an Android-framework-only stable ID to SkPixelRef. 2014-11-25 13:42:12 -08:00
SkPoint.h optimize setRectFan and join -- from profiling drawText 2014-10-01 07:21:23 -07:00
SkPostConfig.h Don't use 'defined' in macro expansion. 2014-10-15 13:53:55 -07:00
SkPreConfig.h Remove copile time enabling of SK_ARM_HAS_NEON. 2014-08-01 09:21:19 -04:00
SkRasterizer.h Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. 2014-12-01 11:47:08 -08:00
SkRect.h add roundOut that returns its result 2014-11-19 05:03:18 -08:00
SkRefCnt.h Revert of Blink hasn't rolled yet, better. (patchset #1 id:1 of https://codereview.chromium.org/758693002/) 2014-11-25 07:30:19 -08:00
SkRegion.h Add dump() to SkClipStack to help with debugging. 2014-06-09 07:59:06 -07:00
SkRRect.h explicitly size fType in SkRRect, to ensure the are no uninitialized bytes 2014-10-22 11:23:56 -07:00
SkScalar.h Remove SK_SUPPORT_DEPRECATED_SCALARROUND. 2014-12-02 12:30:38 -08:00
SkShader.h Constify CreatePictureShader's picture arg. 2014-12-08 09:04:05 -08:00
SkSize.h deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients 2013-12-17 19:22:07 +00:00
SkStream.h Enable unused param checking for public includes. 2014-11-14 11:11:46 -08:00
SkString.h document the SkStrAppend methods 2014-11-07 07:37:33 -08:00
SkStrokeRec.h Add color emoji fallback for nvpr text 2014-12-01 08:38:55 -08:00
SkSurface.h Introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)" 2014-09-22 07:29:03 -07:00
SkSurfaceProps.h add SkImage::newSurface 2014-11-21 08:46:38 -08:00
SkTArray.h Enable unused param checking for public includes. 2014-11-14 11:11:46 -08:00
SkTDArray.h Remove debug-only fData from SKTDArray. 2014-11-19 09:41:27 -08:00
SkTDict.h move some headers out of public 2014-06-17 09:04:45 -07:00
SkTDStack.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkTemplates.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
SkTextBlob.h Stop overloading internal_dispose in SkTextBlob and SkData 2014-11-20 08:02:46 -08:00
SkThread.h Fix thread unsafe mutex initialization. 2014-07-25 11:52:48 -07:00
SkThreadPriv.h Add SkTypeface::getBounds() 2014-10-22 13:20:58 -07:00
SkTime.h Revert of Add nanosecond timer. (https://codereview.chromium.org/250243002/) 2014-04-24 20:17:24 +00:00
SkTInternalLList.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
SkTLazy.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
SkTRegistry.h Rewrite SkTRegistry to take any trivially-copyable type. 2013-09-04 17:20:18 +00:00
SkTSearch.h One SkTSearch to rule them all. Allow key to be of different type than the array. 2013-05-17 19:05:03 +00:00
SkTypeface.h Add SkTypeface::getBounds() 2014-10-22 13:20:58 -07:00
SkTypes.h Watch out for SkFixed overflow in SkMipMap.cpp. 2014-11-21 11:38:53 -08:00
SkUnPreMultiply.h Factor out UnPreMultiplyPreservingByteOrder 2014-01-15 22:24:58 +00:00
SkUtils.h SSE2 implementation of memcpy32 2014-05-21 12:43:07 +00:00
SkWeakRefCnt.h Revert "Remove ability for Release code to call getRefCnt() or getWeakRefCnt()." 2014-07-09 09:04:07 -04:00
SkWriteBuffer.h Revert of Replace EncodeBitmap with an interface. (patchset #12 id:210001 of https://codereview.chromium.org/784643002/) 2014-12-09 08:27:37 -08:00
SkWriter32.h SkCanvas::drawPatch param SkPoint[12] 2014-08-12 08:34:29 -07:00
SkXfermode.h Revert of Make all blending up to GrOptDrawState be handled by the xp/xp factory. (patchset #7 id:140001 of https://codereview.chromium.org/759713002/) 2014-12-08 13:26:43 -08:00