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
6 years, 11 months ago
(2014-01-09 22:52:25 UTC)
#3
aboutflag
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
Removed the about:flags entry for delegated rendering on aura as well.
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
On 2014/01/09 22:52:51, danakj wrote:
> Removed the about:flags entry for delegated rendering on aura as well.
We should also remove FCM and thread, since if they're disabled we don't do
delegated rendering.
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
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
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
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
https://codereview.chromium.org/131443007/diff/280001/content/browser/rendere...
File content/browser/renderer_host/render_widget_host_view_aura.cc (right):
https://codereview.chromium.org/131443007/diff/280001/content/browser/rendere...
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 think that code was still fine, since this is the mailbox we gave to
the
> layer, it's always a shared memory.
You mean the if (IsSharedMemory)? I was thinking to just have a DCHECK that we
never get here with a texture backed TextureMailbox - which we shouldn't of
course.
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
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
> 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 think that code was still fine, since this is the mailbox we
>>
> gave to the
>
>> layer, it's always a shared memory.
>>
>
> You mean the if (IsSharedMemory)? I was thinking to just have a DCHECK
> that we never get here with a texture backed TextureMailbox - which we
> shouldn't of course.
>
Sure, either way.
>
> https://codereview.chromium.org/131443007/
>
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago
(2014-02-03 20:37:30 UTC)
#11
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
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
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
6 years, 10 months ago
(2014-02-06 02:20:07 UTC)
#45
Message was sent while issue was closed.
Change committed as 249226
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
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/150153003/ by pdr@chromium.org.
The reason for reverting is: This patch is causing hundreds of layouttest
timouts in Blink (see: http://goo.gl/6tX16t). My investigation is at
crbug.com/341344. I'm going to roll this out for now to try to green the Blink
tree.
BUG=341344.
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
In my "/o\ look at all the ImageTransportSurface code" state, I uploaded a CL
that just drops/acks frames on the old BuffersSwapped path. Maybe it's worth it
to remove all this code..
I'm not sure how else to tackle this without diverting into replacing all the
repaint tests first.
Maybe James has some other ideas.. or.. what do you think of this?
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
the 18->17 diff appears to have some unrelated changes in it - was there a
rebase?
Sending acks back in this path seems ok, but do we understand what change in
behavior this is causing in the renderer? maybe we could be more targetted. We
should at least guard the layout-test-only codepaths by the layout test command
line flag (kDumpRenderTree iirc)
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
On Fri, Feb 7, 2014 at 12:30 AM, <jamesr@chromium.org> wrote:
> the 18->17 diff appears to have some unrelated changes in it - was there a
> rebase?
>
ya.
>
> Sending acks back in this path seems ok, but do we understand what change
> in
> behavior this is causing in the renderer? maybe we could be more
> targetted. We
> should at least guard the layout-test-only codepaths by the layout test
> command
> line flag (kDumpRenderTree iirc)
>
oh thanks good to know about that flag. piman@ suggested making the
renderer use composite-to-mailbox and then skipping the browser entirely
and just acking the swaps in the renderer. I'm trying to make that work,
inside a flag (will use that one).
>
> https://codereview.chromium.org/131443007/
>
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.
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
I made the compositing layout tests use composite-to-mailbox, and I made
CompositorOutputSurface not even swap to the browser and just post-task a swap
ack when in layout tests.
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
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
https://codereview.chromium.org/131443007/diff/2390001/content/browser/render...
File content/browser/renderer_host/render_widget_host_view_aura.cc (right):
https://codereview.chromium.org/131443007/diff/2390001/content/browser/render...
content/browser/renderer_host/render_widget_host_view_aura.cc:1227: // Oldschool
composited mode is no longer supported.
On 2014/02/07 20:48:06, danakj wrote:
> On 2014/02/07 20:43:49, jamesr wrote:
> > should we NOTREACHED() this? why is this function still needed?
>
> It's a pure virtual method on RWHVPort, so we need to override it.
I think we can remove this when GTK linux goes away and we remove all the
BuffersSwapped paths in RWHImpl etc..
danakj
Green linux_layout_rel, yay. Going to CQ.
6 years, 10 months ago
(2014-02-07 21:12:07 UTC)
#54
Green linux_layout_rel, yay. Going to CQ.
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 10 months ago
(2014-02-07 21:12:15 UTC)
#55
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
https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/c...
File content/renderer/gpu/compositor_output_surface.cc (right):
https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/c...
content/renderer/gpu/compositor_output_surface.cc:145: base::Unretained(this),
On 2014/02/07 21:58:44, danakj wrote:
> On 2014/02/07 21:51:24, piman wrote:
> > Is this Unretained safe?
>
> I *think* so, cuz I'm not seeing crashes on layout tests.. do you think I
should
> WeakPtr? I wasn't really sure.
I don't see anything that would guarantee it.
On shutdown, I don't see code that waits for all the swap acks before destroying
the LTHI which is what would destroy the OS (besides, in non-threaded mode, we
can't).
I think a WeakPtrFactory would be safer.
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
There's still a timeout happening on mac, and flaky timeouts on win/mac/linux. I
need to debug some more...
https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/c...
File content/renderer/gpu/compositor_output_surface.cc (right):
https://codereview.chromium.org/131443007/diff/2590002/content/renderer/gpu/c...
content/renderer/gpu/compositor_output_surface.cc:145: base::Unretained(this),
On 2014/02/07 23:07:17, piman wrote:
> On 2014/02/07 21:58:44, danakj wrote:
> > On 2014/02/07 21:51:24, piman wrote:
> > > Is this Unretained safe?
> >
> > I *think* so, cuz I'm not seeing crashes on layout tests.. do you think I
> should
> > WeakPtr? I wasn't really sure.
>
> I don't see anything that would guarantee it.
> On shutdown, I don't see code that waits for all the swap acks before
destroying
> the LTHI which is what would destroy the OS (besides, in non-threaded mode, we
> can't).
>
> I think a WeakPtrFactory would be safer.
ok! done.
piman
lgtm
6 years, 10 months ago
(2014-02-08 01:26:07 UTC)
#62
lgtm
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
Looks like this is now passing layout tests! I blame all the things enne/jamesr
have been doing, hooray!
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
On 2014/03/21 22:46:54, danakj wrote:
> Looks like this is now passing layout tests! I blame all the things
enne/jamesr
> have been doing, hooray!
Dooooo ittttttt
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago
(2014-03-21 22:48:53 UTC)
#65
6 years, 9 months ago
(2014-03-22 02:51:09 UTC)
#67
Message was sent while issue was closed.
Change committed as 258742
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
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/209903002/ by vsevik@chromium.org.
The reason for reverting is: This is causing many virtual/threaded/transitions
and virtual/threaded/animations tests to time out.
Some of them are timing out flakily, some are consistent.
Here is what I’ve seen so far:
virtual/threaded/transitions/move-after-transition.html - consistent time outs.
virtual/threaded/transitions/cubic-bezier-overflow-svg-length.html - flaky time
outs
virtual/threaded/transitions/change-duration-during-transition.html - flaky time
outs
virtual/threaded/animations/cross-fade-background-image.html - flaky
ImageOnlyFailure, looks like it is related..
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
Message was sent while issue was closed.
virtual/threaded/animations/compositor-start-event-timing.html is also timing
out on win debug bots now.
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
Message was sent while issue was closed.
and virtual/threaded/animations/display-change-does-not-terminate-animation.html
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
Message was sent while issue was closed.
and virtual/threaded/transitions/transition-on-element-with-content.html
and maybe virtual/threaded/transitions/transition-end-event-destroy-iframe.html
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
Argh. But they pass locally and on the trybots. Enne@ suggested maybe just
disabling these tests. Idk how else to land this right now.
On Mar 24, 2014 4:42 AM, <vsevik@chromium.org> wrote:
> A revert of this CL has been created in
> https://codereview.chromium.org/209903002/ by vsevik@chromium.org.
>
> The reason for reverting is: This is causing many
> virtual/threaded/transitions
> and virtual/threaded/animations tests to time out.
> Some of them are timing out flakily, some are consistent.
>
> Here is what I've seen so far:
>
> virtual/threaded/transitions/move-after-transition.html - consistent time
> outs.
>
> virtual/threaded/transitions/cubic-bezier-overflow-svg-length.html -
> flaky time
> outs
> virtual/threaded/transitions/change-duration-during-transition.html -
> flaky time
> outs
> virtual/threaded/animations/cross-fade-background-image.html - flaky
> ImageOnlyFailure, looks like it is related..
>
> https://codereview.chromium.org/131443007/
>
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.
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
On 2014/03/24 15:59:14, danakj wrote:
> Argh. But they pass locally and on the trybots. Enne@ suggested maybe just
> disabling these tests. Idk how else to land this right now.
> On Mar 24, 2014 4:42 AM, <mailto:vsevik@chromium.org> wrote:
>
> > A revert of this CL has been created in
> > https://codereview.chromium.org/209903002/ by mailto:vsevik@chromium.org.
> >
> > The reason for reverting is: This is causing many
> > virtual/threaded/transitions
> > and virtual/threaded/animations tests to time out.
> > Some of them are timing out flakily, some are consistent.
> >
> > Here is what I've seen so far:
> >
> > virtual/threaded/transitions/move-after-transition.html - consistent time
> > outs.
> >
> > virtual/threaded/transitions/cubic-bezier-overflow-svg-length.html -
> > flaky time
> > outs
> > virtual/threaded/transitions/change-duration-during-transition.html -
> > flaky time
> > outs
> > virtual/threaded/animations/cross-fade-background-image.html - flaky
> > ImageOnlyFailure, looks like it is related..
> >
> > https://codereview.chromium.org/131443007/
> >
>
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.
I think I can repro those failures on linux. I will try to take a look tomorrow.
danakj
Moved to https://codereview.chromium.org/225403008/ closing this.
6 years, 8 months ago
(2014-04-04 22:24:05 UTC)
#74
Issue 131443007: aura: Remove old GL paths from RenderWidgetHostViewAura.
(Closed)
Created 6 years, 11 months ago by danakj
Modified 6 years, 8 months ago
Reviewers: piman, Fady Samuel, Paweł Hajdan Jr., jamesr
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 18