skia2/include/utils
Ian Prest 94e34f7a1b Add a way to get 'active' props from SkCanvas
This CL adds two new APIs to SkCanvas: getBaseProps, and getTopProps.

SkCavas::getBaseProps is functionally identical to getProps, but returns
the SkSurfaceProps by value, rather than via an 'out' parameter.
SkCanvas::getProps is now considered deprecated.

SkCanvas::getTopProps returns the 'currently active' SkSurfaceProps,
i.e., it returns the props from the "top device".  This is useful
because the SkSurfaceProps can change when creating new layers.

Bug: skia:13483
Change-Id: Ia1d9a10ffdd929427f1f2c0a7c4ba6965d4bd3c0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/554736
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: Ian Prest <iapres@microsoft.com>
2022-07-12 13:52:36 +00:00
..
mac [bazel] Fix typo 2022-06-01 13:44:40 +00:00
BUILD.bazel [bazel] Add "skia_internal" target that exposes private API for tests/tools. 2022-06-02 11:23:50 +00:00
SkAnimCodecPlayer.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkBase64.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkCamera.h [includes] Enforce IWYU on src/utils 2022-04-28 17:32:20 +00:00
SkCanvasStateUtils.h [includes] Enforce IWYU on src/utils 2022-04-28 17:32:20 +00:00
SkCustomTypeface.h [includes] Enforce IWYU on src/utils 2022-04-28 17:32:20 +00:00
SkEventTracer.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkNoDrawCanvas.h remove dead code from old drawimage virtuals 2021-01-21 01:26:15 +00:00
SkNullCanvas.h [includes] Enforce IWYU on src/utils 2022-04-28 17:32:20 +00:00
SkNWayCanvas.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkOrderedFontMgr.h [includes] Enforce IWYU on src/utils 2022-04-28 17:32:20 +00:00
SkPaintFilterCanvas.h Add a way to get 'active' props from SkCanvas 2022-07-12 13:52:36 +00:00
SkParse.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkParsePath.h [svgcanvas] Add support for relative path encoding 2021-05-11 17:44:59 +00:00
SkRandom.h Wsign-conversion for public headers 2020-06-02 12:34:54 +00:00
SkShadowUtils.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkTextUtils.h [includes] Reduce IWYU exports from SkTypes.h 2022-07-06 14:52:55 +00:00
SkTraceEventPhase.h make includes available for flutter 2018-06-21 18:12:47 +00:00