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

Issue 8764001: Plumb damage rect to browser compositor. (Closed)

Created:
9 years ago by jonathan.backer
Modified:
9 years ago
CC:
chromium-reviews, yusukes+watch_chromium.org, Ian Vollick, jam, penghuang+watch_chromium.org, apatrick_chromium, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, James Su
Visibility:
Public.

Description

Plumb damage rect to browser compositor. Relies on WK patch: https://bugs.webkit.org/show_bug.cgi?id=73485 for damage to external texture and WK patch: https://bugs.webkit.org/show_bug.cgi?id=67341 for scissoring optimization. BUG=none TEST=run GYP_DEFINES="use_aura=1 use_webkit_compositor=1" on a machine that supports GLX_MESA_copy_sub_buffer; go to http://www.webkit.org/blog-files/3d-transforms/poster-circle.html; move a different X11 window over top of the chrome window; see that only part of the chrome window (with the animation) gets redrawn Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113801

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : "" #

Total comments: 4

Patch Set 4 : Nits. #

Patch Set 5 : "" #

Total comments: 6

Patch Set 6 : Address reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -6 lines) Patch
M content/browser/renderer_host/accelerated_surface_container_linux.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/accelerated_surface_container_linux_cc.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/accelerated_surface_container_linux_gl.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 2 chunks +10 lines, -5 lines 0 comments Download
M content/common/gpu/image_transport_surface_linux.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ui/gfx/compositor/compositor_gl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/compositor/layer.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
jonathan.backer
9 years ago (2011-11-30 21:55:31 UTC) #1
piman
http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode339 content/browser/renderer_host/render_widget_host_view_aura.cc:339: window_->layer()->bounds().height() - params.y - params.height, Shouldn't that depend on ...
9 years ago (2011-11-30 22:28:44 UTC) #2
piman
On Wed, Nov 30, 2011 at 2:28 PM, <piman@chromium.org> wrote: > > http://codereview.chromium.**org/8764001/diff/1/content/** > browser/renderer_host/render_**widget_host_view_aura.cc<http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc> ...
9 years ago (2011-11-30 22:43:02 UTC) #3
jonathan.backer
Tested on GLX and EGL (sort of --- pretended that I had the necessary extensions ...
9 years ago (2011-12-05 20:43:17 UTC) #4
jonathan.backer
+apatrick
9 years ago (2011-12-05 22:32:43 UTC) #5
piman
http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode339 content/browser/renderer_host/render_widget_host_view_aura.cc:339: window_->layer()->bounds().height() - params.y - params.height, On 2011/11/30 22:28:44, piman ...
9 years ago (2011-12-06 00:46:34 UTC) #6
apatrick_chromium
http://codereview.chromium.org/8764001/diff/10001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8764001/diff/10001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode351 content/browser/renderer_host/render_widget_host_view_aura.cc:351: container->GetSize().height() - params.y - params.height, It looks like a ...
9 years ago (2011-12-06 01:10:30 UTC) #7
jonathan.backer
On 2011/12/06 00:46:34, piman wrote: > http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc > File content/browser/renderer_host/render_widget_host_view_aura.cc (right): > > http://codereview.chromium.org/8764001/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode339 > ...
9 years ago (2011-12-06 01:22:57 UTC) #8
jonathan.backer
http://codereview.chromium.org/8764001/diff/10001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8764001/diff/10001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode351 content/browser/renderer_host/render_widget_host_view_aura.cc:351: container->GetSize().height() - params.y - params.height, On 2011/12/06 01:10:30, apatrick_chromium ...
9 years ago (2011-12-06 01:25:12 UTC) #9
apatrick_chromium
Well apart for my nit about braces, LGTM for my part.
9 years ago (2011-12-06 01:32:07 UTC) #10
jonathan.backer
http://codereview.chromium.org/8764001/diff/10001/ui/gfx/compositor/layer.cc File ui/gfx/compositor/layer.cc (right): http://codereview.chromium.org/8764001/diff/10001/ui/gfx/compositor/layer.cc#newcode334 ui/gfx/compositor/layer.cc:334: else On 2011/12/06 01:10:30, apatrick_chromium wrote: > nit: According ...
9 years ago (2011-12-06 17:42:33 UTC) #11
jonathan.backer
+sky for RWHVA OWNERS
9 years ago (2011-12-08 15:57:39 UTC) #12
sky
http://codereview.chromium.org/8764001/diff/21001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8764001/diff/21001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode378 content/browser/renderer_host/render_widget_host_view_aura.cc:378: // Co-ords come in GL co-ord space. Need to ...
9 years ago (2011-12-08 17:39:05 UTC) #13
jonathan.backer
http://codereview.chromium.org/8764001/diff/21001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8764001/diff/21001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode378 content/browser/renderer_host/render_widget_host_view_aura.cc:378: // Co-ords come in GL co-ord space. Need to ...
9 years ago (2011-12-08 18:41:44 UTC) #14
piman
lgtm
9 years ago (2011-12-08 18:59:23 UTC) #15
sky
LGTM
9 years ago (2011-12-08 20:06:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/backer@chromium.org/8764001/25001
9 years ago (2011-12-08 20:19:42 UTC) #17
commit-bot: I haz the power
9 years ago (2011-12-08 23:47:01 UTC) #18
The commit queue went berserk retrying too often for a
seemingly flaky test. Builder is win_rel, revision is 113650, job name
was 8764001-25001 (previous was lost) (previous was lost) (previous was lost)
(retry).

Powered by Google App Engine
This is Rietveld 408576698