skia2/include/private
Mike Klein f60a76e2ac switch SkTPin impl to pin NaN to lo
It's just much easier to remember and think about
max(lo, min(x, hi)) than max(min(hi, x), lo), and
both pin NaN to one of the two limits.  I'm not sure
if anything in Skia depends on which limit we pin to.

Change-Id: Iceca36a8fffd7072180e82b8b6eb81cbdb5ac97f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/327788
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
2020-10-16 21:08:51 +00:00
..
GrContext_Base.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
GrContext.h Revert "Remove GrContext" 2020-10-14 18:30:13 +00:00
GrD3DTypesPriv.h More fixes to get D3D tests running. 2020-04-10 15:19:18 +00:00
GrGLTypesPriv.h Add stencil formats to all the backends. 2020-10-07 17:58:31 +00:00
GrImageContext.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
GrResourceKey.h Add scratch msaa attachment creation to GrResourceProvider. 2020-10-12 20:22:13 +00:00
GrSharedEnums.h Remove HairlineAA from the clip-edge types. 2020-06-17 17:43:35 +00:00
GrSingleOwner.h Pass file and line number when asserting single owner 2020-06-01 17:10:40 +00:00
GrTypesPriv.h Add input attachment support to program building. 2020-09-14 19:59:47 +00:00
GrVkTypesPriv.h Add GrContext API to allow updating GrBackendSurfaceMutableState. 2020-06-10 13:15:55 +00:00
SkBitmaskEnum.h Fix modifier key handling in OS X to allow command-keys to work. 2020-07-01 16:07:03 +00:00
SkChecksum.h Revert "Revert "gms for SkParagraph"" 2020-06-02 19:26:04 +00:00
SkColorData.h Reland "Simplify GrRTC::clean APIs" 2020-05-27 14:26:16 +00:00
SkDeque.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkEncodedInfo.h Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
SkFixed.h move SkTPin to include/private 2020-10-16 19:45:11 +00:00
SkFloatBits.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFloatingPoint.h Move GrWangsFormula::nextlog2 to sk_float_nextlog2 2020-08-19 23:45:12 +00:00
SkHalf.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkIDChangeListener.h Revert "Use spin lock in SkIDChangeListener" 2020-03-04 03:40:11 +00:00
SkImageInfoPriv.h Wsign-conversion for public headers 2020-06-02 12:34:54 +00:00
SkMacros.h Remove SK_REQUIRE_LOCAL_VAR macro. 2020-07-31 02:32:01 +00:00
SkMalloc.h [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
SkMutex.h Remove SK_REQUIRE_LOCAL_VAR macro. 2020-07-31 02:32:01 +00:00
SkNoncopyable.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNx_neon.h Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
SkNx_sse.h update SkNx allTrue/anyTrue 2020-09-02 17:11:45 +00:00
SkNx.h Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
SkOnce.h experimental support for go/fibers 2019-10-28 16:48:55 +00:00
SkOpts_spi.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkPathRef.h refine SkPath::approximateBytesUsed() 2020-10-14 15:05:36 +00:00
SkSafe32.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSafe_math.h Guard against buggy ucrt\math.h. 2016-11-28 15:40:23 +00:00
SkSemaphore.h Reland "Cache hb_face." 2020-05-19 17:42:14 +00:00
SkShadowFlags.h Remove deprecated drawShadow interfaces 2018-02-28 19:07:29 +00:00
SkSLSampleUsage.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkSpinlock.h Add thread safety annotations. 2019-05-10 13:40:38 +00:00
SkTArray.h Rename SkTArray::reserve to reserve_back. 2020-10-14 21:42:11 +00:00
SkTDArray.h Add arc methods to path builder 2020-08-03 15:50:01 +00:00
SkTemplates.h Fix data() method and add unit test. 2020-10-07 13:46:50 +00:00
SkTFitsIn.h Add support for MSVC run-time checks (and control flow guard) 2019-02-04 20:55:24 +00:00
SkTHash.h tidy up SkTHash special methods 2020-10-08 17:20:22 +00:00
SkThreadAnnotations.h Add a condition to prevent a thread annotation meant for blaze from showing up to emscripten 2020-02-28 17:57:20 +00:00
SkThreadID.h Mark SkGetThreadID SK_SPI in debug. 2020-07-07 21:50:55 +00:00
SkTLogic.h remove SkMakeSpan use ctor parameter deduction 2020-10-02 01:41:03 +00:00
SkTo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTPin.h switch SkTPin impl to pin NaN to lo 2020-10-16 21:08:51 +00:00
SkVx.h move scalar functions out of SkVx.h 2020-10-14 14:24:46 +00:00
SkWeakRefCnt.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00