skia2/include
Mike Reed d567408362 Add secret draw-behind method
This is a variant of drawPaint but is automatically clipped
to the bounds of the most recent saveBehind buffer (axis-aligned bounds).

No public exposure.

Impl is pretty simple (its a variant of drawPaint)
- find the most recent saveBehind device bounds
- if there is none, draw nothing, else
  - temporarily intersect the device's clip with that bounds
  - drawPaint
  - restore the clip

See https://buganizer.corp.google.com/issues/129117085

Change-Id: I7c532e63a80b118fb2416c572b8e0d2abf8cf59a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/209166
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-04-19 20:50:22 +00:00
..
android Add API to get canvas wrapped by SkPaintFilterCanvas 2019-03-28 21:16:10 +00:00
atlastext pass a font to GlyphRunBuilder 2019-01-02 21:02:33 +00:00
c Revert "simplify and centralize SK_API" 2019-04-11 22:14:45 +00:00
codec Remove unused setAlphaAndRequiredFrame condition 2019-03-26 13:47:22 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Add secret draw-behind method 2019-04-19 20:50:22 +00:00
docs SkPDF: runtime switch between subsetters 2019-03-23 16:31:10 +00:00
effects remove dead code from old factories, enum 2019-04-12 17:11:25 +00:00
encode Remove a few semicolons. 2019-02-11 14:40:37 +00:00
gpu Add struct to wrap all the gpu flush options. 2019-04-17 20:03:29 +00:00
pathops fixup winding contours 2018-08-17 14:01:51 +00:00
ports Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +00:00
private Add explicit GrSurfaceProxy flag to skip explicit resource allocation 2019-04-19 19:25:02 +00:00
svg [SVGCanvas] Clean up public factories 2019-02-14 19:17:35 +00:00
third_party/vulkan Move vulkan headers from third_party to include/third_party. 2018-12-12 14:16:43 +00:00
utils Add secret draw-behind method 2019-04-19 20:50:22 +00:00