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

Issue 11824040: Enables compositing support for webview. (Closed)

Created:
7 years, 11 months ago by alexst (slow to review)
Modified:
7 years, 11 months ago
Reviewers:
rjkroege, Fady Samuel, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Enables compositing support for webview. Mailboxes for the webview are received from RWHVGuest and set on the texture layer with a callback that gets triggered when they are no longer in use by the compositor. An IPC is sent back to the browser with a sync point to ack the presented buffer. BUG=143429 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176310

Patch Set 1 #

Total comments: 27

Patch Set 2 : Reorder #

Patch Set 3 : Comments #

Total comments: 4

Patch Set 4 : Nit #

Total comments: 2

Patch Set 5 : Fixed build error on mac and win, nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -11 lines) Patch
M cc/resource_provider.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_linux.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/image_transport_surface_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 chunks +24 lines, -2 lines 0 comments Download
A content/renderer/browser_plugin/browser_plugin_compositing_helper.h View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
A content/renderer/browser_plugin/browser_plugin_compositing_helper.cc View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
alexst (slow to review)
Now that the texture_layer CL landed this is the patch that enables webview compositing.
7 years, 11 months ago (2013-01-09 21:17:47 UTC) #1
Fady Samuel
https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode165 content/renderer/browser_plugin/browser_plugin.cc:165: IPC_MESSAGE_HANDLER(BrowserPluginMsg_BuffersSwapped, OnBuffersSwapped) Please order alphabetically. https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode1056 content/renderer/browser_plugin/browser_plugin.cc:1056: void BrowserPlugin::OnBuffersSwapped(int ...
7 years, 11 months ago (2013-01-09 21:23:37 UTC) #2
alexst (slow to review)
https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode165 content/renderer/browser_plugin/browser_plugin.cc:165: IPC_MESSAGE_HANDLER(BrowserPluginMsg_BuffersSwapped, OnBuffersSwapped) On 2013/01/09 21:23:38, Fady Samuel wrote: > ...
7 years, 11 months ago (2013-01-09 21:43:39 UTC) #3
piman
https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode132 content/renderer/browser_plugin/browser_plugin.cc:132: compositing_helper_(0) { nit: we don't use 0 for NULL ...
7 years, 11 months ago (2013-01-09 22:38:57 UTC) #4
alexst (slow to review)
Thanks for the prompt review guys! New patch is up. https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode132 ...
7 years, 11 months ago (2013-01-09 23:16:05 UTC) #5
piman
LGTM+nit https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (right): https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#newcode15 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:15: static void sendACK(const std::string& mailbox_name, nit: SendACK
7 years, 11 months ago (2013-01-09 23:24:47 UTC) #6
rjkroege
lgtm with nits https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin.cc#newcode786 content/renderer/browser_plugin/browser_plugin.cc:786: container_, should align with new? https://codereview.chromium.org/11824040/diff/13/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc ...
7 years, 11 months ago (2013-01-10 17:03:21 UTC) #7
alexst (slow to review)
https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin.cc#newcode786 content/renderer/browser_plugin/browser_plugin.cc:786: container_, On 2013/01/10 17:03:21, rjkroege wrote: > should align ...
7 years, 11 months ago (2013-01-10 18:56:30 UTC) #8
rjkroege
and still lgtm. https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11824040/diff/4002/content/renderer/browser_plugin/browser_plugin.cc#newcode786 content/renderer/browser_plugin/browser_plugin.cc:786: container_, On 2013/01/10 18:56:31, alexst wrote: ...
7 years, 11 months ago (2013-01-10 19:03:52 UTC) #9
Fady Samuel
browser_plugin LGTM
7 years, 11 months ago (2013-01-10 19:04:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/11824040/15001
7 years, 11 months ago (2013-01-10 19:53:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/11824040/15001
7 years, 11 months ago (2013-01-11 10:06:02 UTC) #12
commit-bot: I haz the power
7 years, 11 months ago (2013-01-11 11:06:59 UTC) #13
Message was sent while issue was closed.
Change committed as 176310

Powered by Google App Engine
This is Rietveld 408576698