359f61b101
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> |
||
---|---|---|
.. | ||
mac | ||
Sk3D.h | ||
SkAnimCodecPlayer.h | ||
SkBase64.h | ||
SkCamera.h | ||
SkCanvasStateUtils.h | ||
SkEventTracer.h | ||
SkFrontBufferedStream.h | ||
SkInterpolator.h | ||
SkLua.h | ||
SkLuaCanvas.h | ||
SkNoDrawCanvas.h | ||
SkNullCanvas.h | ||
SkNWayCanvas.h | ||
SkPaintFilterCanvas.h | ||
SkParse.h | ||
SkParsePath.h | ||
SkRandom.h | ||
SkShadowUtils.h | ||
SkTextUtils.h | ||
SkTraceEventPhase.h |