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

Issue 2698793002: cc: Enable use of render surfaces for Android WebView (Closed)

Created:
3 years, 10 months ago by danakj
Modified:
3 years, 10 months ago
CC:
ajuma, cc-bugs_chromium.org, chromium-reviews, weiliangc
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Enable use of render surfaces for Android WebView This was disabled because the compositor was in GL mode making allocating and using software resources for a software draw very awkward. Now the software draws are delegated to a separate cc::Display instance which is completely independent and able to deal with allocating and using software resources without being problematic. It's also possible that using render surfaces (which also allows) composited effects such as filters will cause a performance problem. This seems unlikely as all of these same effects can be done during painting, however. This patch is a minimal one to just change the behaviour to allowing render surfaces in order to verify things don't all fall apart. The code to support it can be removed later. R=boliu@chromium.org, aelias@chromium.org BUG=692780 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2698793002 Cr-Commit-Position: refs/heads/master@{#451117} Committed: https://chromium.googlesource.com/chromium/src/+/e9cf581d97cce0939cc6ce4f1a60767a8a28602f

Patch Set 1 #

Patch Set 2 : softwaredraw-allow-surfaces: pass-shared-bitmap-mgr #

Patch Set 3 : softwaredraw-allow-surfaces: todo-bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -119 lines) Patch
M cc/trees/layer_tree_host_unittest.cc View 1 chunk +0 lines, -106 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.cc View 1 2 3 chunks +13 lines, -9 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (20 generated)
danakj
3 years, 10 months ago (2017-02-15 22:35:51 UTC) #2
boliu
PS3 lgtm
3 years, 10 months ago (2017-02-16 00:16:29 UTC) #11
danakj
aelias PTAL at content/renderer/
3 years, 10 months ago (2017-02-16 16:00:18 UTC) #16
aelias_OOO_until_Jul13
lgtm
3 years, 10 months ago (2017-02-16 21:37:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698793002/40001
3 years, 10 months ago (2017-02-16 21:40:58 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 22:23:48 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e9cf581d97cce0939cc6ce4f1a60...

Powered by Google App Engine
This is Rietveld 408576698