skia2/include/private
John Stiles 82bbe606ec Add static to global nullopt symbol.
This should hopefully make the code safer in C++14 by not violating
the ODR.

(bungeman@: "I think in C++14 we will in fact get multiple definitions
of this symbol, though in C++17 we won't. Maybe we should mark this as
'static' so each TU gets its own zero byte copy in C++14 but in C++17
the 'static' will also be implicitly 'static inline' and we'll only get
one?)

Change-Id: I3570421fcf2be314e1baccff0783ded4a1078666
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/427037
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-07-13 14:00:03 +00:00
..
GrContext_Base.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Change PromiseImage API to take GrContextThreadSafeProxy 2021-02-19 21:52:59 +00:00
GrMtlTypesPriv.h Reland "Use objc_externally_retained to cut down retain/release in Metal" 2021-03-30 14:43:15 +00:00
GrResourceKey.h Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
GrSingleOwner.h Remove ableist language 2021-06-16 21:37:21 +00:00
GrTypesPriv.h Remove GrSharedEnums.h 2021-07-09 15:32:46 +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 Fix implicit signedness change warnings in private includes 2021-05-13 17:10:44 +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 Remove unreferenced TODO function. 2021-06-16 18:45:18 +00:00
SkHalf.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkIDChangeListener.h Remove bug-prone SkIDChangeListener singleThreaded arg 2021-02-26 17:05:53 +00:00
SkImageInfoPriv.h Clarify how we decide the bitdepth for picture-shader 2021-03-04 14:28:16 +00:00
SkMacros.h Reland "Add backend texture and backend render target versions snapshot GMs" 2021-02-04 14:30:57 +00:00
SkMalloc.h [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
SkMutex.h mark SkAutoMutexExclusive unmovable 2021-02-28 16:12:25 +00:00
SkNoncopyable.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNx_neon.h remove SkNx::rsqrt() 2021-04-14 20:54:08 +00:00
SkNx_sse.h Fix implicit signedness change warnings in private includes 2021-05-13 17:10:44 +00:00
SkNx.h remove SkNx::rsqrt() 2021-04-14 20:54:08 +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 Assert that SkPath is always internally consistent 2020-12-09 23:56:17 +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 Add support for directional lights. 2020-12-16 16:58:26 +00:00
SkSLDefines.h Made SkSL DSL into public API 2021-03-04 21:03:58 +00:00
SkSLIRNode.h Fixed an issue with DSL includes 2021-03-09 20:07:00 +00:00
SkSLLayout.h Remove large swaths of code related to .fp files 2021-07-08 16:53:47 +00:00
SkSLModifiers.h Remove custom SkVertices data and runtime effect varying support 2021-04-19 17:49:25 +00:00
SkSLProgramElement.h Remove enum support from SkSL 2021-07-09 14:03:15 +00:00
SkSLProgramKind.h Remove large swaths of code related to .fp files 2021-07-08 16:53:47 +00:00
SkSLSampleUsage.h Remove fExpression (matrix expression) from SampleUsage 2021-05-21 18:04:03 +00:00
SkSLStatement.h Fixed an issue with DSL includes 2021-03-09 20:07:00 +00:00
SkSLString.h Removed StringFragment alias in favor of skstd::string_view 2021-06-10 18:07:03 +00:00
SkSLSymbol.h Removed StringFragment alias in favor of skstd::string_view 2021-06-10 18:07:03 +00:00
SkSpinlock.h Add thread safety annotations. 2019-05-10 13:40:38 +00:00
SkTArray.h Avoid over-allocation in SkTArray assignment and reserve_back. 2020-11-11 17:09:15 +00:00
SkTDArray.h Add explicit int -> size_t casts to SkTDArray.h 2020-12-28 17:23:49 +00:00
SkTemplates.h Chop tessellated curves that don't fit in a patch 2021-05-21 23:01:43 +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 SkTHashTable assert key self equal. 2021-05-10 15:51:02 +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 Align SkSpan API with std::span 2021-05-10 17:41:52 +00:00
SkTo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTOptional.h Add static to global nullopt symbol. 2021-07-13 14:00:03 +00:00
SkTPin.h switch SkTPin impl to pin NaN to lo 2020-10-16 21:08:51 +00:00
SkVx.h macro hygiene in SkVx.h 2020-11-23 22:49:33 +00:00
SkWeakRefCnt.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00