Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Issue 2068413002: cc: Remove fixed raster scale, stop rasterizing with will-change. (Closed)

Created:
4 years, 6 months ago by vmpstr
Modified:
4 years, 6 months ago
CC:
anandc+watch-blimp_chromium.org, blink-reviews, blink-reviews-api_chromium.org, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, dtrainor+watch-blimp_chromium.org, jam, jbauman+watch_chromium.org, jessicag+watch-blimp_chromium.org, kalyank, khushalsagar+watch-blimp_chromium.org, kinuko+watch, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, shaktisahu+watch-blimp_chromium.org, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove fixed raster scale, stop rasterizing with will-change. This patch replaces the current behavior of blocking all new scales once the ideal scale changes once. The new behavior looks at a will-change transform property: - If will-change is present, we don't reraster or choose a new scale. - If will-change is absent, we keep rerastering at a new scale. R=danakj@chromium.org, chrishtr@chromium.org BUG=600867 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/edd476edadbe9b9316f3527b0692836ced4230ce Cr-Commit-Position: refs/heads/master@{#401450}

Patch Set 1 #

Patch Set 2 : comments #

Total comments: 1

Patch Set 3 : update #

Total comments: 2

Patch Set 4 : comments #

Patch Set 5 : compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -284 lines) Patch
M blimp/client/feature/compositor/blimp_compositor.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 6 chunks +12 lines, -42 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 12 chunks +97 lines, -8 lines 0 comments Download
M cc/proto/begin_main_frame_and_commit_state.proto View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 3 chunks +0 lines, -16 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 3 chunks +1 line, -15 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_remote_server.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M cc/trees/proxy_common.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/proxy_common.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M cc/trees/proxy_impl.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M cc/trees/proxy_main.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor_delegate.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor_unittest.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/fixed-raster-scale-use-counts.html View 1 2 3 1 chunk +0 lines, -59 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/fixed-raster-scale-use-counts-expected.txt View 1 2 3 1 chunk +0 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/public/web/WebWidget.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/compositor/compositor.h View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
vmpstr
Please take a look. This patch also removes the use counter stuff. I couldn't just ...
4 years, 6 months ago (2016-06-15 22:54:05 UTC) #2
chrishtr
Looks great to me. I think we should go ahead and commit this now. We ...
4 years, 6 months ago (2016-06-16 04:47:32 UTC) #4
danakj
https://codereview.chromium.org/2068413002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/2068413002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode928 cc/layers/picture_layer_impl_unittest.cc:928: active_layer()->SetHasWillChangeTransformHint(true); What do you think of the test changes ...
4 years, 6 months ago (2016-06-16 18:15:29 UTC) #5
vmpstr
I've added more checks in the unittest... Without will change, it's kind of a boring ...
4 years, 6 months ago (2016-06-17 18:46:59 UTC) #6
danakj
OK LGTM Thanks
4 years, 6 months ago (2016-06-17 19:01:06 UTC) #7
chrishtr
The intent-to-ship got 3 LGTMs. Ok to commit this.
4 years, 6 months ago (2016-06-20 16:05:41 UTC) #8
chrishtr
lgtm Blink code LGTM % comment. https://codereview.chromium.org/2068413002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (left): https://codereview.chromium.org/2068413002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h#oldcode1179 third_party/WebKit/Source/core/frame/UseCounter.h:1179: FixedRasterScaleBlurryContent = 1373, ...
4 years, 6 months ago (2016-06-20 17:48:39 UTC) #9
nyquist
blimp lgtm
4 years, 6 months ago (2016-06-20 17:58:06 UTC) #11
vmpstr
+sievers for content/. Please take a look. https://codereview.chromium.org/2068413002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (left): https://codereview.chromium.org/2068413002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h#oldcode1179 third_party/WebKit/Source/core/frame/UseCounter.h:1179: FixedRasterScaleBlurryContent = ...
4 years, 6 months ago (2016-06-20 18:06:23 UTC) #13
no sievers
On 2016/06/20 18:06:23, vmpstr wrote: > +sievers for content/. Please take a look. > > ...
4 years, 6 months ago (2016-06-21 23:07:28 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2068413002/60001
4 years, 6 months ago (2016-06-22 00:00:45 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/222529) mac_chromium_gn_rel on ...
4 years, 6 months ago (2016-06-22 00:14:59 UTC) #18
chrishtr
vmpstr raised a question offline about whether we need to properly plumb the willChangeTransform bit ...
4 years, 6 months ago (2016-06-22 20:19:27 UTC) #19
vmpstr
On 2016/06/22 20:19:27, chrishtr wrote: > vmpstr raised a question offline about whether we need ...
4 years, 6 months ago (2016-06-22 20:26:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2068413002/80001
4 years, 6 months ago (2016-06-22 20:27:13 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-22 23:13:55 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 23:16:53 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/edd476edadbe9b9316f3527b0692836ced4230ce
Cr-Commit-Position: refs/heads/master@{#401450}

Powered by Google App Engine
This is Rietveld 408576698