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

Issue 24280009: Move tile-free-software render surface disabling to UpdateDrawProperties. (Closed)

Created:
7 years, 3 months ago by aelias_OOO_until_Jul13
Modified:
7 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, boliu, mkosiba (inactive), joth
Visibility:
Public.

Description

Move tile-free-software render surface disabling to UpdateDrawProperties. Currently when DrawProperties decides a subtree needs a render surface, Android WebView software mode just drops it at CalculateRenderPasses time and draws nothing. If we instead suppress the render surface decision at an earlier stage, we're more likely to get a halfway reasonable result. The motivating example was a page setting preserve-3d where the render surface didn't affect the output result anyway. New test LayerTreeHostCommonTest.CanRenderToSeparateSurface. NOTRY=true BUG=297299 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225637

Patch Set 1 #

Total comments: 2

Patch Set 2 : Apply danakj nits #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -4 lines) Patch
M cc/trees/layer_tree_host.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 5 chunks +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 4 chunks +13 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
aelias_OOO_until_Jul13
PTAL, another incremental workaround for lack of intermediate buffers in software WebView.
7 years, 3 months ago (2013-09-23 23:47:50 UTC) #1
danakj
I have two reservations about this CL: 1) Making the RSLL diverge greatly on the ...
7 years, 3 months ago (2013-09-24 14:47:04 UTC) #2
enne (OOO)
I think the preserves-3d creating unnecessary surfaces bug could be fixed separately as a performance ...
7 years, 3 months ago (2013-09-24 15:40:07 UTC) #3
aelias_OOO_until_Jul13
On 2013/09/24 15:40:07, enne wrote: > I think the preserves-3d creating unnecessary surfaces bug could ...
7 years, 3 months ago (2013-09-24 18:47:51 UTC) #4
shawnsingh
On 2013/09/24 18:47:51, aelias wrote: > On 2013/09/24 15:40:07, enne wrote: > > I think ...
7 years, 3 months ago (2013-09-24 18:58:34 UTC) #5
aelias_OOO_until_Jul13
On 2013/09/24 18:58:34, shawnsingh wrote: > What is the preserve-3d issue? I'm not seeing any ...
7 years, 3 months ago (2013-09-24 19:36:12 UTC) #6
shawnsingh
On 2013/09/24 19:36:12, aelias wrote: > On 2013/09/24 18:58:34, shawnsingh wrote: > > What is ...
7 years, 3 months ago (2013-09-24 20:51:59 UTC) #7
enne (OOO)
lgtm, modulo danakj's comments Filed issue 299105 for optimizing this behavior.
7 years, 2 months ago (2013-09-26 18:53:34 UTC) #8
aelias_OOO_until_Jul13
Thanks. Nits applied, landing.
7 years, 2 months ago (2013-09-27 01:57:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/24280009/15001
7 years, 2 months ago (2013-09-27 01:58:21 UTC) #10
commit-bot: I haz the power
7 years, 2 months ago (2013-09-27 02:46:50 UTC) #11
Message was sent while issue was closed.
Change committed as 225637

Powered by Google App Engine
This is Rietveld 408576698