skia2/include/gpu
dvonbeck 9b03e7b29d GrFP can express distance vector field req., program builder declares variable for it
This update allows fragment processors to require a field of vectors to the nearest edge. This requirement propagates:

- from child FPs to their parent
- from parent FPs to the GrPaint
- from GrPaint through the PipelineBuilder into GrPipeline
- acessed from GrPipeline by GrGLSLProgramBuilder

GrGLSL generates a variable for the distance vector and passes it down to the GeometryProcessor->emitCode() method.

This CL's base is the CL for adding the BevelNormalSource API: https://codereview.chromium.org/2080993002

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2114993002

Committed: https://skia.googlesource.com/skia/+/4ef6dfa7089c092c67b0d5ec34e89c1e319af196
Review-Url: https://codereview.chromium.org/2114993002
2016-08-01 11:01:56 -07:00
..
effects sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
gl Fix glDraw*Indirect prototypes 2016-06-09 19:42:38 -07:00
vk Add gyp define to enable vulkan debug layers 2016-07-27 08:03:57 -07:00
GrBlend.h Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
GrBuffer.h Add resource provider flag to avoid client-side buffers 2016-07-13 10:16:32 -07:00
GrBufferAccess.h Abandon offset support with texel buffers 2016-06-03 08:50:54 -07:00
GrCaps.h Add ES 3.0 fallback for instanced rendering 2016-07-29 12:19:28 -07:00
GrClip.h require semi at the end of SkASSERT and friends 2016-07-27 12:02:07 -07:00
GrColor.h GrColor4f is yet another 4f color type, unfortunately. 2016-06-24 12:50:19 -07:00
GrColorSpaceXform.h Simplify color space xform storage and usage (float[] vs. SkMatrix44) 2016-07-27 05:25:26 -07:00
GrConfig.h Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. 2016-04-29 06:41:35 -07:00
GrContext.h Remove GrContext::applyGamma 2016-07-29 08:28:25 -07:00
GrContextOptions.h Add test configs for instanced rendering 2016-07-29 08:14:20 -07:00
GrCoordTransform.h some utils for rect and matrix 2015-03-13 06:08:28 -07:00
GrDrawContext.h Fix GrDrawContextPriv::stencilRect 2016-07-27 13:22:27 -07:00
GrFragmentProcessor.h GrFP can express distance vector field req., program builder declares variable for it 2016-08-01 11:01:56 -07:00
GrGpuResource.h Refactor to separate backend object lifecycle and GpuResource budget decision 2016-04-22 01:48:29 -07:00
GrGpuResourceRef.h apply mozilla patch 2015-11-10 04:55:08 -08:00
GrInvariantOutput.h Added premulFourChannelColor to GrInvariantOutput 2016-07-14 09:02:18 -07:00
GrPaint.h GrFP can express distance vector field req., program builder declares variable for it 2016-08-01 11:01:56 -07:00
GrProcessor.h remove non-static uses of SkOncePtr 2016-05-02 07:19:41 -07:00
GrProcessorUnitTest.h sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Fix caching of sample locations 2016-07-06 09:59:43 -07:00
GrResourceKey.h Modernize and trim down SkOnce. 2016-04-18 08:09:11 -07:00
GrShaderVar.h Refactor how we store and use samplers in Ganesh 2016-04-20 07:09:46 -07:00
GrSurface.h Move prepareForExternalIO from GrRenderTarget to GrDrawContext 2016-07-26 07:41:01 -07:00
GrTestUtils.h Move GrNonAAFillRectPerspectiveBatch to its own file 2016-07-06 09:58:57 -07:00
GrTexture.h Better (?) interface for controlling sRGB-ness of mipmaps on GrTexture 2016-06-13 07:59:48 -07:00
GrTextureAccess.h Infer sampler precision from pixel config 2016-04-11 12:03:08 -07:00
GrTextureParams.h Remove sRGB overrides on GrTextureParams. Use GrPaint flags instead. 2016-05-24 06:18:48 -07:00
GrTextureProvider.h Remove some unnecessary #includes of SkImageFilter.h 2016-04-22 07:36:12 -07:00
GrTypes.h Add a GL cap for instanced rendering to floating point 2016-06-27 09:29:07 -07:00
GrTypesPriv.h Remove DrawFace enum from GrPipelineBuilder 2016-07-21 09:21:04 -07:00
GrXferProcessor.h Remove hasMixedSamples() from GrPipelineBuilder 2016-05-06 09:41:16 -07:00
SkGr.h remove/deprecate SkBitmap::getTexture, as it now always returns false 2016-07-25 08:29:10 -07:00