skia2/include/core
Ben Wagner 5d1adbfae9 Make sk_sp operator bool explicit.
The sk_sp class has been using the operator pointer to field as a c++98
version of explicit operator bool. This change updates this class to use
explicit operator bool. The one visible change is that the pointer to
field version isn't quite as explcit, requiring code changes for some
users.

Change-Id: Iddf8fb347b1d3ec33db1af08489c9fd885c9bf08
Reviewed-on: https://skia-review.googlesource.com/130380
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-05-30 18:54:38 +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 include refresh 2018-05-30 13:51:43 +00:00
SkBlendMode.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkBlurTypes.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkCanvas.h include refresh 2018-05-30 13:51:43 +00:00
SkCanvasVirtualEnforcer.h Shim to enforce that canvas virtuals are overridden 2018-03-09 19:43:41 +00:00
SkClipOp.h add flag to hide deprecated clipops 2017-05-10 18:56:14 +00:00
SkColor.h Reland "Reland "remove obsolete color defines"" 2018-05-16 13:51:14 +00:00
SkColorFilter.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkColorPriv.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
SkColorSpace.h remove bit, srgbnl config in DM 2018-05-29 19:14:03 +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 remove defines and add commas 2018-05-21 17:33:39 +00:00
SkData.h SkImage::onRefEncoded to return sk_sp. 2018-05-16 18:53:12 +00:00
SkDataTable.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkDeferredDisplayListRecorder.h Add DoneProc to Promise Images 2018-03-16 19:27:46 +00:00
SkDeque.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkDocument.h SkDocument: remove unused fDoneProc 2018-01-08 20:53:41 +00:00
SkDrawable.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkDrawFilter.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkDrawLooper.h remove defines and add commas 2018-05-21 17:33:39 +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 remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFlattenable.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFont.h Remove SkPaint::Flags::kDevKernFlag. 2018-05-09 21:27:11 +00:00
SkFontArguments.h Add SkTypeface::getVariationDesignPosition. 2017-02-24 16:59:05 +00:00
SkFontLCDConfig.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFontStyle.h Make SkTypeface::Style and FromOldStyle private. 2017-10-13 15:49:18 +00:00
SkGraphics.h Remove TLS glyph cache calls. 2018-03-09 19:32:22 +00:00
SkICC.h Reland "strip down SkICC.cpp" 2018-05-22 14:17:15 +00:00
SkImage.h include refresh 2018-05-30 13:51:43 +00:00
SkImageEncoder.h centralize encoding to SkData 2017-12-09 01:36:48 +00:00
SkImageFilter.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkImageGenerator.h Remove SK_IGNORE_SKIMAGE_ONREFENCODED_CHANGE. 2018-05-17 20:40:03 +00:00
SkImageInfo.h include refresh 2018-05-30 13:51:43 +00:00
SkMallocPixelRef.h removed dead colortable code 2017-07-19 22:20:57 +00:00
SkMaskFilter.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkMath.h Remove sk_64_isS32 and sk_64_asS32 2018-05-21 20:29:24 +00:00
SkMatrix44.h Change SkMatrix44::fTypeMask to atomic 2018-05-03 15:56:12 +00:00
SkMatrix.h include refresh 2018-05-30 13:51:43 +00:00
SkMetaData.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkMilestone.h Update Skia milestone to 69 2018-05-24 21:23:08 +00:00
SkMultiPictureDraw.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkOverdrawCanvas.h Shim to enforce that canvas virtuals are overridden 2018-03-09 19:43:41 +00:00
SkPaint.h include refresh 2018-05-30 13:51:43 +00:00
SkPath.h include refresh 2018-05-30 13:51:43 +00:00
SkPathEffect.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkPathMeasure.h harden pathmeasure and fix empty case 2018-03-12 14:26:28 +00:00
SkPicture.h support image-subsets in serialization 2018-05-29 20:42:17 +00:00
SkPictureRecorder.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkPixelRef.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkPixmap.h update autogenerated includes 2018-04-03 16:33:10 +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 include refresh 2018-05-30 13:51:43 +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 include refresh 2018-05-30 13:51:43 +00:00
SkRefCnt.h Make sk_sp operator bool explicit. 2018-05-30 18:54:38 +00:00
SkRegion.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkRRect.h alternative no anonymous enums 2018-04-26 17:11:53 +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 Revert "Revert "implement SkScalar versions in terms of float versions"" 2018-05-14 18:20:29 +00:00
SkSerialProcs.h Change behavior of custom image serial/deserial 2018-03-08 21:50:51 +00:00
SkShader.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkSize.h SkSize can be aggregate-initialized 2017-04-11 18:57:20 +00:00
SkStream.h Make SkStream readers report failure. 2018-05-18 15:06:24 +00:00
SkString.h SkString: remove externally unused ::setUTF16() from API 2018-03-01 22:16:34 +00:00
SkStrokeRec.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkSurface.h include refresh 2018-05-30 13:51:43 +00:00
SkSurfaceCharacterization.h Add GrContextThreadSafeProxy and remove most friends of GrContextThreadSafeProxy 2018-05-10 19:14:16 +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 Add API for SkTextBlob serialization into caller's memory. 2018-04-04 01:25:11 +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 SkTCopyOnFirstWrite copy semantics 2018-04-11 17:25:07 +00:00
SkTraceMemoryDump.h Dump additional details about the gpu resources. 2018-03-29 18:08:15 +00:00
SkTypeface.h Revert "Revert "SkAdvancedTypefaceMetrics: factor out GlyphToUnicode"" 2018-05-09 18:00:35 +00:00
SkTypes.h remove SK_IGNORE_TO_STRING 2018-04-05 23:52:23 +00:00
SkUnPreMultiply.h Factor out UnPreMultiplyPreservingByteOrder 2014-01-15 22:24:58 +00:00
SkVertices.h Rewrite SkVertices specified with triangle fans as indexed triangles 2018-04-28 20:32:15 +00:00
SkYUVSizeInfo.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00