Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Issue 1714153002: [SPv2] Support composited plugins via foreign layers. (Closed)

Created:
4 years, 10 months ago by jbroman
Modified:
4 years, 9 months ago
Reviewers:
pdr., trchen, dcheng, enne (OOO)
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv2] Support composited plugins via foreign layers. BUG=587970 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/bf29b13a060e17f0e1cf96886ab1c798f7d54cc8 Cr-Commit-Position: refs/heads/master@{#378117} Committed: https://crrev.com/c5a5aaba0445bf16820fdf0a5e0093f98e06dd23 Cr-Commit-Position: refs/heads/master@{#378148} Committed: https://crrev.com/8b3ed673a5787b3cc14a2a8cc8de7380cb4c1d88 Cr-Commit-Position: refs/heads/master@{#378586}

Patch Set 1 #

Patch Set 2 : neglected to git-add README.txt #

Patch Set 3 : #

Patch Set 4 : now with README.md #

Patch Set 5 : platform test support depends on cc #

Patch Set 6 : fix gyp #

Total comments: 11

Patch Set 7 : rebase; remove four newlines per pdr #

Patch Set 8 : rebase #

Total comments: 4

Patch Set 9 : rebase, make incrementDisplayItemIndex argument non-optional #

Patch Set 10 : fix non-oilpan build #

Patch Set 11 : merge with master (DisplayItem::type rename) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+498 lines, -78 lines) Patch
M cc/blink/web_layer_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform_tests.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/geometry/IntSize.h View 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/geometry/IntSize.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h View 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +56 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp View 3 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp View 1 2 3 4 5 6 7 8 9 chunks +57 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/README.md View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestPaintArtifact.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 2 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 1 2 3 4 5 6 7 8 9 10 6 chunks +95 lines, -18 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/plugin.html View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 51 (16 generated)
jbroman
This is probably on the large side for a CL, but a bunch of it ...
4 years, 10 months ago (2016-02-22 17:52:46 UTC) #3
pdr.
https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp File third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp (right): https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp#newcode59 third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp:59: #ifndef NDEBUG Too many newlines! Think of the bytes. ...
4 years, 10 months ago (2016-02-23 05:47:05 UTC) #4
jbroman
https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp File third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp (right): https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp#newcode59 third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp:59: #ifndef NDEBUG On 2016/02/23 at 05:47:05, pdr wrote: > ...
4 years, 10 months ago (2016-02-23 18:43:50 UTC) #5
pdr.
https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h File third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h (right): https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h#newcode30 third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h:30: ForeignLayerDisplayItem( On 2016/02/23 at 18:43:50, jbroman wrote: > On ...
4 years, 10 months ago (2016-02-23 21:20:31 UTC) #6
jbroman
On 2016/02/23 at 21:20:31, pdr wrote: > https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h > File third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h (right): > > https://codereview.chromium.org/1714153002/diff/100001/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h#newcode30 ...
4 years, 10 months ago (2016-02-23 21:28:44 UTC) #7
pdr.
On 2016/02/23 at 21:28:44, jbroman wrote: > On 2016/02/23 at 21:20:31, pdr wrote: > > ...
4 years, 10 months ago (2016-02-23 22:03:32 UTC) #8
jbroman
On 2016/02/23 at 22:03:32, pdr wrote: > On 2016/02/23 at 21:28:44, jbroman wrote: > > ...
4 years, 10 months ago (2016-02-23 22:18:03 UTC) #9
trchen
On 2016/02/23 22:18:03, jbroman wrote: > On 2016/02/23 at 22:03:32, pdr wrote: > > On ...
4 years, 10 months ago (2016-02-23 22:36:05 UTC) #10
pdr.
On 2016/02/23 at 22:36:05, trchen wrote: > But how will it interact with subsequence cache? ...
4 years, 10 months ago (2016-02-23 22:52:52 UTC) #11
jbroman
On 2016/02/23 at 22:52:52, pdr wrote: > On 2016/02/23 at 22:36:05, trchen wrote: > > ...
4 years, 10 months ago (2016-02-25 15:34:52 UTC) #12
jbroman
Oh, but if we want to continue to use subsequence caching, it will need to ...
4 years, 10 months ago (2016-02-25 15:56:20 UTC) #13
pdr.
Jeremy found that the foreign chunk approach is more complex than originally thought. That complexity ...
4 years, 10 months ago (2016-02-25 22:00:52 UTC) #14
jbroman
https://codereview.chromium.org/1714153002/diff/140001/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h File third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h (right): https://codereview.chromium.org/1714153002/diff/140001/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h#newcode40 third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h:40: void incrementDisplayItemIndex(ItemBehavior = DefaultBehavior); On 2016/02/25 at 22:00:52, pdr ...
4 years, 10 months ago (2016-02-26 16:07:31 UTC) #15
pdr.
On 2016/02/26 at 16:07:31, jbroman wrote: > https://codereview.chromium.org/1714153002/diff/140001/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h > File third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h (right): > > https://codereview.chromium.org/1714153002/diff/140001/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h#newcode40 ...
4 years, 10 months ago (2016-02-26 16:12:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714153002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714153002/180001
4 years, 10 months ago (2016-02-26 19:03:31 UTC) #19
jbroman
+enne for cc/blink/ Whoops, I need a cc/blink/ owner to look at the "adding a ...
4 years, 10 months ago (2016-02-26 19:14:49 UTC) #22
enne (OOO)
lgtm
4 years, 10 months ago (2016-02-26 23:47:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714153002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714153002/180001
4 years, 9 months ago (2016-02-27 05:12:22 UTC) #25
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 9 months ago (2016-02-27 05:20:50 UTC) #26
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/bf29b13a060e17f0e1cf96886ab1c798f7d54cc8 Cr-Commit-Position: refs/heads/master@{#378117}
4 years, 9 months ago (2016-02-27 05:22:20 UTC) #28
dcheng
Bots are sad: ../../third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp:100:83: error: no member named 'type' in 'blink::DisplayItem' m_newPaintChunks.incrementDisplayItemIndex(behaviorOfItemType(displayItem.type()));
4 years, 9 months ago (2016-02-27 05:59:27 UTC) #30
dcheng
From https://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Builder&number=63971
4 years, 9 months ago (2016-02-27 05:59:36 UTC) #31
dcheng
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1738403002/ by [email protected]. ...
4 years, 9 months ago (2016-02-27 05:59:52 UTC) #32
jbroman
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1730173009/ by [email protected]. ...
4 years, 9 months ago (2016-02-27 06:00:08 UTC) #33
jbroman
Relanding now, merged with master (with the DisplayItem::type -> DisplayItem::getType rename included).
4 years, 9 months ago (2016-02-28 00:51:46 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714153002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714153002/200001
4 years, 9 months ago (2016-02-28 00:52:18 UTC) #37
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-02-28 02:11:12 UTC) #38
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/c5a5aaba0445bf16820fdf0a5e0093f98e06dd23 Cr-Commit-Position: refs/heads/master@{#378148}
4 years, 9 months ago (2016-02-28 02:12:21 UTC) #40
nektarios
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/1746873002/ by [email protected]. ...
4 years, 9 months ago (2016-02-29 18:27:40 UTC) #41
jbroman
On 2016/02/29 at 18:27:40, nektar wrote: > A revert of this CL (patchset #11 id:200001) ...
4 years, 9 months ago (2016-03-01 19:12:39 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714153002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714153002/200001
4 years, 9 months ago (2016-03-01 19:13:09 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/31602)
4 years, 9 months ago (2016-03-01 21:11:01 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714153002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714153002/200001
4 years, 9 months ago (2016-03-01 21:13:03 UTC) #48
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-03-01 22:51:46 UTC) #49
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 22:53:43 UTC) #51
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/8b3ed673a5787b3cc14a2a8cc8de7380cb4c1d88
Cr-Commit-Position: refs/heads/master@{#378586}

Powered by Google App Engine
This is Rietveld 408576698