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

Issue 12371002: [cc] Mailbox Output Surface Support (Closed)

Created:
7 years, 9 months ago by no sievers
Modified:
7 years, 9 months ago
Reviewers:
danakj, jamesr, Sami, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, apatrick_chromium, aelias_OOO_until_Jul13, Sami
Visibility:
Public.

Description

[cc] Mailbox Output Surface Support This allows to render to textures managed by the compositor, that are sent to the browser using GL_CHROMIUM_texture_mailbox. Needs support in the browser and '--composite-to-mailbox' and '--enable-compositor-frame-message'. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185812

Patch Set 1 #

Total comments: 27

Patch Set 2 : address comments #

Patch Set 3 : remove const qualifier from arguments passed by value #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -26 lines) Patch
M cc/gl_renderer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/gl_renderer.cc View 8 chunks +10 lines, -17 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 1 2 2 chunks +134 lines, -0 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/layer_tree_host.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/output_surface.h View 1 2 3 chunks +16 lines, -0 lines 0 comments Download
M cc/output_surface.cc View 1 2 3 chunks +68 lines, -4 lines 0 comments Download
M cc/switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/switches.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 4 chunks +11 lines, -1 line 0 comments Download
A content/renderer/gpu/mailbox_output_surface.h View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
A content/renderer/gpu/mailbox_output_surface.cc View 1 2 1 chunk +164 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
no sievers
Renderer/cc-side changes extracted from https://codereview.chromium.org/11861020/
7 years, 9 months ago (2013-02-27 23:00:47 UTC) #1
jamesr
The OutputSurface changes in this patch are really cool but not really directly related to ...
7 years, 9 months ago (2013-02-27 23:02:43 UTC) #2
no sievers
On 2013/02/27 23:02:43, jamesr wrote: > The OutputSurface changes in this patch are really cool ...
7 years, 9 months ago (2013-02-27 23:04:45 UTC) #3
jamesr
On 2013/02/27 23:04:45, Daniel Sievers wrote: > On 2013/02/27 23:02:43, jamesr wrote: > > The ...
7 years, 9 months ago (2013-02-27 23:06:37 UTC) #4
no sievers
On 2013/02/27 23:06:37, jamesr wrote: > On 2013/02/27 23:04:45, Daniel Sievers wrote: > > On ...
7 years, 9 months ago (2013-02-27 23:10:51 UTC) #5
piman
Mostly small stuff. https://codereview.chromium.org/12371002/diff/1/content/renderer/gpu/mailbox_output_surface.cc File content/renderer/gpu/mailbox_output_surface.cc (right): https://codereview.chromium.org/12371002/diff/1/content/renderer/gpu/mailbox_output_surface.cc#newcode39 content/renderer/gpu/mailbox_output_surface.cc:39: while (returned_textures_.size()) { !returned_textures_.empty() https://codereview.chromium.org/12371002/diff/1/content/renderer/gpu/mailbox_output_surface.cc#newcode77 content/renderer/gpu/mailbox_output_surface.cc:77: ...
7 years, 9 months ago (2013-02-27 23:51:04 UTC) #6
danakj
driveby style nits https://codereview.chromium.org/12371002/diff/1/cc/output_surface.h File cc/output_surface.h (right): https://codereview.chromium.org/12371002/diff/1/cc/output_surface.h#newcode81 cc/output_surface.h:81: virtual void Reshape(const gfx::Size& size); nit: ...
7 years, 9 months ago (2013-02-28 03:57:44 UTC) #7
Sami
https://codereview.chromium.org/12371002/diff/1/cc/switches.cc File cc/switches.cc (right): https://codereview.chromium.org/12371002/diff/1/cc/switches.cc#newcode94 cc/switches.cc:94: // through the texture mailbox mechanism. Requires kEnableCompositorFrameMessage. Nit: ...
7 years, 9 months ago (2013-02-28 12:46:58 UTC) #8
no sievers
Thanks all! https://codereview.chromium.org/12371002/diff/1/cc/output_surface.h File cc/output_surface.h (right): https://codereview.chromium.org/12371002/diff/1/cc/output_surface.h#newcode81 cc/output_surface.h:81: virtual void Reshape(const gfx::Size& size); On 2013/02/28 ...
7 years, 9 months ago (2013-02-28 18:43:40 UTC) #9
piman
lgtm https://codereview.chromium.org/12371002/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/12371002/diff/1/content/renderer/render_view_impl.cc#newcode2048 content/renderer/render_view_impl.cc:2048: cc::switches::kEnableCompositorFrameMessage)); On 2013/02/28 18:43:40, Daniel Sievers wrote: > ...
7 years, 9 months ago (2013-02-28 19:30:31 UTC) #10
Sami
lgtm
7 years, 9 months ago (2013-03-01 10:56:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/12371002/14003
7 years, 9 months ago (2013-03-01 21:53:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/12371002/14003
7 years, 9 months ago (2013-03-02 16:11:38 UTC) #13
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/render_process_host_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-02 19:11:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/12371002/14005
7 years, 9 months ago (2013-03-03 18:32:42 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-03 21:58:18 UTC) #16
Message was sent while issue was closed.
Change committed as 185812

Powered by Google App Engine
This is Rietveld 408576698