skia2/include
Brian Salomon 85eb4226a4 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>
2017-01-27 14:56:48 +00:00
..
android SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
c Make C API compatible with -Wstrict-prototypes 2017-01-03 17:38:35 +00:00
codec SK_API-export SkCodec 2016-12-14 18:55:47 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core remove SK_SUPPORT_LEGACY_GETCLIPBOUNDS 2017-01-27 13:59:47 +00:00
effects Move SkGammaColorFilter to tools, limit to sRGB 2017-01-26 15:27:49 +00:00
gpu Start of rewrite of GrFragmentProcessor optimizations. 2017-01-27 14:56:48 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Remove public APIs that use SkDataTable. 2017-01-23 17:09:37 +00:00
private Switch GrConfigConversionEffect over to taking GrTextureProxies 2017-01-25 21:23:28 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils remove clipstack from lua -- deprecated 2017-01-19 20:07:03 +00:00
views Remove SkTDict and calls from SkView. 2017-01-24 17:24:50 +00:00
xml remove SkDebugWStream and other cleanups 2017-01-07 21:49:07 +00:00