Go to file
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
animations
bench More bounds fixes for StrokeRect and DefaultPath when using MSAA for non-aa. 2019-10-01 19:49:15 +00:00
bin roll GN 2019-09-26 20:34:17 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
docker Fix HOME directory in Docker containers built under cloudbuild. 2019-09-26 02:31:35 +00:00
docs/examples make rectcontour and nestedrects private 2019-09-13 00:17:49 +00:00
example Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
experimental experimental/minimal_mtl_app: more cleanup 2019-10-01 14:40:55 +00:00
fuzz Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
gm More bounds fixes for StrokeRect and DefaultPath when using MSAA for non-aa. 2019-10-01 19:49:15 +00:00
gn [Android] Use wildcard for data associated with skia_nanobench 2019-10-01 19:07:12 +00:00
include Use GL_QCOM_TILED_RENDERING to explicitly discard stencil 2019-10-02 16:36:08 +00:00
infra Half float tests working on command buffer 2019-10-02 18:18:23 +00:00
modules [skottie] Fix motion blur glitches around domain edges 2019-10-01 17:25:12 +00:00
platform_tools android_gdbserver: Don't fail when trying to locate nonexistent files 2019-09-16 16:28:33 +00:00
resources Particles: Added particle flags for tracking state (one-time triggers, etc) 2019-09-25 15:58:09 +00:00
samplecode More bounds fixes for StrokeRect and DefaultPath when using MSAA for non-aa. 2019-10-01 19:49:15 +00:00
site Use CIPD package for iOS provisioning profile. 2019-09-30 15:47:19 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src picture nesting bounds bug 2019-10-02 18:59:17 +00:00
tests picture nesting bounds bug 2019-10-02 18:59:17 +00:00
third_party reformat .gn files 2019-09-26 21:39:29 +00:00
tools SkQP: mark readpixels as a bad GM 2019-10-02 18:59:07 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn Don't build the minimal Metal app when building for Flutter. 2019-10-02 14:04:43 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/angle2 087f1384f233..f22f16d3c0a8 (8 commits) 2019-10-02 06:29:43 +00:00
go.mod Update Go deps 2019-10-02 05:27:13 +00:00
go.sum Update Go deps 2019-10-02 05:27:13 +00:00
LICENSE
OWNERS
PRESUBMIT.py rewrite_includes.py: make it work on windows 2019-08-05 16:14:35 +00:00
public.bzl remove SkPicture_none.cpp 2019-08-16 14:52:25 +00:00
README
README.chromium
RELEASE_NOTES.txt Use GL_QCOM_TILED_RENDERING to explicitly discard stencil 2019-10-02 16:36:08 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.