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

Issue 1253553002: Add switch to use ipc command buffer in Android WebView (Closed)

Created:
5 years, 5 months ago by boliu
Modified:
5 years, 5 months ago
Reviewers:
no sievers
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add switch to use ipc command buffer in Android WebView Still default to use in-process command buffer. Add switch to make testing easier. With ipc command buffer, no need to initialize bindings early in start up. This is ok because ipc command buffer is guaranteed to start before the in-process one on render thread is created. Video still runs with context on render thread. Child compositor, WebGL and accelerated canvas will run with ipc command buffer when switch is present. BUG=509702 Committed: https://crrev.com/1463e1e5261571689fca740aafb1bf156f722f9d Cr-Commit-Position: refs/heads/master@{#339999}

Patch Set 1 #

Total comments: 7

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -27 lines) Patch
M android_webview/browser/aw_browser_main_parts.cc View 2 chunks +9 lines, -1 line 0 comments Download
M android_webview/common/aw_switches.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/common/aw_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.h View 1 4 chunks +8 lines, -3 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 9 chunks +53 lines, -12 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/android/synchronous_compositor.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_factory.h View 1 chunk +6 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
boliu
ptal got ~4 weeks left to turn this on by default :D
5 years, 5 months ago (2015-07-22 21:48:16 UTC) #2
no sievers
https://codereview.chromium.org/1253553002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/1253553002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode95 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:95: bool lose_context_when_out_of_memory = true; really? do you even handle ...
5 years, 5 months ago (2015-07-22 22:17:48 UTC) #3
boliu
https://codereview.chromium.org/1253553002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/1253553002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode95 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:95: bool lose_context_when_out_of_memory = true; On 2015/07/22 22:17:47, sievers wrote: ...
5 years, 5 months ago (2015-07-22 22:28:58 UTC) #4
no sievers
lgtm
5 years, 5 months ago (2015-07-22 22:31:03 UTC) #5
no sievers
On 2015/07/22 22:31:03, sievers wrote: > lgtm oh and... yay! hopefully we can remove the ...
5 years, 5 months ago (2015-07-22 22:31:45 UTC) #6
boliu
On 2015/07/22 22:31:45, sievers wrote: > On 2015/07/22 22:31:03, sievers wrote: > > lgtm > ...
5 years, 5 months ago (2015-07-22 22:33:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1253553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1253553002/20001
5 years, 5 months ago (2015-07-22 22:40:38 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-23 00:18:10 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 00:19:36 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1463e1e5261571689fca740aafb1bf156f722f9d
Cr-Commit-Position: refs/heads/master@{#339999}

Powered by Google App Engine
This is Rietveld 408576698