skia2/include/private
Michael Ludwig 8f3a83671a Write SkSL visitor pattern and consolidate sampling analysis
Besides moving the existing coord-overrides and sample matrix merging
logic on to a shared visitor pattern, this updates the sample coord
reference detection to actually look for references to that built-in.

Previously, we only had this behavior in the CPP code generator. The
.h generator just did a string search for sk_TransformedCoords2D, and
runtime effects just looked at the main signature. Now, the .h generator
is more robust, and runtime effects that declare the main coords parameter
but never use it will not be marked as using the sample coords directly.

Change-Id: I802d610dbda512cf3823c58f349307b3926aa58f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/299458
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2020-06-30 14:04:23 +00:00
..
GrContext_Base.h Make GrContextThreadSafeProxy not a GrContext_Base 2020-06-02 16:14:48 +00:00
GrD3DTypesPriv.h More fixes to get D3D tests running. 2020-04-10 15:19:18 +00:00
GrGLTypesPriv.h Rework how backend-specific formats are retrieved from GrBackendFormat. 2019-08-08 17:20:34 +00:00
GrImageContext.h Make GrContextThreadSafeProxy not a GrContext_Base 2020-06-02 16:14:48 +00:00
GrRecordingContext.h Reland "Consolidate GrDrawingManager <-> GrRenderTask lifecycle" 2020-06-26 14:09:05 +00:00
GrResourceKey.h Wsign-conversion for public headers 2020-06-02 12:34:54 +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 Remove HairlineAA from the clip-edge types. 2020-06-17 17:43:35 +00:00
GrVkTypesPriv.h Add GrContext API to allow updating GrBackendSurfaceMutableState. 2020-06-10 13:15:55 +00:00
SkBitmaskEnum.h update skstd 2020-04-30 15:05:43 +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 move SkDeque.h into private 2020-02-18 02:05:08 +00:00
SkEncodedInfo.h Move skcms.h to include/third_party/skcms 2019-04-29 15:02:45 +00:00
SkFixed.h Wsign-conversion for public headers 2020-06-02 12:34:54 +00:00
SkFloatBits.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFloatingPoint.h dip our toes into c++11 style [[attributes]] 2020-02-19 17:51:40 +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 SkTypes: more into SkMacros 2018-06-12 20:24:43 +00:00
SkMalloc.h test data.equals with empty 2020-02-17 17:53:49 +00:00
SkMutex.h Remove all global mutexes 2019-06-18 00:39:15 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Revert "Revert "gms for SkParagraph"" 2020-06-02 19:26:04 +00:00
SkPathRef.h add simple pathbuilder 2020-06-24 01:50:30 +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
SkSLSampleMatrix.h Write SkSL visitor pattern and consolidate sampling analysis 2020-06-30 14:04:23 +00:00
SkSpinlock.h Add thread safety annotations. 2019-05-10 13:40:38 +00:00
SkTArray.h Prevent non-trivial destructors from running after exit in DM. 2020-06-20 00:02:23 +00:00
SkTDArray.h Wsign-conversion for public headers 2020-06-02 12:34:54 +00:00
SkTemplates.h Avoid malloc calls for these two temp arrays on the stack. 2020-05-26 16:37:49 +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 remove unused mutate() apis 2020-03-16 20:44:36 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTLogic.h update skstd 2020-04-30 15:05:43 +00:00
SkTo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkVx.h [skottie] Non-legacy brightness effect 2020-05-04 14:04:24 +00:00
SkWeakRefCnt.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00