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

Issue 12374028: Allow WebExternalTextureLayerClient to work with mailboxes. (Closed)

Created:
7 years, 9 months ago by alexst (slow to review)
Modified:
7 years, 8 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org, greggman, bajones, danakj
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

This patch implements the necessary plumbing to allow WebExternalTextureLayerClient to be used with texture mailboxes, which allows WebGL and Canvas2D to work with ubercompositor. CC part of this patch requests the client to prepare a mailbox instead of a texture. Compositor bindings handle interaction with Blink as well as callbacks associated with mailboxes being released. BUG=179371 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193807

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 15

Patch Set 5 : Comments #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Total comments: 11

Patch Set 11 : Comments #

Total comments: 1

Patch Set 12 : #

Patch Set 13 : Build fix. #

Patch Set 14 : Linker Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -19 lines) Patch
M cc/layers/texture_layer.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/texture_layer.cc View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -4 lines 0 comments Download
M cc/layers/texture_layer_client.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -2 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_compositing_helper.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/compositor_bindings.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
M webkit/compositor_bindings/web_external_texture_layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -4 lines 0 comments Download
M webkit/compositor_bindings/web_external_texture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +48 lines, -6 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
alexst (slow to review)
Here is the WebKit patch https://bugs.webkit.org/show_bug.cgi?id=111097
7 years, 9 months ago (2013-02-28 20:06:29 UTC) #1
Ken Russell (switch to Gerrit)
Could you file a bug for this and describe in more detail the issues you ...
7 years, 9 months ago (2013-02-28 23:41:41 UTC) #2
piman
https://codereview.chromium.org/12374028/diff/1/cc/texture_layer.h File cc/texture_layer.h (right): https://codereview.chromium.org/12374028/diff/1/cc/texture_layer.h#newcode29 cc/texture_layer.h:29: static scoped_refptr<TextureLayer> create(TextureLayerClient*, bool mailbox = false); nit: no ...
7 years, 9 months ago (2013-03-01 02:25:33 UTC) #3
alexst (slow to review)
On 2013/02/28 23:41:41, kbr wrote: > Could you file a bug for this and describe ...
7 years, 9 months ago (2013-03-01 16:19:32 UTC) #4
alexst (slow to review)
Generally speaking though, does the overall approach seem reasonable to you guys? That is, package ...
7 years, 9 months ago (2013-03-01 16:47:17 UTC) #5
Ken Russell (switch to Gerrit)
On 2013/03/01 16:47:17, alexst wrote: > Generally speaking though, does the overall approach seem reasonable ...
7 years, 9 months ago (2013-03-01 22:22:08 UTC) #6
alexst (slow to review)
> Getting printing to work in this new scenario may be difficult. It'll be > ...
7 years, 9 months ago (2013-03-01 22:44:13 UTC) #7
piman
I think it is a similar problem to the thumbnailer / tab capture / cloud ...
7 years, 9 months ago (2013-03-01 23:05:15 UTC) #8
no sievers
On 2013/03/01 23:05:15, piman wrote: > I think it is a similar problem to the ...
7 years, 9 months ago (2013-03-01 23:09:21 UTC) #9
jbauman
On 2013/03/01 23:05:15, piman wrote: > I think it is a similar problem to the ...
7 years, 9 months ago (2013-03-01 23:22:15 UTC) #10
piman
On 2013/03/01 23:22:15, jbauman wrote: > On 2013/03/01 23:05:15, piman wrote: > > I think ...
7 years, 9 months ago (2013-03-01 23:34:12 UTC) #11
alexst (slow to review)
New patch, updated the webkit patch as well. This patch assumes that mailboxes will be ...
7 years, 9 months ago (2013-03-14 18:24:34 UTC) #12
piman
https://codereview.chromium.org/12374028/diff/16001/cc/texture_layer.cc File cc/texture_layer.cc (right): https://codereview.chromium.org/12374028/diff/16001/cc/texture_layer.cc#newcode30 cc/texture_layer.cc:30: bool usesMailbox) { nit: uses_mailbox https://codereview.chromium.org/12374028/diff/16001/cc/texture_layer.cc#newcode161 cc/texture_layer.cc:161: SetTextureMailbox(mailbox); How ...
7 years, 9 months ago (2013-03-14 19:54:58 UTC) #13
alexst (slow to review)
New patch. https://codereview.chromium.org/12374028/diff/16001/cc/texture_layer.cc File cc/texture_layer.cc (right): https://codereview.chromium.org/12374028/diff/16001/cc/texture_layer.cc#newcode30 cc/texture_layer.cc:30: bool usesMailbox) { On 2013/03/14 19:54:58, piman ...
7 years, 9 months ago (2013-03-14 20:37:06 UTC) #14
piman
LGTM overall. Please fix the description before landing. If you want to do the BrowserPluginCompositingHelper ...
7 years, 9 months ago (2013-03-14 22:17:58 UTC) #15
alexst (slow to review)
On 2013/03/14 22:17:58, piman wrote: > LGTM overall. Please fix the description before landing. If ...
7 years, 9 months ago (2013-03-14 22:40:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/12374028/43001
7 years, 8 months ago (2013-04-11 17:28:33 UTC) #17
commit-bot: I haz the power
Presubmit check for 12374028-43001 failed and returned exit status 1. INFO:root:Found 12 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-11 17:28:43 UTC) #18
alexst (slow to review)
Enne, please take a look at the compositor bindings.
7 years, 8 months ago (2013-04-11 17:35:33 UTC) #19
jamesr
The patch description here is pretty sparse - could you add some description of what ...
7 years, 8 months ago (2013-04-11 17:36:58 UTC) #20
alexst (slow to review)
James, new patch. https://chromiumcodereview.appspot.com/12374028/diff/43001/webkit/compositor_bindings/web_external_texture_layer_impl.cc File webkit/compositor_bindings/web_external_texture_layer_impl.cc (right): https://chromiumcodereview.appspot.com/12374028/diff/43001/webkit/compositor_bindings/web_external_texture_layer_impl.cc#newcode127 webkit/compositor_bindings/web_external_texture_layer_impl.cc:127: const WebKit::WebExternalTextureMailbox &mailbox, On 2013/04/11 17:36:58, ...
7 years, 8 months ago (2013-04-11 18:03:11 UTC) #21
jamesr
drop the out_s and lgtm. OnMailboxReleased is OK, but I slightly prefer using Did/Will prefixes ...
7 years, 8 months ago (2013-04-11 18:11:15 UTC) #22
alexst (slow to review)
> after the event in question. I think that'd make this DidReleaseMailbox > I like ...
7 years, 8 months ago (2013-04-11 18:32:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/12374028/47002
7 years, 8 months ago (2013-04-11 18:33:35 UTC) #24
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-11 18:54:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/12374028/72002
7 years, 8 months ago (2013-04-11 19:00:51 UTC) #26
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-11 19:28:36 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/12374028/84001
7 years, 8 months ago (2013-04-11 21:32:15 UTC) #28
commit-bot: I haz the power
7 years, 8 months ago (2013-04-12 00:26:03 UTC) #29
Message was sent while issue was closed.
Change committed as 193807

Powered by Google App Engine
This is Rietveld 408576698