skia2/include/utils
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
..
mac Make SkImageGeneratorCG apply encoded origin 2017-11-03 15:29:34 +00:00
Sk3D.h SkAR: drawing text, shapes, rotation modes enabled, translating objects 2018-06-19 19:10:54 +00:00
SkAnimCodecPlayer.h play with animated gif 2018-10-03 14:43:18 +00:00
SkBase64.h make includes available for flutter 2018-06-21 18:12:47 +00:00
SkCamera.h Generate Android Framework host-side Skia (linux) 2018-11-19 17:51:32 +00:00
SkCanvasStateUtils.h no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
SkEventTracer.h Add category support to JSON and SkDebugf tracing 2017-07-21 16:38:23 +00:00
SkFrontBufferedStream.h Add SK_API to APIs used by the android framework. 2017-09-21 18:14:36 +00:00
SkInterpolator.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkLua.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkLuaCanvas.h remove overrides of (dead) onDrawTextRSXform 2018-12-20 22:52:35 +00:00
SkNoDrawCanvas.h Add secret draw-behind method 2019-04-19 20:50:22 +00:00
SkNullCanvas.h no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
SkNWayCanvas.h Add secret draw-behind method 2019-04-19 20:50:22 +00:00
SkPaintFilterCanvas.h Add secret draw-behind method 2019-04-19 20:50:22 +00:00
SkParse.h remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
SkParsePath.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkRandom.h remove SkRandom::next64() 2018-09-06 12:46:46 +00:00
SkShadowUtils.h Remove deprecated drawShadow interfaces 2018-02-28 19:07:29 +00:00
SkTextUtils.h add missing shared lib visibility macros 2019-04-09 14:34:55 +00:00
SkTraceEventPhase.h make includes available for flutter 2018-06-21 18:12:47 +00:00