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

Issue 12463007: Disable partial swaps for webview guest renderer until we can figure out how to do that properly. (Closed)

Created:
7 years, 9 months ago by alexst (slow to review)
Modified:
7 years, 9 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, sail+watch_chromium.org, James Su
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Disable partial swaps for webview guest renderer until we can figure out how to do that properly. BUG=179256 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186863

Patch Set 1 #

Total comments: 2

Patch Set 2 : Version 2, plumb through the renderer. #

Total comments: 4

Patch Set 3 : Fixing comments #

Patch Set 4 : Comments #

Total comments: 5

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : Fix test compile. #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -10 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin_compositing_helper.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 5 chunks +11 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl_params.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/render_view_impl_params.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
alexst (slow to review)
7 years, 9 months ago (2013-03-05 18:57:11 UTC) #1
Fady Samuel
browser_plugin LGTM
7 years, 9 months ago (2013-03-05 19:00:21 UTC) #2
piman
https://codereview.chromium.org/12463007/diff/1/ui/gfx/native_widget_types.h File ui/gfx/native_widget_types.h (right): https://codereview.chromium.org/12463007/diff/1/ui/gfx/native_widget_types.h#newcode275 ui/gfx/native_widget_types.h:275: TEXTURE_TRANSPORT_NO_PARTIAL_SWAP I'm really uneasy with passing feature flags through ...
7 years, 9 months ago (2013-03-05 20:32:37 UTC) #3
alexst (slow to review)
https://codereview.chromium.org/12463007/diff/1/ui/gfx/native_widget_types.h File ui/gfx/native_widget_types.h (right): https://codereview.chromium.org/12463007/diff/1/ui/gfx/native_widget_types.h#newcode275 ui/gfx/native_widget_types.h:275: TEXTURE_TRANSPORT_NO_PARTIAL_SWAP On 2013/03/05 20:32:37, piman wrote: > I'm really ...
7 years, 9 months ago (2013-03-05 21:09:28 UTC) #4
Fady Samuel
On 2013/03/05 21:09:28, alexst wrote: > https://codereview.chromium.org/12463007/diff/1/ui/gfx/native_widget_types.h > File ui/gfx/native_widget_types.h (right): > > https://codereview.chromium.org/12463007/diff/1/ui/gfx/native_widget_types.h#newcode275 > ...
7 years, 9 months ago (2013-03-05 21:53:10 UTC) #5
piman
On Tue, Mar 5, 2013 at 1:53 PM, <fsamuel@chromium.org> wrote: > On 2013/03/05 21:09:28, alexst ...
7 years, 9 months ago (2013-03-05 22:05:24 UTC) #6
Fady Samuel
On 2013/03/05 22:05:24, piman wrote: > On Tue, Mar 5, 2013 at 1:53 PM, <mailto:fsamuel@chromium.org> ...
7 years, 9 months ago (2013-03-05 22:22:53 UTC) #7
alexst (slow to review)
Here is version 2, plumbed through the renderer settings.
7 years, 9 months ago (2013-03-06 17:56:12 UTC) #8
Fady Samuel
On 2013/03/06 17:56:12, alexst wrote: > Here is version 2, plumbed through the renderer settings. ...
7 years, 9 months ago (2013-03-06 18:01:26 UTC) #9
piman
LGTM from my pov, adding James who just removed a similar flag from RendererPreferences. https://codereview.chromium.org/12463007/diff/10001/content/public/common/renderer_preferences.h ...
7 years, 9 months ago (2013-03-06 18:05:16 UTC) #10
alexst (slow to review)
https://codereview.chromium.org/12463007/diff/10001/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): https://codereview.chromium.org/12463007/diff/10001/content/public/common/renderer_preferences.h#newcode126 content/public/common/renderer_preferences.h:126: // in on if supported. On 2013/03/06 18:05:16, piman ...
7 years, 9 months ago (2013-03-06 18:24:12 UTC) #11
alexst (slow to review)
On 2013/03/06 18:05:16, piman wrote: > LGTM from my pov, adding James who just removed ...
7 years, 9 months ago (2013-03-06 18:43:03 UTC) #12
alexst (slow to review)
+cdn for IPC.
7 years, 9 months ago (2013-03-06 18:55:24 UTC) #13
Fady Samuel
Ohh, one minor comment. https://codereview.chromium.org/12463007/diff/10001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/12463007/diff/10001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode93 content/browser/browser_plugin/browser_plugin_guest.cc:93: // Webview compositing does not ...
7 years, 9 months ago (2013-03-06 18:59:38 UTC) #14
piman
+jamesr oops, missed adding him somehow
7 years, 9 months ago (2013-03-06 19:08:01 UTC) #15
jamesr
Please don't do it this way. https://codereview.chromium.org/12463007/diff/11010/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (right): https://codereview.chromium.org/12463007/diff/11010/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#newcode221 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:221: texture_layer_->setNeedsDisplay(); Is this ...
7 years, 9 months ago (2013-03-06 19:30:27 UTC) #16
alexst (slow to review)
Patch https://codereview.chromium.org/12463007/diff/11010/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (right): https://codereview.chromium.org/12463007/diff/11010/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#newcode221 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:221: texture_layer_->setNeedsDisplay(); On 2013/03/06 19:30:28, jamesr wrote: > Is ...
7 years, 9 months ago (2013-03-06 20:34:07 UTC) #17
jamesr
https://codereview.chromium.org/12463007/diff/17002/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/12463007/diff/17002/content/renderer/render_view_impl.cc#newcode737 content/renderer/render_view_impl.cc:737: allow_partial_swap_ = params->renderer_prefs.allow_partial_swap; We store the entire renderer_prefs struct ...
7 years, 9 months ago (2013-03-06 22:37:59 UTC) #18
Cris Neckar
IPC changes LGTM for now. I'll look again after you refactor for james.
7 years, 9 months ago (2013-03-06 23:11:25 UTC) #19
alexst (slow to review)
https://codereview.chromium.org/12463007/diff/17002/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/12463007/diff/17002/content/renderer/render_view_impl.cc#newcode737 content/renderer/render_view_impl.cc:737: allow_partial_swap_ = params->renderer_prefs.allow_partial_swap; On 2013/03/06 22:37:59, jamesr wrote: > ...
7 years, 9 months ago (2013-03-06 23:12:34 UTC) #20
jamesr
On 2013/03/06 23:12:34, alexst wrote: > https://codereview.chromium.org/12463007/diff/17002/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > > https://codereview.chromium.org/12463007/diff/17002/content/renderer/render_view_impl.cc#newcode737 > ...
7 years, 9 months ago (2013-03-06 23:13:45 UTC) #21
alexst (slow to review)
> We pay for the memory always. We would pay for a virtual call once, ...
7 years, 9 months ago (2013-03-07 00:33:41 UTC) #22
jamesr
https://codereview.chromium.org/12463007/diff/12019/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/12463007/diff/12019/content/renderer/render_view_impl.cc#newcode689 content/renderer/render_view_impl.cc:689: params->renderer_prefs.allow_partial_swap; On 2013/03/07 00:33:41, alexst wrote: > This needs ...
7 years, 9 months ago (2013-03-07 00:48:05 UTC) #23
alexst (slow to review)
> Hmmmm, this is getting quite tricky. Why don't you just set this in the ...
7 years, 9 months ago (2013-03-07 15:50:57 UTC) #24
jamesr
lgtm
7 years, 9 months ago (2013-03-07 19:16:05 UTC) #25
Cris Neckar
ipc lgtm
7 years, 9 months ago (2013-03-07 20:08:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/12463007/27001
7 years, 9 months ago (2013-03-07 20:16:49 UTC) #27
commit-bot: I haz the power
Failed to trigger a try job on win7_aura HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-07 20:39:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/12463007/33002
7 years, 9 months ago (2013-03-07 20:40:00 UTC) #29
commit-bot: I haz the power
7 years, 9 months ago (2013-03-08 02:41:32 UTC) #30
Message was sent while issue was closed.
Change committed as 186863

Powered by Google App Engine
This is Rietveld 408576698