forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPv175] Output bounds for SaveLayerOp
This is mainly for performance. Without bounds, skia may execute some code to find a finite bounds, and the bounds may be too big for the SaveLayerOp which may lead other cost. Cluster telemetry showed that this CL can improve raster_time by 8%. https://ct.skia.org/results/cluster-telemetry/tasks/chromium_perf_runs/wangxianzhu-20180318183406/html/index.html Pin-point showed 20% improvement for raster_time in rasterize_and_record_micro.top_25. https://pinpoint-dot-chromeperf.appspot.com/results2/14f80e29440000 Another purpose is for some skia bug causing crbug.com/816854. In the bug, a small chunk with opacity without bounds in SaveLayerOp may cause ghost rasterization far from the target area. Bug: 803867,816854 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ife282e44b09fb2978e850e4c8cd6ca4e0150c857 Reviewed-on: https://chromium-review.googlesource.com/966699 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#544561}
- Loading branch information
1 parent
d289dba
commit b7e8c6e
Showing
71 changed files
with
362 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+600 Bytes
(100%)
...arty/WebKit/LayoutTests/css3/blending/effect-background-blend-mode-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.5 KB
(100%)
...it/LayoutTests/css3/blending/effect-background-blend-mode-stacking-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+347 Bytes
(100%)
...ebKit/LayoutTests/css3/blending/effect-background-blend-mode-tiled-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+90 Bytes
(100%)
...y/WebKit/LayoutTests/css3/blending/mix-blend-mode-isolated-group-1-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-17 Bytes
(100%)
third_party/WebKit/LayoutTests/css3/filters/nested-filter-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
third_party/WebKit/LayoutTests/fast/backgrounds/svg-as-mask-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...d_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-bounce-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-322 Bytes
(98%)
...atform/linux/compositing/reflections/nested-reflection-transformed-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+130 Bytes
(100%)
...tform/linux/compositing/reflections/nested-reflection-transformed2-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-76 Bytes
(100%)
...ts/platform/linux/compositing/reflections/reflection-in-composited-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...Tests/platform/linux/fast/borders/inline-mask-overlay-image-outset-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+302 Bytes
(100%)
..._party/WebKit/LayoutTests/platform/linux/fast/css/transformed-mask-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.87 KB
(88%)
...Tests/platform/linux/fast/reflections/opacity-reflection-transform-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+85 Bytes
(100%)
...t/LayoutTests/platform/linux/images/color-profile-image-filter-all-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-548 Bytes
(96%)
...tform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(100%)
...utTests/platform/linux/svg/as-background-image/svg-as-background-6-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...youtTests/platform/linux/svg/custom/use-modify-container-in-target-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
.../LayoutTests/platform/linux/svg/custom/use-modify-target-container-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
...bKit/LayoutTests/platform/linux/svg/custom/use-on-g-containing-use-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-g-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-use-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+23 Bytes
(100%)
...x/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...ux/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-228 Bytes
(99%)
...t/LayoutTests/platform/mac-mac10.10/fast/text/complex-text-opacity-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+141 KB
...10/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+141 KB
...11/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
-214 Bytes
(99%)
...t/LayoutTests/platform/mac-mac10.12/fast/text/complex-text-opacity-expected.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
.../platform/mac-mac10.12/svg/as-background-image/svg-as-background-6-expected.png
Oops, something went wrong.
Binary file modified
BIN
-308 Bytes
(98%)
...platform/mac/compositing/reflections/nested-reflection-transformed-expected.png
Oops, something went wrong.
Binary file modified
BIN
+244 Bytes
(100%)
...latform/mac/compositing/reflections/nested-reflection-transformed2-expected.png
Oops, something went wrong.
Binary file modified
BIN
-207 Bytes
(99%)
...ests/platform/mac/compositing/reflections/reflection-in-composited-expected.png
Oops, something went wrong.
Binary file modified
BIN
+324 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/mac/fast/css/transformed-mask-expected.png
Oops, something went wrong.
Binary file modified
BIN
-2.36 KB
(81%)
...utTests/platform/mac/fast/reflections/opacity-reflection-transform-expected.png
Oops, something went wrong.
Binary file modified
BIN
-209 Bytes
(99%)
...rty/WebKit/LayoutTests/platform/mac/fast/text/complex-text-opacity-expected.png
Oops, something went wrong.
Binary file modified
BIN
+39 Bytes
(100%)
...Kit/LayoutTests/platform/mac/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
-563 Bytes
(96%)
...latform/mac/paint/invalidation/reflection/reflection-with-rotation-expected.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...youtTests/platform/mac/svg/as-background-image/svg-as-background-6-expected.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...arty/WebKit/LayoutTests/platform/mac/svg/batik/text/textProperties-expected.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...LayoutTests/platform/mac/svg/custom/use-modify-container-in-target-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...it/LayoutTests/platform/mac/svg/custom/use-modify-target-container-expected.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...WebKit/LayoutTests/platform/mac/svg/custom/use-on-g-containing-use-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/mac/svg/custom/use-on-g-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/mac/svg/custom/use-on-use-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...c/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...ac/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
-318 Bytes
(98%)
...platform/win/compositing/reflections/nested-reflection-transformed-expected.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(100%)
...latform/win/compositing/reflections/nested-reflection-transformed2-expected.png
Oops, something went wrong.
Binary file modified
BIN
-68 Bytes
(100%)
...ests/platform/win/compositing/reflections/reflection-in-composited-expected.png
Oops, something went wrong.
Binary file modified
BIN
-7 Bytes
(100%)
...utTests/platform/win/fast/borders/inline-mask-overlay-image-outset-expected.png
Oops, something went wrong.
Binary file modified
BIN
+320 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/win/fast/css/transformed-mask-expected.png
Oops, something went wrong.
Binary file modified
BIN
-2.1 KB
(83%)
...utTests/platform/win/fast/reflections/opacity-reflection-transform-expected.png
Oops, something went wrong.
Binary file modified
BIN
+36 Bytes
(100%)
..._party/WebKit/LayoutTests/platform/win/images/color-profile-filter-expected.png
Oops, something went wrong.
Binary file modified
BIN
+78 Bytes
(100%)
...Kit/LayoutTests/platform/win/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
-583 Bytes
(95%)
...latform/win/paint/invalidation/reflection/reflection-with-rotation-expected.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-groups-01-b-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...youtTests/platform/win/svg/as-background-image/svg-as-background-6-expected.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...LayoutTests/platform/win/svg/custom/use-modify-container-in-target-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...it/LayoutTests/platform/win/svg/custom/use-modify-target-container-expected.png
Oops, something went wrong.
Binary file modified
BIN
-10 Bytes
(100%)
...WebKit/LayoutTests/platform/win/svg/custom/use-on-g-containing-use-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-g-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-use-expected.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...latform/win/virtual/exotic-color-space/images/color-profile-filter-expected.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...n/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...platform/win/virtual/gpu-rasterization/images/color-profile-filter-expected.png
Oops, something went wrong.
Binary file modified
BIN
-15 Bytes
(100%)
...in/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
+19 Bytes
(100%)
third_party/WebKit/LayoutTests/svg/custom/group-opacity-expected.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.