skia2/src
Mike Klein 46874efa12 extend opacity tests in SkVM blits
- Have SkVMBlitter also check the color type for opacity,
  and commit to this opacity as a guarantee rather than optional
  optimization.
- Have SkImageShader do the same when sampling.

This will make it easier to work with opaque formats like 888x, 101010x,
and should mean sampling from opaque images is a bit cheaper, skipping
any work to unpack and convert alpha.

Change-Id: I0d20418f8335bd07c8b1a80b042636424854df18
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/270607
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-02-13 17:32:42 +00:00
..
android Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
atlastext Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
c Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
codec Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
core extend opacity tests in SkVM blits 2020-02-13 17:32:42 +00:00
effects Pass origin into GrCoordTransform. 2020-02-12 20:25:26 +00:00
fonts Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
gpu Revert "Pass origins through the flushSurfaces calls." 2020-02-13 15:38:52 +00:00
image Revert "Pass origins through the flushSurfaces calls." 2020-02-13 15:38:52 +00:00
images basic, untested BGR 1010102 and 101010x 2020-02-11 21:44:57 +00:00
lazy use std::make_unique 2019-12-12 22:32:45 +00:00
opts Change SkSL main() from (float x, float y) to (float2 p) 2020-02-07 20:19:13 +00:00
pathops Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
pdf Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
ports Skip degenerate contours in glyphs. 2020-02-13 16:22:42 +00:00
sfnt Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
shaders extend opacity tests in SkVM blits 2020-02-13 17:32:42 +00:00
sksl Pass origin into GrCoordTransform. 2020-02-12 20:25:26 +00:00
svg Compress color using hex instead of rgb in SkSVGDevice. 2020-02-07 22:48:34 +00:00
utils Skip degenerate contours in glyphs. 2020-02-13 16:22:42 +00:00
xml [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
xps Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00