skia2/experimental
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
..
c-api-example remove more old cmake files 2016-11-30 20:37:45 +00:00
ChromeUtils
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
DrawingBoard
expectations/skp add headers to experimental SKP expectations 2014-08-20 11:51:39 -07:00
FileReaderApp
GLFWTest bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
go-skia patch from issue 697743002 2014-11-03 10:45:50 -08:00
iOSSampleApp more const SkOSMenus. 2016-11-03 20:48:07 +00:00
iOSShell Remove custom bundle ID for iOS 2016-05-20 11:20:38 -07:00
Networking
SimpleCocoaApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SimpleiOSApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SkPerlinNoiseShader2 Revert "Start of rewrite of GrFragmentProcessor optimizations." 2017-01-27 15:34:43 +00:00
SkV8Example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
svg/model [SVGDom] Clipped clipPath support 2016-12-09 16:06:25 +00:00
tools android_skp_capture.sh 2016-09-07 12:56:45 -07:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00
SkSetPoly3To3_A.cpp remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats 2013-12-17 16:44:46 +00:00
SkSetPoly3To3_D.cpp
SkSetPoly3To3.cpp