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

Issue 13462003: Add support for accelerated fixed root background (Closed)

Created:
7 years, 8 months ago by Ian Vollick
Modified:
7 years, 5 months ago
Reviewers:
jamesr, enne (OOO)
CC:
blink-reviews, enne (OOO)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@background-attachment-fixed2
Visibility:
Public.

Description

Add support for accelerated fixed root background Putting a fixed root background in a separate composited layer requires a tiled layer cache currently. This patch makes it possible to use the feature, even without a tiled layer cache. This patch also adds fixes from this WebKit patch by Simon Fraser: https://bugs.webkit.org/show_bug.cgi?id=115951 This patch depends on tests and plumbing provided by https://codereview.chromium.org/17398002/ BUG=180885 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153648

Patch Set 1 #

Total comments: 7

Patch Set 2 : Now with no scroll compensation. #

Patch Set 3 : Adding a FIXME for a bit that'll need fixing. #

Total comments: 2

Patch Set 4 : . #

Patch Set 5 : Rebased after demise of the NCCH. #

Total comments: 5

Patch Set 6 : . #

Total comments: 1

Patch Set 7 : . #

Patch Set 8 : rebase. #

Patch Set 9 : rebase now that pixel result has landed. #

Patch Set 10 : Updated with WK layout tests from smfr. #

Patch Set 11 : Moved the layout tests. #

Total comments: 8

Patch Set 12 : . #

Total comments: 13

Patch Set 13 : . #

Patch Set 14 : . #

Total comments: 4

Patch Set 15 : . #

Patch Set 16 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -81 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +0 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 18 chunks +29 lines, -66 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +23 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Ian Vollick
This patch is based on https://codereview.chromium.org/13665002/
7 years, 8 months ago (2013-04-05 02:20:41 UTC) #1
jamesr
I think this can be simplified a bit without making any behavior changes. Remember blink ...
7 years, 8 months ago (2013-04-05 04:12:08 UTC) #2
jamesr
I'd find it useful if you would indicate what GraphicsLayer tree you expect to have ...
7 years, 8 months ago (2013-04-08 21:38:07 UTC) #3
jamesr
You'll have to teach the NCCH not to paint the background phase at least, right?
7 years, 8 months ago (2013-04-08 21:38:22 UTC) #4
jamesr
https://codereview.chromium.org/13462003/diff/10001/Source/WebCore/page/FrameView.cpp File Source/WebCore/page/FrameView.cpp (right): https://codereview.chromium.org/13462003/diff/10001/Source/WebCore/page/FrameView.cpp#newcode2008 Source/WebCore/page/FrameView.cpp:2008: if (m_nestedLayoutCount <= 1 && (hasViewportConstrainedObjects() || hasFixedRootBackgroundLayer())) { ...
7 years, 8 months ago (2013-04-09 19:45:48 UTC) #5
Ian Vollick
On 2013/04/09 19:45:48, jamesr wrote: > https://codereview.chromium.org/13462003/diff/10001/Source/WebCore/page/FrameView.cpp > File Source/WebCore/page/FrameView.cpp (right): > > https://codereview.chromium.org/13462003/diff/10001/Source/WebCore/page/FrameView.cpp#newcode2008 > ...
7 years, 7 months ago (2013-05-08 20:48:56 UTC) #6
Ian Vollick
On 2013/05/08 20:48:56, vollick wrote: > On 2013/04/09 19:45:48, jamesr wrote: > > > https://codereview.chromium.org/13462003/diff/10001/Source/WebCore/page/FrameView.cpp ...
7 years, 7 months ago (2013-05-21 20:49:27 UTC) #7
jamesr
Definitely looks better. I think messing with children based on their position in the hierarchy ...
7 years, 7 months ago (2013-05-21 23:05:12 UTC) #8
Ian Vollick
Thanks for the review! https://codereview.chromium.org/13462003/diff/24001/Source/core/rendering/RenderLayerBacking.cpp File Source/core/rendering/RenderLayerBacking.cpp (right): https://codereview.chromium.org/13462003/diff/24001/Source/core/rendering/RenderLayerBacking.cpp#newcode986 Source/core/rendering/RenderLayerBacking.cpp:986: // This assumes that the ...
7 years, 7 months ago (2013-05-22 15:49:33 UTC) #9
jamesr
This is definitely not less error-prone. I have no idea what you are trying to ...
7 years, 7 months ago (2013-05-22 19:44:01 UTC) #10
Ian Vollick
On 2013/05/22 19:44:01, jamesr wrote: > This is definitely not less error-prone. I have no ...
7 years, 7 months ago (2013-05-23 14:20:09 UTC) #11
Ian Vollick
On 2013/05/23 14:20:09, vollick wrote: > On 2013/05/22 19:44:01, jamesr wrote: > > This is ...
7 years, 6 months ago (2013-05-31 14:17:07 UTC) #12
Ian Vollick
On 2013/05/31 14:17:07, vollick wrote: > On 2013/05/23 14:20:09, vollick wrote: > > On 2013/05/22 ...
7 years, 6 months ago (2013-06-06 17:11:03 UTC) #13
jamesr
The setting and tests could (and probably should) be landed separately. The implementation itself still ...
7 years, 6 months ago (2013-06-13 19:48:47 UTC) #14
Ian Vollick
Thanks for the review! I've done another pass. PTAL when you're able. On 2013/06/13 19:48:47, ...
7 years, 6 months ago (2013-06-21 14:53:45 UTC) #15
Ian Vollick
On 2013/06/21 14:53:45, vollick wrote: > Thanks for the review! I've done another pass. PTAL ...
7 years, 6 months ago (2013-06-25 20:16:22 UTC) #16
enne (OOO)
https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp#newcode3526 Source/core/rendering/RenderLayer.cpp:3526: else if (!backing()->paintsIntoCompositedAncestor() style nit: [braces-single-line] [braces-must-match] https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayerBacking.cpp File ...
7 years, 5 months ago (2013-07-02 19:32:41 UTC) #17
Ian Vollick
https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp#newcode3526 Source/core/rendering/RenderLayer.cpp:3526: else if (!backing()->paintsIntoCompositedAncestor() On 2013/07/02 19:32:41, enne wrote: > ...
7 years, 5 months ago (2013-07-03 01:32:02 UTC) #18
enne (OOO)
https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp#newcode3526 Source/core/rendering/RenderLayer.cpp:3526: else if (!backing()->paintsIntoCompositedAncestor() On 2013/07/03 01:32:02, vollick wrote: > ...
7 years, 5 months ago (2013-07-03 01:52:26 UTC) #19
Ian Vollick
On 2013/07/03 01:52:26, enne wrote: > https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp > File Source/core/rendering/RenderLayer.cpp (right): > > https://codereview.chromium.org/13462003/diff/67001/Source/core/rendering/RenderLayer.cpp#newcode3526 > ...
7 years, 5 months ago (2013-07-03 12:30:59 UTC) #20
enne (OOO)
lgtm
7 years, 5 months ago (2013-07-03 16:42:52 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/13462003/93001
7 years, 5 months ago (2013-07-03 17:55:19 UTC) #22
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-03 17:55:21 UTC) #23
jamesr
lgtm2, but you need to update the patch description now that you've split out the ...
7 years, 5 months ago (2013-07-03 22:04:56 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/13462003/103001
7 years, 5 months ago (2013-07-05 19:57:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/13462003/105004
7 years, 5 months ago (2013-07-05 20:26:41 UTC) #26
commit-bot: I haz the power
7 years, 5 months ago (2013-07-05 22:23:14 UTC) #27
Message was sent while issue was closed.
Change committed as 153648

Powered by Google App Engine
This is Rietveld 408576698