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

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed)

Created:
7 years, 11 months ago by Leandro Graciá Gil
Modified:
7 years, 11 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, jamesr
Visibility:
Public.

Description

Implement a method to access the non-composited content root layer picture pile. This method is required to implement the CapturePicture API in Android WebView. BUG=167908 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175618

Patch Set 1 : resubmitting, upload errors. #

Patch Set 2 : adding LayerRect(). #

Patch Set 3 : fix trybot failures. #

Patch Set 4 : implement missing method in FakeProxy. #

Patch Set 5 : remove override. #

Patch Set 6 : resubmitting, empty files in the review. #

Total comments: 18

Patch Set 7 : review fixes. #

Total comments: 6

Patch Set 8 : more review fixes. #

Patch Set 9 : fix windows bots. #

Total comments: 4

Patch Set 10 : exposing a SkPicture instead of PicturePileImpl. #

Total comments: 1

Patch Set 11 : rebase & minor fixes in GetFlattenedPicture. #

Patch Set 12 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -2 lines) Patch
M cc/layer_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M cc/layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +69 lines, -0 lines 0 comments Download
M cc/picture.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M cc/picture_layer_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M cc/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M cc/picture_pile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M cc/picture_pile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +25 lines, -0 lines 0 comments Download
M cc/proxy.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -1 line 0 comments Download
M cc/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M cc/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M cc/test/fake_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M cc/thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M cc/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Leandro Graciá Gil
7 years, 11 months ago (2013-01-02 18:55:37 UTC) #1
enne (OOO)
In general, I'd like to keep the increase in API surface on Layer and LayerTreeHost ...
7 years, 11 months ago (2013-01-02 19:35:22 UTC) #2
Leandro Graciá Gil
Replying a few comments. I'll implement the rest of the changes tomorrow. https://codereview.chromium.org/11731002/diff/20006/cc/layer_tree_host.cc File cc/layer_tree_host.cc ...
7 years, 11 months ago (2013-01-02 19:50:46 UTC) #3
enne (OOO)
https://codereview.chromium.org/11731002/diff/20006/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11731002/diff/20006/cc/layer_tree_host.cc#newcode908 cc/layer_tree_host.cc:908: // in a breadth-first exploration from the root. On ...
7 years, 11 months ago (2013-01-02 20:16:57 UTC) #4
Leandro Graciá Gil
https://codereview.chromium.org/11731002/diff/20006/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11731002/diff/20006/cc/layer_tree_host.cc#newcode908 cc/layer_tree_host.cc:908: // in a breadth-first exploration from the root. On ...
7 years, 11 months ago (2013-01-03 20:32:10 UTC) #5
enne (OOO)
https://codereview.chromium.org/11731002/diff/26009/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/11731002/diff/26009/cc/layer_tree_host_impl.cc#newcode1730 cc/layer_tree_host_impl.cc:1730: DCHECK(layer); The root layer could be null. I think ...
7 years, 11 months ago (2013-01-03 23:55:30 UTC) #6
Leandro Graciá Gil
https://codereview.chromium.org/11731002/diff/26009/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/11731002/diff/26009/cc/layer_tree_host_impl.cc#newcode1730 cc/layer_tree_host_impl.cc:1730: DCHECK(layer); On 2013/01/03 23:55:30, enne wrote: > The root ...
7 years, 11 months ago (2013-01-04 00:41:23 UTC) #7
enne (OOO)
Thanks. I just have one more lingering question. I'm assuming that the original caller just ...
7 years, 11 months ago (2013-01-04 17:36:36 UTC) #8
Leandro Graciá Gil
Sounds good to me. How could we do that? PicturePileImpl is holding a list SkPictures ...
7 years, 11 months ago (2013-01-04 17:44:50 UTC) #9
danakj
https://codereview.chromium.org/11731002/diff/18013/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/11731002/diff/18013/cc/layer_tree_host_impl.cc#newcode1748 cc/layer_tree_host_impl.cc:1748: // Non-composited content root is the first drawable picture ...
7 years, 11 months ago (2013-01-04 18:10:01 UTC) #10
Leandro Graciá Gil
https://codereview.chromium.org/11731002/diff/18013/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/11731002/diff/18013/cc/layer_tree_host_impl.cc#newcode1748 cc/layer_tree_host_impl.cc:1748: // Non-composited content root is the first drawable picture ...
7 years, 11 months ago (2013-01-04 20:40:15 UTC) #11
Leandro Graciá Gil
Any further changes required here?
7 years, 11 months ago (2013-01-08 13:54:21 UTC) #12
danakj
https://codereview.chromium.org/11731002/diff/34001/cc/picture_pile_impl.cc File cc/picture_pile_impl.cc (right): https://codereview.chromium.org/11731002/diff/34001/cc/picture_pile_impl.cc#newcode104 cc/picture_pile_impl.cc:104: skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); yay, great use of ...
7 years, 11 months ago (2013-01-08 15:25:57 UTC) #13
enne (OOO)
lgtm
7 years, 11 months ago (2013-01-08 15:54:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11731002/48001
7 years, 11 months ago (2013-01-08 16:43:13 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-08 17:02:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11731002/48001
7 years, 11 months ago (2013-01-08 17:28:25 UTC) #17
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 11 months ago (2013-01-08 18:27:34 UTC) #18
Leandro Graciá Gil
On 2013/01/08 18:27:34, I haz the power (commit-bot) wrote: > Step "update" is always a ...
7 years, 11 months ago (2013-01-08 18:31:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11731002/48001
7 years, 11 months ago (2013-01-08 19:25:04 UTC) #20
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-08 19:25:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11731002/57001
7 years, 11 months ago (2013-01-08 20:04:11 UTC) #22
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 00:15:31 UTC) #23
Message was sent while issue was closed.
Change committed as 175618

Powered by Google App Engine
This is Rietveld 408576698