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

Issue 318793002: When performing a fast-path scroll, issue repaints for viewport-constrained layers (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Visibility:
Public.

Description

When performing a fast-path scroll, issue repaints for viewport-constrained layers relative to their repaint container, not their enclosing composited ancestor. The latter is wrong for squashing. BUG=370664 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175534

Patch Set 1 #

Patch Set 2 : Remove dead code. #

Patch Set 3 : Fix. #

Total comments: 6

Patch Set 4 : Merged. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
chrishtr
6 years, 6 months ago (2014-06-04 19:57:29 UTC) #1
Ian Vollick
On 2014/06/04 19:57:29, chrishtr wrote: That totally makes sense. lgtm.
6 years, 6 months ago (2014-06-04 20:02:06 UTC) #2
ojan
lgtm as well. https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp#newcode1423 Source/core/frame/FrameView.cpp:1423: if (repaintContainer && !repaintContainer->isRenderView()) { Can ...
6 years, 6 months ago (2014-06-04 20:07:28 UTC) #3
chrishtr
https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp#newcode1423 Source/core/frame/FrameView.cpp:1423: if (repaintContainer && !repaintContainer->isRenderView()) { On 2014/06/04 20:07:29, ojan ...
6 years, 6 months ago (2014-06-04 20:11:41 UTC) #4
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-04 20:11:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/318793002/40001
6 years, 6 months ago (2014-06-04 20:12:44 UTC) #6
leviw_travelin_and_unemployed
https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp#newcode1423 Source/core/frame/FrameView.cpp:1423: if (repaintContainer && !repaintContainer->isRenderView()) { On 2014/06/04 20:11:41, chrishtr ...
6 years, 6 months ago (2014-06-04 20:37:24 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-04 21:07:47 UTC) #8
chrishtr
https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp#newcode1423 Source/core/frame/FrameView.cpp:1423: if (repaintContainer && !repaintContainer->isRenderView()) { On 2014/06/04 20:37:25, leviw ...
6 years, 6 months ago (2014-06-04 21:18:56 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 21:31:00 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6953)
6 years, 6 months ago (2014-06-04 21:31:00 UTC) #11
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-04 21:34:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/318793002/40001
6 years, 6 months ago (2014-06-04 21:35:08 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-04 22:08:11 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 22:11:19 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6956) linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/11027)
6 years, 6 months ago (2014-06-04 22:11:20 UTC) #16
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-04 23:05:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/318793002/40001
6 years, 6 months ago (2014-06-04 23:05:36 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-04 23:32:08 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 23:35:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6960) linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/11031)
6 years, 6 months ago (2014-06-04 23:35:11 UTC) #21
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-05 03:02:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/318793002/40001
6 years, 6 months ago (2014-06-05 03:02:26 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-05 03:15:49 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 03:17:56 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/11051)
6 years, 6 months ago (2014-06-05 03:17:57 UTC) #26
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-05 03:58:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/318793002/40001
6 years, 6 months ago (2014-06-05 03:59:06 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-05 04:01:43 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 04:03:26 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6981)
6 years, 6 months ago (2014-06-05 04:03:27 UTC) #31
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-05 04:12:12 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/318793002/50001
6 years, 6 months ago (2014-06-05 04:12:26 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-05 05:16:21 UTC) #34
commit-bot: I haz the power
Change committed as 175534
6 years, 6 months ago (2014-06-05 05:29:39 UTC) #35
ojan
https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameView.cpp#newcode1423 Source/core/frame/FrameView.cpp:1423: if (repaintContainer && !repaintContainer->isRenderView()) { I don't see scrollContentsFastPath ...
6 years, 6 months ago (2014-06-07 17:35:23 UTC) #36
chrishtr
6 years, 6 months ago (2014-06-09 16:40:17 UTC) #37
Message was sent while issue was closed.
https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameV...
File Source/core/frame/FrameView.cpp (right):

https://codereview.chromium.org/318793002/diff/40001/Source/core/frame/FrameV...
Source/core/frame/FrameView.cpp:1423: if (repaintContainer &&
!repaintContainer->isRenderView()) {
On 2014/06/07 17:35:23, ojan wrote:
> I don't see scrollContentsFastPath on that stack. I know that we can get null
> repaintContainers in general (i.e. for renderers that are not rooted), but
what
> I'm asking is if we can get them in scrollContentsFastPath.

Ok I see, I misinterpreted your question. It does look impossible. I'll add the
assert.

Powered by Google App Engine
This is Rietveld 408576698