skia2/include/gpu
Ethan Nicholas 052fd5158f Revert "Start of rewrite of GrFragmentProcessor optimizations."
This reverts commit 85eb4226a4.

Reason for revert: test failures on Windows, e.g. https://chromium-swarm.appspot.com/task?id=33f9527484414110&refresh=10

Original change's description:
> Start of rewrite of GrFragmentProcessor optimizations.
> 
> This adds a replacement for computeInvariantOutput buts does not use it yet. The replacement allows for three types of optimizations:
> 
> * known input color -> known output color for GrFP elimination
> * tracking of whether all color processors modulate their input for the "tweak alpha" optimziation
> * opaqueness tracking
> 
> This loses some of the generality of computInvariantOutput. It does not track the known output status of individual color components (other than opaque alpha). It does not track whether GrFragmentProcessors read their input color. It doesn't allow a processor that will receive non-constant output to advertise that it produces a constant output. These could probably be added back in the unlikely case that they prove valuable.
> 
> Unlike computeInvariantOutput the optimizations are decided at instantiation time and constant colors are expressed as GrColor4f rather than GrColor.
> 
> Change-Id: I684d3f9050693dde2d28154fa695e049ed8cf61a
> Reviewed-on: https://skia-review.googlesource.com/7481
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> 

TBR=egdaniel@google.com,bsalomon@google.com,brianosman@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: I2390df257456013fa74137cb5d7b5a93820c291e
Reviewed-on: https://skia-review.googlesource.com/7652
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2017-01-27 15:34:43 +00:00
..
effects Revert "Start of rewrite of GrFragmentProcessor optimizations." 2017-01-27 15:34:43 +00:00
gl Add image functions to GrGLInterface 2016-11-15 19:37:35 +00:00
vk Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrBlend.h
GrBuffer.h Add resource provider flag to avoid client-side buffers 2016-07-13 10:16:32 -07:00
GrCaps.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrClip.h Relandx2 "Remove antialiasing control from GrPaint." 2016-12-09 20:43:41 +00:00
GrColor.h Revert "Start of rewrite of GrFragmentProcessor optimizations." 2017-01-27 15:34:43 +00:00
GrColorSpaceXform.h Add storage and computation of SkColor4f version of gradient stops. 2016-09-15 11:09:45 -07:00
GrConfig.h Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. 2016-04-29 06:41:35 -07:00
GrContext.h Switch GrConfigConversionEffect over to taking GrTextureProxies 2017-01-25 21:23:28 +00:00
GrContextOptions.h Misc batch->op cleanup Part 1 of 2 2016-12-21 16:45:40 +00:00
GrCoordTransform.h Make GrYUVEffect take GrTextureProxies 2017-01-24 12:23:28 +00:00
GrFragmentProcessor.h Revert "Start of rewrite of GrFragmentProcessor optimizations." 2017-01-27 15:34:43 +00:00
GrGpuResource.h Fix undefined GrIORef test method on Chrome win bot 2017-01-11 21:11:12 +00:00
GrGpuResourceRef.h Move resource ref/io manipulation from GrProgramElement to GrProcessor 2017-01-09 21:51:05 +00:00
GrInvariantOutput.h Stop tracking whether GrFragmentProcessors read their input 2017-01-23 20:17:53 +00:00
GrPaint.h Allow GrSingleTextureEffect to take GrTextureProxies 2017-01-24 22:03:40 +00:00
GrProcessor.h Allow GrSingleTextureEffect to take GrTextureProxies 2017-01-24 22:03:40 +00:00
GrProcessorUnitTest.h Revert "Start of rewrite of GrFragmentProcessor optimizations." 2017-01-27 15:34:43 +00:00
GrProgramElement.h Add class GrProcessorSet which represents color and coverage FPs and a XPFactory. 2017-01-18 16:48:41 +00:00
GrRenderTarget.h Added GrSurfaceContext and GrTextureContext 2016-11-23 15:52:27 +00:00
GrRenderTargetContext.h Move GrDrawingManager pointer to GrSurfaceContext 2017-01-26 13:15:14 +00:00
GrResourceKey.h Add support for tagging GrUniqueKeys with a debug string 2017-01-06 17:54:03 +00:00
GrSamplerParams.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrShaderCaps.h Fix Vulkan crashes on nexus player 2017-01-20 16:19:02 +00:00
GrShaderVar.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrSurface.h Change GPU read/write pixels API to support color space conversion 2016-12-22 16:44:56 +00:00
GrSurfaceContext.h Move GrDrawingManager pointer to GrSurfaceContext 2017-01-26 13:15:14 +00:00
GrTestUtils.h Add helper to create random AsFPArgs for Ganesh unit tests 2016-10-19 16:01:07 +00:00
GrTexture.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrTextureContext.h Move GrDrawingManager pointer to GrSurfaceContext 2017-01-26 13:15:14 +00:00
GrTextureProvider.h Different approach to fixing gpu blurs on platforms that "useDrawInsteadOfClear" 2016-12-09 19:29:38 +00:00
GrTypes.h Revert "Start of rewrite of GrFragmentProcessor optimizations." 2017-01-27 15:34:43 +00:00
GrTypesPriv.h Add helper for idenitfying hw GrAATypes. 2016-12-13 18:10:31 +00:00
GrXferProcessor.h Revert "Revert "Make it possible to query GrXPFactory for dst texture without GrPipelineAnalysis."" 2017-01-20 20:04:01 +00:00
SkGr.h Continue making Ganesh use absolute texture coordinates - take 2 2017-01-20 18:18:18 +00:00