skia2/include/utils
Mike Klein 359f61b101 track SkNoPixelsDevice's origin
Today we do a fairly decent job of tracking device bounds as an SkIRect,
with a little more of that plumbed through here, but that gets foiled in
SkNoPixelsDevice's constructor where we only look at bounds.width() and
bounds.height().

I think the idea was to follow the usual constraint that a "base" layer
has an origin at (0,0) and only temporary "save" layers on top might be
offset, but for a device without any pixels it's pretty reasonable for
the base layer to be offset too.

This makes picture_cull_rect draw correctly in serialize-8888 mode.

Bug: skia:9334
Change-Id: I845e74779bb21cbfd4051b0ef07381e684176eac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236859
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-08-23 17:52:18 +00:00
..
mac rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Sk3D.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkAnimCodecPlayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkBase64.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkCamera.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkCanvasStateUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkEventTracer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFrontBufferedStream.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkInterpolator.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkLua.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkLuaCanvas.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNoDrawCanvas.h track SkNoPixelsDevice's origin 2019-08-23 17:52:18 +00:00
SkNullCanvas.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNWayCanvas.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkPaintFilterCanvas.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkParse.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkParsePath.h Revert "Revert "Shuffle SkSL sources around so compiler and bytecode can be used w/o GPU"" 2019-06-18 14:47:12 +00:00
SkRandom.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkShadowUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTextUtils.h Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SkTraceEventPhase.h make includes available for flutter 2018-06-21 18:12:47 +00:00