skia2/include
Brian Osman ac1e4964e7 Workaround Mali static analysis bug
Comment describes it: Unless we do something to confuse their optimizer,
they will (incorrectly) deduce that uniform opaque color (modulated only
by a texture fetch) is always going to remain opaque. Then they skip
inserting their shader based blending code, turning SrcOver into Src.

Doing a max against zero is enough to squelch the optimization.

Bug: skia:
Change-Id: I74676cebb0b0c8d121da868dd8a88050e0cfcc0d
Reviewed-on: https://skia-review.googlesource.com/17924
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-05-25 16:15:07 +00:00
..
android Let region decoders query the type and color space 2017-04-14 13:59:35 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Add animation support to SkWebpCodec 2017-05-23 15:28:37 +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 Reland of SkShaderBase 2017-05-25 14:59:07 +00:00
effects move all details for dashing into impl 2017-05-24 03:22:23 +00:00
encode remove SK_API from namespaced enum 2017-05-17 10:23:56 +00:00
gpu Workaround Mali static analysis bug 2017-05-25 16:15:07 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports SkFontMgr::matchFamily should not crash on nullptr. 2017-05-01 18:13:02 +00:00
private Revert "Revert "Add a flag to GrSurfaceFlags that requires the texture to be cleared upon creation. "" 2017-05-23 21:38:38 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils Remove ambient and spot mask filters. 2017-05-18 19:45:45 +00:00
views Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00