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

Issue 11861020: Aura: Browser-side changes for Composite-To-Mailbox (Closed)

Created:
7 years, 11 months ago by no sievers
Modified:
7 years, 9 months ago
Reviewers:
danakj, jamesr, Sami, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, James Su, piman, aelias_OOO_until_Jul13, Sami, klobag.chromium, jamesr, nduca, brianderson, slavi
Visibility:
Public.

Description

Aura: Browser-side changes for Composite-To-Mailbox This adds browser-side plumbing for receiving output frames from the renderer directly (with the CompositorFrame message) using the GL_CHROMIUM_texture_mailbox extension, which essentially bypasses the GPU thread in the swap logic. TODO: - Avoid leaking textures in the mailbox during shutdown races. - Create a different kind of transport surface stub on the GPU thread in this mode. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185468

Patch Set 1 #

Total comments: 24

Patch Set 2 : #

Patch Set 3 : add unit tests #

Patch Set 4 : #

Total comments: 13

Patch Set 5 : address comments #

Patch Set 6 : browser-side changes only #

Total comments: 3

Patch Set 7 : add missing return statement #

Total comments: 1

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -72 lines) Patch
M content/browser/renderer_host/image_transport_factory.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 3 chunks +19 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -16 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 10 chunks +122 lines, -56 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
no sievers
This is what I have so far and.. well it runs, But the changes in ...
7 years, 11 months ago (2013-01-18 00:08:45 UTC) #1
danakj
some quick thoughts https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc#newcode218 cc/gl_renderer.cc:218: if (m_renderToMailbox) { if (!m_renderToMailbox) return; ...
7 years, 11 months ago (2013-01-18 01:01:40 UTC) #2
no sievers
https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc#newcode224 cc/gl_renderer.cc:224: for (; it != m_pendingFrames.end(); it++) { On 2013/01/18 ...
7 years, 11 months ago (2013-01-18 01:14:53 UTC) #3
piman
I think a lot of the new logic in gl_renderer could be extracted to the ...
7 years, 11 months ago (2013-01-18 02:14:10 UTC) #4
Sami
https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc#newcode219 cc/gl_renderer.cc:219: onSwapBuffersComplete(); Should we consume the texture and insert the ...
7 years, 11 months ago (2013-01-25 23:17:26 UTC) #5
piman
https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc#newcode1376 cc/gl_renderer.cc:1376: m_context->flush(); On 2013/01/25 23:17:27, Sami wrote: > Is it ...
7 years, 11 months ago (2013-01-25 23:44:56 UTC) #6
Sami
https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc#newcode1376 cc/gl_renderer.cc:1376: m_context->flush(); On 2013/01/25 23:44:56, piman wrote: > It is ...
7 years, 11 months ago (2013-01-26 00:30:27 UTC) #7
piman
https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11861020/diff/1/cc/gl_renderer.cc#newcode1376 cc/gl_renderer.cc:1376: m_context->flush(); On 2013/01/26 00:30:27, Sami wrote: > On 2013/01/25 ...
7 years, 11 months ago (2013-01-26 00:37:35 UTC) #8
no sievers
https://codereview.chromium.org/11861020/diff/1/cc/compositor_frame_ack.h File cc/compositor_frame_ack.h (right): https://codereview.chromium.org/11861020/diff/1/cc/compositor_frame_ack.h#newcode20 cc/compositor_frame_ack.h:20: uint32 sync_point; On 2013/01/18 02:14:11, piman wrote: > I ...
7 years, 10 months ago (2013-02-06 23:36:00 UTC) #9
no sievers
On 2013/01/18 02:14:10, piman wrote: > I think a lot of the new logic in ...
7 years, 10 months ago (2013-02-06 23:40:37 UTC) #10
jamesr
It looks like you and Slavi have done the many of the same things to ...
7 years, 10 months ago (2013-02-06 23:41:48 UTC) #11
no sievers
On 2013/02/06 23:41:48, jamesr wrote: > It looks like you and Slavi have done the ...
7 years, 10 months ago (2013-02-06 23:47:36 UTC) #12
no sievers
I will also look into adding unit tests.
7 years, 10 months ago (2013-02-06 23:48:40 UTC) #13
no sievers
On 2013/02/06 23:48:40, Daniel Sievers wrote: > I will also look into adding unit tests. ...
7 years, 10 months ago (2013-02-07 00:29:45 UTC) #14
piman
On Wed, Feb 6, 2013 at 4:29 PM, <sievers@chromium.org> wrote: > On 2013/02/06 23:48:40, Daniel ...
7 years, 10 months ago (2013-02-07 00:41:39 UTC) #15
no sievers
Added unit tests. I tried not routing the CompositorFrameAck through GLRenderer but it turned out ...
7 years, 10 months ago (2013-02-27 00:12:30 UTC) #16
piman
Looking good... I think your TODOs are still relevant, especially the leak possibility (e.g. renderer ...
7 years, 10 months ago (2013-02-27 01:07:13 UTC) #17
no sievers
https://codereview.chromium.org/11861020/diff/25001/cc/output_surface.cc File cc/output_surface.cc (right): https://codereview.chromium.org/11861020/diff/25001/cc/output_surface.cc#newcode58 cc/output_surface.cc:58: DCHECK(context3d_); On 2013/02/27 01:07:13, piman wrote: > On 2013/02/27 ...
7 years, 9 months ago (2013-02-27 21:07:39 UTC) #18
piman
It looks fine overall, but as discussed I think we should split the OutputSurface refactor ...
7 years, 9 months ago (2013-02-27 22:47:58 UTC) #19
no sievers
On 2013/02/27 22:47:58, piman wrote: > It looks fine overall, but as discussed I think ...
7 years, 9 months ago (2013-02-27 23:02:48 UTC) #20
piman
LGTM with one question https://codereview.chromium.org/11861020/diff/36001/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/11861020/diff/36001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1255 content/browser/renderer_host/render_widget_host_view_aura.cc:1255: if (!frame.gl_frame_data || frame.gl_frame_data->mailbox.isZero()) Do ...
7 years, 9 months ago (2013-02-28 00:10:09 UTC) #21
no sievers
https://codereview.chromium.org/11861020/diff/36001/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/11861020/diff/36001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1255 content/browser/renderer_host/render_widget_host_view_aura.cc:1255: if (!frame.gl_frame_data || frame.gl_frame_data->mailbox.isZero()) On 2013/02/28 00:10:10, piman wrote: ...
7 years, 9 months ago (2013-02-28 00:31:56 UTC) #22
piman
I missed a couple of things initially (noticing now that I'm rebasing my stuff on ...
7 years, 9 months ago (2013-02-28 23:16:42 UTC) #23
no sievers
On 2013/02/28 23:16:42, piman wrote: > I missed a couple of things initially (noticing now ...
7 years, 9 months ago (2013-03-01 02:20:33 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/11861020/46002
7 years, 9 months ago (2013-03-01 02:24:35 UTC) #25
commit-bot: I haz the power
7 years, 9 months ago (2013-03-01 04:58:44 UTC) #26
Message was sent while issue was closed.
Change committed as 185468

Powered by Google App Engine
This is Rietveld 408576698