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

Issue 2162193002: Add logic to GLRenderer to support RenderPassDrawQuad copying. (Closed)

Created:
4 years, 5 months ago by erikchen
Modified:
4 years, 5 months ago
Reviewers:
ccameron
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add logic to GLRenderer to support RenderPassDrawQuad copying. If the overlay processor emits a CALayerOverlay with a valid render_pass_id member, then the GLRenderer needs to copy the contents of the render pass to an overlay resource. The GLRenderer uses a ResourcePool to allocate and reuse overlay resources. BUG=581526 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/31df088c9aa21cada253b2e17dca1ff383697975 Cr-Commit-Position: refs/heads/master@{#407647}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Clean up. #

Total comments: 10

Patch Set 4 : Comments from ccameron #

Patch Set 5 : Cleanup. #

Total comments: 10

Patch Set 6 : Comments from ccameron. #

Patch Set 7 : Comments from ccameron. #

Patch Set 8 : Clean up. #

Total comments: 2

Patch Set 9 : Rebase. #

Patch Set 10 : Construct the resource pool on demand. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -6 lines) Patch
M cc/output/direct_renderer.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/gl_renderer.h View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 5 chunks +63 lines, -2 lines 0 comments Download
M cc/output/output_surface.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 72 (48 generated)
erikchen
ccameron: Please review.
4 years, 5 months ago (2016-07-19 22:59:37 UTC) #13
ccameron
On 2016/07/19 22:59:37, erikchen wrote: > ccameron: Please review. Running out now, will grab this ...
4 years, 5 months ago (2016-07-20 00:09:35 UTC) #15
ccameron
Bunch of comments, but they all fall into the following broad categories: 1. The "do ...
4 years, 5 months ago (2016-07-20 05:32:19 UTC) #18
erikchen
ccameron: PTAL https://codereview.chromium.org/2162193002/diff/40001/cc/output/ca_layer_overlay.h File cc/output/ca_layer_overlay.h (right): https://codereview.chromium.org/2162193002/diff/40001/cc/output/ca_layer_overlay.h#newcode42 cc/output/ca_layer_overlay.h:42: On 2016/07/20 05:32:19, ccameron wrote: > I'd ...
4 years, 5 months ago (2016-07-20 21:48:01 UTC) #23
ccameron
lg -- just suggest removing the ResourcePool changes (and allowing its taskrunner to be optional). ...
4 years, 5 months ago (2016-07-20 22:13:53 UTC) #26
erikchen
ccameron: PTAL https://codereview.chromium.org/2162193002/diff/80001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2162193002/diff/80001/cc/output/gl_renderer.cc#newcode3719 cc/output/gl_renderer.cc:3719: swapped_and_acked_overlay_resources_.erase(it); On 2016/07/20 22:13:53, ccameron wrote: > ...
4 years, 5 months ago (2016-07-20 23:40:39 UTC) #27
ccameron
My issue is with the interface we're adding the ResourcePool -- actually, there's a way ...
4 years, 5 months ago (2016-07-21 05:31:16 UTC) #32
erikchen
ccameron: PTAL
4 years, 5 months ago (2016-07-21 20:44:03 UTC) #33
ccameron
lgtm https://codereview.chromium.org/2162193002/diff/140001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2162193002/diff/140001/cc/output/gl_renderer.cc#newcode3750 cc/output/gl_renderer.cc:3750: gl_->CopySubTextureCHROMIUM(source_texture, destination.texture_id(), 0, 0, 0, nit: I guess ...
4 years, 5 months ago (2016-07-21 20:47:18 UTC) #34
erikchen
https://codereview.chromium.org/2162193002/diff/140001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2162193002/diff/140001/cc/output/gl_renderer.cc#newcode3750 cc/output/gl_renderer.cc:3750: gl_->CopySubTextureCHROMIUM(source_texture, destination.texture_id(), 0, 0, 0, On 2016/07/21 20:47:18, ccameron ...
4 years, 5 months ago (2016-07-21 20:55:14 UTC) #36
ccameron
On 2016/07/21 20:55:14, erikchen wrote: > https://codereview.chromium.org/2162193002/diff/140001/cc/output/gl_renderer.cc > File cc/output/gl_renderer.cc (right): > > https://codereview.chromium.org/2162193002/diff/140001/cc/output/gl_renderer.cc#newcode3750 > ...
4 years, 5 months ago (2016-07-21 21:01:09 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162193002/160001
4 years, 5 months ago (2016-07-22 00:06:07 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/108552)
4 years, 5 months ago (2016-07-22 02:40:39 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162193002/160001
4 years, 5 months ago (2016-07-22 16:06:41 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/109048)
4 years, 5 months ago (2016-07-22 17:14:44 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162193002/160001
4 years, 5 months ago (2016-07-22 20:08:40 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/109268)
4 years, 5 months ago (2016-07-22 22:50:29 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162193002/160001
4 years, 5 months ago (2016-07-23 14:18:57 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/109580)
4 years, 5 months ago (2016-07-23 15:15:48 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162193002/160001
4 years, 5 months ago (2016-07-25 16:47:03 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/109927)
4 years, 5 months ago (2016-07-25 18:03:58 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162193002/180001
4 years, 5 months ago (2016-07-26 00:15:37 UTC) #68
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-26 00:20:40 UTC) #70
commit-bot: I haz the power
4 years, 5 months ago (2016-07-26 00:23:08 UTC) #72
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/31df088c9aa21cada253b2e17dca1ff383697975
Cr-Commit-Position: refs/heads/master@{#407647}

Powered by Google App Engine
This is Rietveld 408576698