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

Issue 131443007: aura: Remove old GL paths from RenderWidgetHostViewAura. (Closed)

Created:
6 years, 11 months ago by danakj
Modified:
6 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org, enne (OOO), ajuma
Visibility:
Public.

Description

aura: Remove old GL paths from RenderWidgetHostViewAura. Frames from the renderer are either legacy software, software compositing, or ubercomp. Remove the old GL composited paths that are no longer in use. For layout tests, put them into composited mailbox mode, and instead of sending the frame to the browser at all, just put the frame in a post task to ack back directly to the renderer. R=piman BUG=332998 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249226 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258742

Patch Set 1 #

Patch Set 2 : removecode: includemore #

Patch Set 3 : removecode: removemore #

Patch Set 4 : removecode: headertoo #

Patch Set 5 : aboutflags #

Total comments: 5

Patch Set 6 : moreflags #

Total comments: 1

Patch Set 7 : removemorecode #

Patch Set 8 : rebase #

Patch Set 9 : removecode: rebase #

Patch Set 10 : removecode: comment #

Patch Set 11 : disable tests that turn off threaded compositing #

Patch Set 12 : #

Patch Set 13 : one more test suite #

Patch Set 14 : remove AutoSizeSW #

Patch Set 15 : remove AutoSizeSW #

Patch Set 16 : remove AutoSizeSW #

Patch Set 17 : rebase #

Patch Set 18 : acks? #

Patch Set 19 : shortcutswap #

Total comments: 6

Patch Set 20 : rebase #

Patch Set 21 : dcheck #

Total comments: 6

Patch Set 22 : idremoved #

Patch Set 23 : weakptr #

Patch Set 24 : rebase #

Patch Set 25 : removecode: #

Patch Set 26 : removecode: #

Patch Set 27 : removecode: #

Patch Set 28 : removecode: ackpreviousframe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -482 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +13 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 8 chunks +7 lines, -44 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 23 chunks +26 lines, -348 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +9 lines, -82 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 4 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +43 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +5 lines, -1 line 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 74 (0 generated)
danakj
6 years, 11 months ago (2014-01-09 22:06:33 UTC) #1
danakj
This has https://codereview.chromium.org/132473004/ inside it for the trybots. Only RWHVA changes are this CL alone.
6 years, 11 months ago (2014-01-09 22:07:03 UTC) #2
danakj
aboutflag
6 years, 11 months ago (2014-01-09 22:52:25 UTC) #3
danakj
Removed the about:flags entry for delegated rendering on aura as well.
6 years, 11 months ago (2014-01-09 22:52:51 UTC) #4
piman
On 2014/01/09 22:52:51, danakj wrote: > Removed the about:flags entry for delegated rendering on aura ...
6 years, 11 months ago (2014-01-09 23:16:41 UTC) #5
piman
https://codereview.chromium.org/131443007/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/131443007/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1225 content/browser/renderer_host/render_widget_host_view_aura.cc:1225: NOTREACHED(); nit: Technically, a malicious renderer could swap on ...
6 years, 11 months ago (2014-01-09 23:24:18 UTC) #6
danakj
OK I removed yet more code and stopped using NOTREACHED/DCHECK as requested. PTAL https://codereview.chromium.org/131443007/diff/360001/chrome/browser/about_flags.cc File ...
6 years, 11 months ago (2014-01-10 00:34:14 UTC) #7
piman
lgtm https://codereview.chromium.org/131443007/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/131443007/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2367 content/browser/renderer_host/render_widget_host_view_aura.cc:2367: DCHECK(old_mailbox.IsSharedMemory()); nit: I think that code was still ...
6 years, 11 months ago (2014-01-10 01:45:08 UTC) #8
danakj
https://codereview.chromium.org/131443007/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/131443007/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2367 content/browser/renderer_host/render_widget_host_view_aura.cc:2367: DCHECK(old_mailbox.IsSharedMemory()); On 2014/01/10 01:45:09, piman wrote: > nit: I ...
6 years, 11 months ago (2014-01-10 17:51:41 UTC) #9
piman
On Fri, Jan 10, 2014 at 9:51 AM, <danakj@chromium.org> wrote: > > https://codereview.chromium.org/131443007/diff/280001/ > content/browser/renderer_host/render_widget_host_view_aura.cc ...
6 years, 11 months ago (2014-01-10 19:47:32 UTC) #10
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-03 20:37:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/820001
6 years, 10 months ago (2014-02-03 20:38:48 UTC) #12
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 10 months ago (2014-02-03 20:39:14 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 20:39:19 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 20:39:22 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 20:40:39 UTC) #16
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-03 21:53:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/950001
6 years, 10 months ago (2014-02-03 21:57:15 UTC) #18
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-03 23:06:17 UTC) #19
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 10 months ago (2014-02-03 23:09:19 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:09:21 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:09:23 UTC) #22
danakj
fsamual: please review chrome/browser/apps/web_view_browsertest.cc
6 years, 10 months ago (2014-02-03 23:09:38 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:11:10 UTC) #24
Fady Samuel
chrome/browser/apps/web_view_browsertest.cc LGTM
6 years, 10 months ago (2014-02-03 23:11:34 UTC) #25
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-03 23:22:07 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/1090001
6 years, 10 months ago (2014-02-03 23:26:11 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 04:16:25 UTC) #28
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=117668
6 years, 10 months ago (2014-02-04 04:16:26 UTC) #29
piman
You can get rid of AutoSizeSW. We really don't want it. On Mon, Feb 3, ...
6 years, 10 months ago (2014-02-04 04:53:20 UTC) #30
danakj
Done, disabled on aura.
6 years, 10 months ago (2014-02-04 18:18:21 UTC) #31
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-04 18:18:26 UTC) #32
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-04 18:19:08 UTC) #33
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-04 18:19:40 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/1430001
6 years, 10 months ago (2014-02-04 18:25:19 UTC) #35
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=256774
6 years, 10 months ago (2014-02-04 19:36:38 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/1430001
6 years, 10 months ago (2014-02-04 19:39:37 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/1430001
6 years, 10 months ago (2014-02-05 00:40:19 UTC) #38
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-05 18:51:12 UTC) #39
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-05 19:16:03 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/1430001
6 years, 10 months ago (2014-02-05 19:22:47 UTC) #41
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-05 21:58:35 UTC) #42
commit-bot: I haz the power
Retried try job too often on ios_rel_device_ninja for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device_ninja&number=398
6 years, 10 months ago (2014-02-05 23:27:03 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/1130002
6 years, 10 months ago (2014-02-05 23:27:23 UTC) #44
commit-bot: I haz the power
Change committed as 249226
6 years, 10 months ago (2014-02-06 02:20:07 UTC) #45
pdr.
A revert of this CL has been created in https://codereview.chromium.org/150153003/ by pdr@chromium.org. The reason for ...
6 years, 10 months ago (2014-02-06 08:03:05 UTC) #46
danakj
In my "/o\ look at all the ImageTransportSurface code" state, I uploaded a CL that ...
6 years, 10 months ago (2014-02-06 23:48:36 UTC) #47
jamesr
the 18->17 diff appears to have some unrelated changes in it - was there a ...
6 years, 10 months ago (2014-02-07 05:30:11 UTC) #48
danakj
On Fri, Feb 7, 2014 at 12:30 AM, <jamesr@chromium.org> wrote: > the 18->17 diff appears ...
6 years, 10 months ago (2014-02-07 17:08:55 UTC) #49
danakj
I made the compositing layout tests use composite-to-mailbox, and I made CompositorOutputSurface not even swap ...
6 years, 10 months ago (2014-02-07 20:00:55 UTC) #50
jamesr
The ps19->18 diff lgtm https://codereview.chromium.org/131443007/diff/2390001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/131443007/diff/2390001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1227 content/browser/renderer_host/render_widget_host_view_aura.cc:1227: // Oldschool composited mode is ...
6 years, 10 months ago (2014-02-07 20:43:48 UTC) #51
danakj
https://codereview.chromium.org/131443007/diff/2390001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/131443007/diff/2390001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1227 content/browser/renderer_host/render_widget_host_view_aura.cc:1227: // Oldschool composited mode is no longer supported. On ...
6 years, 10 months ago (2014-02-07 20:48:05 UTC) #52
danakj
https://codereview.chromium.org/131443007/diff/2390001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/131443007/diff/2390001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1227 content/browser/renderer_host/render_widget_host_view_aura.cc:1227: // Oldschool composited mode is no longer supported. On ...
6 years, 10 months ago (2014-02-07 20:49:02 UTC) #53
danakj
Green linux_layout_rel, yay. Going to CQ.
6 years, 10 months ago (2014-02-07 21:12:07 UTC) #54
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago (2014-02-07 21:12:15 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/2590002
6 years, 10 months ago (2014-02-07 21:15:19 UTC) #56
piman
drive-by... https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (right): https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc#newcode145 content/renderer/gpu/compositor_output_surface.cc:145: base::Unretained(this), Is this Unretained safe? https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc#newcode146 content/renderer/gpu/compositor_output_surface.cc:146: output_surface_id_, ...
6 years, 10 months ago (2014-02-07 21:51:23 UTC) #57
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 10 months ago (2014-02-07 21:57:24 UTC) #58
danakj
https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (right): https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc#newcode145 content/renderer/gpu/compositor_output_surface.cc:145: base::Unretained(this), On 2014/02/07 21:51:24, piman wrote: > Is this ...
6 years, 10 months ago (2014-02-07 21:58:42 UTC) #59
piman
https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (right): https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/compositor_output_surface.cc#newcode145 content/renderer/gpu/compositor_output_surface.cc:145: base::Unretained(this), On 2014/02/07 21:58:44, danakj wrote: > On 2014/02/07 ...
6 years, 10 months ago (2014-02-07 23:07:16 UTC) #60
danakj
There's still a timeout happening on mac, and flaky timeouts on win/mac/linux. I need to ...
6 years, 10 months ago (2014-02-08 00:55:31 UTC) #61
piman
lgtm
6 years, 10 months ago (2014-02-08 01:26:07 UTC) #62
danakj
Looks like this is now passing layout tests! I blame all the things enne/jamesr have ...
6 years, 9 months ago (2014-03-21 22:46:54 UTC) #63
piman
On 2014/03/21 22:46:54, danakj wrote: > Looks like this is now passing layout tests! I ...
6 years, 9 months ago (2014-03-21 22:48:24 UTC) #64
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-21 22:48:53 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/131443007/3100001
6 years, 9 months ago (2014-03-21 22:49:31 UTC) #66
commit-bot: I haz the power
Change committed as 258742
6 years, 9 months ago (2014-03-22 02:51:09 UTC) #67
vsevik
A revert of this CL has been created in https://codereview.chromium.org/209903002/ by vsevik@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-24 08:41:59 UTC) #68
vsevik
virtual/threaded/animations/compositor-start-event-timing.html is also timing out on win debug bots now.
6 years, 9 months ago (2014-03-24 09:03:04 UTC) #69
vsevik
and virtual/threaded/animations/display-change-does-not-terminate-animation.html
6 years, 9 months ago (2014-03-24 09:56:31 UTC) #70
vsevik
and virtual/threaded/transitions/transition-on-element-with-content.html and maybe virtual/threaded/transitions/transition-end-event-destroy-iframe.html
6 years, 9 months ago (2014-03-24 09:58:15 UTC) #71
danakj
Argh. But they pass locally and on the trybots. Enne@ suggested maybe just disabling these ...
6 years, 9 months ago (2014-03-24 15:59:14 UTC) #72
piman
On 2014/03/24 15:59:14, danakj wrote: > Argh. But they pass locally and on the trybots. ...
6 years, 8 months ago (2014-04-02 04:48:49 UTC) #73
danakj
6 years, 8 months ago (2014-04-04 22:24:05 UTC) #74

Powered by Google App Engine
This is Rietveld 408576698