Go to file
Michael Ludwig 0437f0f5d8 Revert "More optimizations for CropToRect, for axis-aligned quads that have not been inverted"
This reverts commit 88a64b4696.

Reason for revert: Chrome layout tests

Original change's description:
> More optimizations for CropToRect, for axis-aligned quads that have not been inverted
> 
> Prior to CropToRect(), GrRTC::crop_filled_rect only operated on SkRects. The
> quad cropping code generalized the optimization to any axis-aligned quad, but
> a consequence of this is the code had to be robust to flips and 90 degree
> rotations. While it can handle more cases, it has lead to a 1-10% performance
> regression on cropped-rectangle-heavy perf tests in chromium.
> 
> This change brings back the simplest cropping solution when the axis-aligned
> quads have not been flipped/rotated, but the general version still exists for
> the other class of quads as well.
> 
> Bug: chromium:980608
> Change-Id: I83d71075cacc3d849fd9aac6436ea3244a0ae4b9
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225724
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> Auto-Submit: Michael Ludwig <michaelludwig@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>

TBR=bsalomon@google.com,robertphillips@google.com,michaelludwig@google.com

Change-Id: I428cbefa5985c6160df0460d38b0698b43d289de
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:980608
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225733
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2019-07-08 20:03:07 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Bulkify SkGlyphCacheBench 2019-07-03 19:45:54 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
dm Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples PDF example 2019-05-28 17:21:59 +00:00
example Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
experimental experimental/editor: app layer: setTitle 2019-06-26 16:58:20 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Make deferred render target context without config or format 2019-07-03 16:53:48 +00:00
gn Sample/Lines remove boring sample 2019-07-08 19:09:43 +00:00
include Make BGRA_8888 renderable & textureable by default in the mock context 2019-07-08 18:49:51 +00:00
infra Roll recipe dependencies (trivial). 2019-07-08 18:18:05 +00:00
modules Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
platform_tools SkQP: fix Filterable.filter 2019-06-25 13:50:39 +00:00
resources [skottie] Add forgotten linear-wipe test 2019-07-03 15:06:42 +00:00
samplecode Sample/Shaders: use resources; cleanup code 2019-07-08 19:31:42 +00:00
site fix up relative links and spacing 2019-06-11 14:29:38 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Revert "More optimizations for CropToRect, for axis-aligned quads that have not been inverted" 2019-07-08 20:03:07 +00:00
tests Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
third_party Roll skia/third_party/skcms 628bca791189..958fec279ed5 (1 commits) 2019-07-03 17:59:46 +00:00
tools Samples: simplify Sample::Event 2019-07-08 19:09:42 +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 Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn Make the SkSL interpreter opt-in 2019-07-08 19:44:22 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Update libwebp to 1.03 release candidate 2019-07-08 14:16:07 +00:00
go.mod Update Go deps 2019-07-03 05:34:52 +00:00
go.sum Update Go deps 2019-07-03 05:34:52 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py add mtklein to api approvals 2019-04-02 15:16:56 +00:00
public.bzl [skottie] Cleanup: split off layers into own CUs 2019-07-01 18:29:22 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07: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.