skia2/src
Mike Klein edf2d727f9 picture nesting bounds bug
- add a unit test reproducing the bug
  - fix SkRecorder::reset() to call resetCanvas(bounds) instead of
    calling resetCanvas(w,h).  (It was actually calling
    resetCanvas(right,top), even worse...)

In short, because we were calling this old resetCanvas(), SkRecorder,
the SkCanvas* we record into, was presenting bad device bounds,
affecting code like where we query the clip to search an R-tree for ops
to draw.  It was trimmed to only the positive/positive portion of the
actual bounds, so content like in the unit test that's all in negative
space was erroneously clipped out.

I'd like to get rid of these w/h methods altogether but they're still
used by some of our test tools and by Android.

Change-Id: Ie46f611250de4d655c4357823895ff885b4f3d59
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245599
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-10-02 18:59:17 +00:00
..
android Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
atlastext Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
c Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
codec Fix calls to deprecated Wuffs API 2019-09-25 18:18:05 +00:00
core picture nesting bounds bug 2019-10-02 18:59:17 +00:00
effects Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
fonts Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
gpu Enable asserts about 'in' and 'uniform' in GrSkSLFP and ByteCode 2019-10-02 18:28:42 +00:00
image Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
images New proposed syntax for SkColorTypes 2019-09-19 20:42:55 +00:00
lazy Remove std::move()s from returns of std::unique_ptrs 2019-08-15 23:48:59 +00:00
opts add alternate x-lerp using vpmaddubsw 2019-10-01 17:18:02 +00:00
pathops Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
pdf SkPDF: rasterize bitmap glyphs at 64pt, not em-size 2019-09-30 16:56:48 +00:00
ports Improve implementations of copyTable. 2019-09-30 14:55:44 +00:00
sfnt Add Symbol encoding when renaming a font. 2019-08-07 20:35:28 +00:00
shaders Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
sksl Fix CheckGeneratedFiles bot by tweaking SkSLDefines some more 2019-10-02 18:44:07 +00:00
svg [svgcanvas] Refactor clipping 2019-09-04 14:36:32 +00:00
utils Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
xml [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
xps Basic changes to get XPS drawing text. 2019-08-26 16:20:44 +00:00