skia2/include/core
Mike Klein 0fb1ee98cf replace SkNVRefCnt with SkRefCnt
SkNVRefCnt trades a small amount of code size (vtable) and runtime
(vptr) memory usage for a larger amount of code size (templating).  It
was written back in a time when all we were really thinking about was
runtime memory usage, so I'm curious to see where performance, code
size, and memory usage all move if it's removed.

Looking at the types I've changed here, my guess is that performance and
memory usage will be basically unchanged, and that code size will drop a
bit.  Nothing else it's nicer to have only one ref-counting base class.

Change-Id: I7d56a2b9e2b9fb000ff97792159ea1ff4f5e6f13
Reviewed-on: https://skia-review.googlesource.com/c/166203
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-30 13:26:12 +00:00
..
SkAnnotation.h
SkBBHFactory.h
SkBitmap.h remove deprecated SkBitmap::eraseRGB() 2018-10-04 15:37:27 +00:00
SkBlendMode.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkBlurTypes.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkCanvas.h sync bookmaker docs with canvas 2018-10-29 15:58:06 +00:00
SkCanvasVirtualEnforcer.h Revert "Revert "Add experimental API to draw a set of SkImages in one SkCanvas call."" 2018-10-12 16:09:21 +00:00
SkClipOp.h
SkColor.h Remove all remaining GrColor4f (other than gradients) 2018-10-16 19:45:53 +00:00
SkColorFilter.h rename some flattenable routines 2018-10-20 14:08:32 +00:00
SkColorPriv.h Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
SkColorSpace.h replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
SkColorSpaceXformCanvas.h
SkCoverageMode.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkData.h replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
SkDataTable.h
SkDeferredDisplayListRecorder.h Reland "Some more clean-up of YUVA code" 2018-10-24 15:19:48 +00:00
SkDeque.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkDocument.h SK_SUPPORT_LEGACY_DOCUMENT_FACTORY: clean up part 2/2 2018-10-04 20:00:24 +00:00
SkDrawable.h override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
SkDrawLooper.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkEncodedImageFormat.h
SkExecutor.h
SkFilterQuality.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFlattenable.h rename some flattenable routines 2018-10-20 14:08:32 +00:00
SkFont.h declare SkFont SK_API 2018-10-30 12:24:27 +00:00
SkFontArguments.h Add SkTypeface::getVariationDesignParameters 2018-07-12 17:30:20 +00:00
SkFontLCDConfig.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFontMgr.h SkFontMgr::matchFamilyStyle can return nullptr. 2018-08-16 22:49:52 +00:00
SkFontParameters.h Add SkTypeface::getVariationDesignParameters 2018-07-12 17:30:20 +00:00
SkFontStyle.h Revert "SkMath takes some functions from from SkTypes" 2018-09-07 17:32:54 +00:00
SkGraphics.h
SkICC.h IWYU: three files 2018-09-19 14:21:55 +00:00
SkImage.h Connect up YUVA images for testing. 2018-10-12 19:31:08 +00:00
SkImageEncoder.h
SkImageFilter.h rename some flattenable routines 2018-10-20 14:08:32 +00:00
SkImageGenerator.h Reland "Some more clean-up of YUVA code" 2018-10-24 15:19:48 +00:00
SkImageInfo.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkLights.h Restore SkLightingShader and associated classes 2018-07-17 17:24:50 +00:00
SkMallocPixelRef.h Clean up includes in SkMallocPixelRef 2018-06-26 16:47:39 +00:00
SkMaskFilter.h rename some flattenable routines 2018-10-20 14:08:32 +00:00
SkMath.h Revert "SkMath takes some functions from from SkTypes" 2018-09-07 17:32:54 +00:00
SkMatrix44.h remove deprecated SkMatrix44::map() 2x 2018-10-04 14:55:23 +00:00
SkMatrix.h update generated includes 2018-09-13 19:03:00 +00:00
SkMetaData.h
SkMilestone.h Update Skia milestone to 72 2018-10-13 01:46:43 +00:00
SkMultiPictureDraw.h
SkOverdrawCanvas.h Revert "Revert "Add experimental API to draw a set of SkImages in one SkCanvas call."" 2018-10-12 16:09:21 +00:00
SkPaint.h Reland "hide setTextAlign" 2018-10-27 14:39:05 +00:00
SkPath.h be consistent about int for incReserve 2018-10-16 20:39:28 +00:00
SkPathEffect.h rename some flattenable routines 2018-10-20 14:08:32 +00:00
SkPathMeasure.h abort really big path fuzzing 2018-06-21 16:42:37 +00:00
SkPicture.h Reland "Switch SkPaint's color to SkColor4f" 2018-09-05 14:16:33 +00:00
SkPictureRecorder.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkPixelRef.h (Almost) no one needs to know about SkPixelRef 2018-10-19 19:31:37 +00:00
SkPixmap.h Reland "add getAlphaf() to pixmap/bitmap" 2018-09-21 17:41:03 +00:00
SkPngChunkReader.h
SkPoint3.h Simplify perspective shadows to match future MD specs. 2018-08-31 18:15:19 +00:00
SkPoint.h update generated includes 2018-09-13 19:03:00 +00:00
SkPostConfig.h make legacy shadercontext optional 2018-10-17 17:19:26 +00:00
SkPreConfig.h update SkPreConfig a little 2018-08-31 15:09:19 +00:00
SkRasterHandleAllocator.h
SkRect.h Revert "Revert "remove unneeded flag SK_SUPPORT_LEGACY_RECTMAKELARGEST"" 2018-10-11 19:15:53 +00:00
SkRefCnt.h replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
SkRegion.h fix empty region iter rect 2018-08-28 15:21:25 +00:00
SkRRect.h refresh generated includes 2018-08-10 17:55:28 +00:00
SkRSXform.h
SkRWBuffer.h
SkScalar.h Revert "SkMath takes some functions from from SkTypes" 2018-09-07 17:32:54 +00:00
SkSerialProcs.h
SkShader.h remove unused isABitmap code 2018-10-15 20:09:48 +00:00
SkSize.h Fix a typo in SkISize comments 2018-09-27 20:27:18 +00:00
SkStream.h SkPDF: stop using linked list of dynamic memory streams. 2018-10-09 19:01:49 +00:00
SkString.h Revert "SkStream: remove some WStream functions from public api" 2018-09-06 12:22:41 +00:00
SkStrokeRec.h Reland "ccpr: Implement stroking with fine triangle strips" 2018-09-03 10:16:28 +00:00
SkSurface.h update generated includes 2018-09-13 19:03:00 +00:00
SkSurfaceCharacterization.h
SkSurfaceProps.h
SkSwizzle.h
SkTextBlob.h replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
SkTime.h SkMacros split from SkTypes.h 2018-06-12 18:39:33 +00:00
SkTLazy.h remove SkTCast 2018-06-18 17:22:18 +00:00
SkTraceMemoryDump.h
SkTypeface.h add helpers to SkFont (and SkTypeface) 2018-10-29 15:06:45 +00:00
SkTypes.h Revert "SkMath takes some functions from from SkTypes" 2018-09-07 17:32:54 +00:00
SkUnPreMultiply.h
SkVertices.h replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
SkYUVAIndex.h Reland: Widen internal API to support more complex YUV formats 2018-10-18 18:44:26 +00:00
SkYUVASizeInfo.h Reland: Widen internal API to support more complex YUV formats 2018-10-18 18:44:26 +00:00
SkYUVSizeInfo.h Remove use of colorTypes from SkYUVSizeInfo 2018-10-22 18:45:33 +00:00