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

Issue 2205133003: Implement new RPDQ copy logic for CALayer promotion. (Closed)

Created:
4 years, 4 months ago by erikchen
Modified:
4 years, 4 months ago
Reviewers:
Ilya Sherman, ccameron
CC:
chromium-reviews, jam, cc-bugs_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@temp60_more_refactor
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement new RPDQ copy logic for CALayer promotion. RPDQ promotion isn't enabled yet. That will be done in a follow up CL. The new logic heavily reuses the existing RPDQ drawing logic, but uses a custom drawing context instead of a DrawingFrame and RenderPass. BUG=581526 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/d9a09cd1eb5cb9bab507ec2841726c02b316260d Cr-Commit-Position: refs/heads/master@{#410767}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. Add forward declaration. #

Patch Set 4 : Add an include to appease Windows compile. Fix some IWYU and header inclusion problems. #

Patch Set 5 : Rebase. #

Patch Set 6 : Fix vertical flip. #

Total comments: 10

Patch Set 7 : Comments from ccameron@. #

Patch Set 8 : More cleanup. #

Patch Set 9 : More aa fixes. #

Patch Set 10 : More tests. #

Patch Set 11 : Rebase. #

Patch Set 12 : Fix cc_unittests. #

Total comments: 1

Patch Set 13 : Comments from ccameron #

Patch Set 14 : Cleanup. #

Total comments: 4

Patch Set 15 : Comments from ccameron. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -36 lines) Patch
M cc/output/ca_layer_overlay.h View 1 2 3 4 5 6 3 chunks +4 lines, -1 line 0 comments Download
M cc/output/ca_layer_overlay.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +5 lines, -11 lines 0 comments Download
M cc/output/gl_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +24 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +195 lines, -12 lines 0 comments Download
M cc/output/overlay_processor.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +7 lines, -7 lines 0 comments Download
M cc/quads/render_pass_draw_quad.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/quads/render_pass_draw_quad.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/gpu/filter_effects.html View 1 2 3 4 5 6 7 8 9 3 chunks +25 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 51 (38 generated)
erikchen
ccameron: Please review.
4 years, 4 months ago (2016-08-03 17:20:13 UTC) #4
ccameron
Some remarks -- whiteboard time would solve all of this, I'm sure. https://codereview.chromium.org/2205133003/diff/100001/cc/output/ca_layer_overlay.cc File cc/output/ca_layer_overlay.cc ...
4 years, 4 months ago (2016-08-04 01:46:01 UTC) #16
erikchen
ccameron: PTAL https://codereview.chromium.org/2205133003/diff/100001/cc/output/ca_layer_overlay.cc File cc/output/ca_layer_overlay.cc (right): https://codereview.chromium.org/2205133003/diff/100001/cc/output/ca_layer_overlay.cc#newcode307 cc/output/ca_layer_overlay.cc:307: return *this; On 2016/08/04 01:46:01, ccameron wrote: ...
4 years, 4 months ago (2016-08-05 17:15:06 UTC) #19
ccameron
I was thinking of something even less invasive -- just computing the image of the ...
4 years, 4 months ago (2016-08-08 21:36:53 UTC) #30
ccameron
https://codereview.chromium.org/2205133003/diff/220001/cc/output/ca_layer_overlay.cc File cc/output/ca_layer_overlay.cc (right): https://codereview.chromium.org/2205133003/diff/220001/cc/output/ca_layer_overlay.cc#newcode70 cc/output/ca_layer_overlay.cc:70: CALayerOverlay* ca_layer_overlay) { Cause we're messing with the 3D ...
4 years, 4 months ago (2016-08-08 21:48:10 UTC) #31
erikchen
ccameron: PTAL
4 years, 4 months ago (2016-08-09 00:01:28 UTC) #33
erikchen
isherman: Please review tools/metrics/histograms/histograms.xml
4 years, 4 months ago (2016-08-09 01:43:04 UTC) #38
ccameron
lgtm, sorry for the back-and-forth https://codereview.chromium.org/2205133003/diff/260001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2205133003/diff/260001/cc/output/gl_renderer.cc#newcode3975 cc/output/gl_renderer.cc:3975: ScopedFramebufferDeleter framebuffer_deleter(temp_fbo, gl_); Because ...
4 years, 4 months ago (2016-08-09 06:32:15 UTC) #39
erikchen
https://codereview.chromium.org/2205133003/diff/260001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2205133003/diff/260001/cc/output/gl_renderer.cc#newcode3975 cc/output/gl_renderer.cc:3975: ScopedFramebufferDeleter framebuffer_deleter(temp_fbo, gl_); On 2016/08/09 06:32:15, ccameron wrote: > ...
4 years, 4 months ago (2016-08-09 16:52:13 UTC) #40
Ilya Sherman
histograms.xml lgtm
4 years, 4 months ago (2016-08-09 19:17:46 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/2205133003/280001
4 years, 4 months ago (2016-08-09 19:19:47 UTC) #48
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 4 months ago (2016-08-09 19:43:06 UTC) #49
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 19:46:26 UTC) #51
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/d9a09cd1eb5cb9bab507ec2841726c02b316260d
Cr-Commit-Position: refs/heads/master@{#410767}

Powered by Google App Engine
This is Rietveld 408576698