skia2/include/core
Brian Osman b92234a321 Revert "Remove SkImage::MakeTextureFromPixmap"
This reverts commit 8ccbbb455c.

Reason for revert: Chrome perf regression

BUG=chrome:684483

Original change's description:
> Remove SkImage::MakeTextureFromPixmap
> 
> Another step towards reducing the number of texture upload paths.
> 
> BUG=skia:
> 
> Change-Id: Ica185e7334f52dc9ebf87e21fe6f60589ef87bb3
> Reviewed-on: https://skia-review.googlesource.com/7346
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> 

TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,cblume@google.com
# Not skipping CQ checks because original CL landed > 1 day ago.
BUG=skia:

Change-Id: I8bf6970b764018f3ebcac8123e4d6a8ad05317ff
Reviewed-on: https://skia-review.googlesource.com/7484
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2017-01-25 14:54:35 +00:00
..
SkAnnotation.h
SkBBHFactory.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
SkBitmap.h Minor Ganesh refFoo cleanup 2017-01-13 17:15:18 +00:00
SkBlendMode.h move SkBlendMode_Name into public (for chrome) 2016-11-16 19:17:21 +00:00
SkBlurTypes.h
SkCanvas.h restore bool version of clip-bounds 2017-01-24 14:51:24 +00:00
SkClipOp.h switch to _deprecated suffix for exotic SkClipOps 2016-12-20 13:46:58 +00:00
SkClipStack.h Purge clip masks when they are no longer findable. 2017-01-06 19:42:08 +00:00
SkColor.h SkBitmap::ComputeIsOpaque and SkBitmap::eraseColor support F16 2016-12-07 20:43:26 +00:00
SkColorFilter.h Remove SkFallbackAlloc and SkFixedAlloc. 2017-01-16 17:01:57 +00:00
SkColorPriv.h SkBlendARGB32 and S32[A]_Blend_BlitRow32 are currently formulated as: SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale), which boils down to ((src*src_scale)>>8) + ((dst*dst_scale)>>8). In particular, note that the intermediate precision is discarded before the two parts are added together, causing the final result to possibly inaccurate. 2016-08-05 11:48:45 -07:00
SkColorSpace.h Fix swapped interpretation of c and e in SkColorSpace_ICC 2016-12-19 20:23:03 +00:00
SkColorSpaceXform.h Reland "Respect full precision for RGB16 PNGs" (part 2) 2017-01-19 22:08:52 +00:00
SkColorTable.h Ensure that SkColorTable->fCount is set properly after decodes 2016-05-17 08:52:11 -07:00
SkData.h Class delete call unsized delete when size not known. 2016-10-19 21:41:00 +00:00
SkDataTable.h Move SkChunkAlloc.h to include/private. 2016-11-07 20:16:56 +00:00
SkDeque.h
SkDocument.h clean up non-ASCII comments 2017-01-03 16:29:37 +00:00
SkDrawable.h Make SkDrawable an SkFlattenable 2016-04-25 06:40:26 -07:00
SkDrawFilter.h
SkDrawLooper.h Revert of Delete SkFlattenable::Type (patchset #2 id:20001 of https://codereview.chromium.org/1834303003/ ) 2016-04-04 14:57:19 -07:00
SkEncodedImageFormat.h SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
SkFilterQuality.h Skia Filter Quality and Scaling Metrics 2016-04-18 09:14:00 -07:00
SkFlattenable.h SkLightingShader normal vector CPU computation refactor. 2016-06-27 11:40:45 -07:00
SkFlattenableSerialization.h hide setImageFilter(ptr) 2016-11-01 16:05:41 +00:00
SkFont.h typedef uint16_t SkGlyphID 2016-07-25 07:18:12 -07:00
SkFontLCDConfig.h Add SK_API to SkFontLCDConfig. 2016-05-03 11:56:03 -07:00
SkFontStyle.h Remove 'Ulta' width. 2016-08-02 10:43:29 -07:00
SkGraphics.h
SkICC.h Revert "Revert "WIP: Skia support library for ICC tasks"" 2016-12-17 01:31:22 +00:00
SkImage.h Revert "Remove SkImage::MakeTextureFromPixmap" 2017-01-25 14:54:35 +00:00
SkImageDeserializer.h Deserialize pictures with custom image-deserializer 2016-08-11 03:55:15 -07:00
SkImageEncoder.h Remove last of SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS 2017-01-10 19:36:17 +00:00
SkImageFilter.h Add ImageToColorSpace helper in SkImageFilter 2016-12-29 18:35:44 +00:00
SkImageGenerator.h Specify bit depth and color space in SkImage::MakeFromPicture() 2017-01-09 18:14:06 +00:00
SkImageInfo.h Revert "explictly fail to draw unpremul, as this is buggy, incomplete, tricky, and unused" 2017-01-20 14:21:42 +00:00
SkLights.h added radial lights to SkLights 2016-09-06 13:03:30 -07:00
SkMallocPixelRef.h
SkMask.h
SkMaskFilter.h Make GrPaints move their GrProcessor ownership into GrPipelineBuilder. 2017-01-11 19:56:48 +00:00
SkMath.h SkLiteDL: remove freelisting, add reset() and SKLITEDL_PAGE knob. 2016-08-16 09:36:18 -07:00
SkMatrix44.h Fix color space matrix hashing to avoid hashing the typemask 2017-01-04 16:45:05 +00:00
SkMatrix.h Harden degenerate gradient context handling 2016-10-05 09:28:42 -07:00
SkMetaData.h
SkMilestone.h Update Skia milestone to 58 2017-01-19 16:56:11 +00:00
SkMultiPictureDraw.h Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
SkOSFile.h Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
SkPaint.h refFoo variant for getters that naturally have a sk_sp 2017-01-12 16:38:34 +00:00
SkPath.h SkPath::fIsVolatile does not need to be mutable. 2016-11-12 15:23:55 +00:00
SkPathEffect.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkPathMeasure.h Move seg_to to a new header, define SkSegType enum there 2016-08-09 09:38:30 -07:00
SkPathRef.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
SkPicture.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkPictureAnalyzer.h Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
SkPictureRecorder.h no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
SkPixelRef.h Remove (unused) YUV API from SkPixelRef 2017-01-13 20:40:11 +00:00
SkPixelSerializer.h
SkPixmap.h SkBitmap::ComputeIsOpaque -> SkPixmap::computeIsOpaque 2016-12-07 21:44:39 +00:00
SkPngChunkReader.h Delete SkImageDecoder 2016-03-24 10:41:47 -07:00
SkPoint3.h
SkPoint.h handle large conic weights 2016-07-13 10:56:53 -07:00
SkPostConfig.h Use alignas to force alignment. 2016-11-04 08:41:01 -07:00
SkPreConfig.h use __BYTE_ORDER__ macro to detect endianness when available 2016-11-28 21:07:47 +00:00
SkRasterHandleAllocator.h support external raster handles 2017-01-10 17:31:58 +00:00
SkRasterizer.h Revert of Delete SkFlattenable::Type (patchset #2 id:20001 of https://codereview.chromium.org/1834303003/ ) 2016-04-04 14:57:19 -07:00
SkRect.h helper to SkRect to create from SkISize 2016-09-12 06:32:07 -07:00
SkRefCnt.h Remove sk_ref_sp's misleading preprocessor define and comment 2016-12-21 15:36:13 +00:00
SkRegion.h inline very common intersect+rect_rgn 2016-06-30 07:47:34 -07:00
SkRRect.h Add validation of RRects to SkValidatingReadBuffer 2016-09-23 19:44:57 +00:00
SkRSXform.h
SkRWBuffer.h Add a SkRWBuffer reserve mechanism 2016-09-30 13:34:19 -07:00
SkScalar.h Swap SkGpuBlurUtils over to using SkIRects 2016-05-13 05:06:19 -07:00
SkShader.h Remove unused asACustomShader function from SkShader 2017-01-20 15:21:05 +00:00
SkSize.h
SkStream.h remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
SkString.h Reverse dependency between SkScalar.h and SkFixed.h. 2016-04-07 08:49:31 -07:00
SkStrokeRec.h Unify implementations of stroking radius calculationsns 2016-04-29 07:07:03 -07:00
SkSurface.h remove unused ForceUnique option from makeImageSnapshot 2016-12-29 16:01:42 +00:00
SkSurfaceProps.h remove disable aa/dither flags from Props -- never used 2016-08-18 09:30:44 -07:00
SkSwizzle.h Add missing SK_API to SkSwizzle.h 2016-03-24 07:50:14 -07:00
SkTextBlob.h Remove SK_SUPPORT_LEGACY_TEXTBLOB_BUILDER. 2016-10-13 17:43:41 +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 Fix SkTLazy(const T*) initialization 2016-08-24 11:03:24 -07:00
SkTraceMemoryDump.h
SkTypeface.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkTypes.h SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
SkUnPreMultiply.h
SkWriteBuffer.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
SkWriter32.h Remove SkWriter32::contiguousArray(). 2016-04-29 14:45:36 -07:00
SkYUVSizeInfo.h