skia2/tools/debugger
Brian Salomon 0a0304c426 Add experimental API to draw a set of SkImages in one SkCanvas call.
The client provides a src and dst rect for each image as well as
a bitfield that indicates whether each edge of the image should be
antialiased. This per-edge AA is useful for tiled compositors.

Rather than take a full SkPaint this API only takes an alpha, a filter
quality (which is pinned to kLow), and a blend mode. This is a likely
point of future evolution.

Currently the API is only fully implemented for kSrcOver on the GPU
backend. With other blend modes or on other backends AA will be ignored
for images that do not have all four edge AA flags set.

BUG: skia:8444

Change-Id: I143998dda8ad6a25f64e18cd600392ba553030ac
Reviewed-on: https://skia-review.googlesource.com/c/159062
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-12 13:14:24 +00:00
..
SkDebugCanvas.cpp Add experimental API to draw a set of SkImages in one SkCanvas call. 2018-10-12 13:14:24 +00:00
SkDebugCanvas.h Add experimental API to draw a set of SkImages in one SkCanvas call. 2018-10-12 13:14:24 +00:00
SkDrawCommand.cpp Add experimental API to draw a set of SkImages in one SkCanvas call. 2018-10-12 13:14:24 +00:00
SkDrawCommand.h Add experimental API to draw a set of SkImages in one SkCanvas call. 2018-10-12 13:14:24 +00:00
SkJsonWriteBuffer.cpp Remove code that was only used by the old debugger 2018-04-09 13:30:54 +00:00
SkJsonWriteBuffer.h remove unneeded readbuffer flags 2018-01-03 18:13:39 +00:00