New issue
Advanced search Search tips

Issue 640917 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

with GPU Compositing,SoftwareRenderer::DrawPictureQuad() taking long time on N (WebView 51.0.2704.91)

Reported by buptlian...@gmail.com, Aug 25 2016

Issue description

THIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB
BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE!

Device name:Qualcomm MSM8976
Android version:7.0
WebView version (from system settings -> Apps -> Android System WebView):51.0.2704.91
Application:shuqi novel
Application version:V9.8.2.35

URLs (if applicable):



Steps to reproduce:
(1)Launch shuqi app 
(2)click "书城" --> ”排行“ -- > ”精品畅销榜“
(3) scorll and measure the fps

Expected result:
fps higher than/equal to Qualcomm 8976 Android M:53.7fps
	              
(see attache trace: trace_shqi_76M_default_53fps)

Actual result:
on Qualcomm 8976 N:  27.4fps
(see attach trace:test_76_shuqi_N_webview_default_27fps )


was trying to disable below two at the same time by /data/local/tmp/webview-command-line, but webpage became blank
const char kDisableThreadedCompositing[]     = "disable-threaded-compositing";

// Prevent the compositor from using its GPU implementation.
const char kDisableGpuCompositing[]         = "disable-gpu-compositing";

 
shuqixiaoshuo_123.apk
15.0 MB Download
test_76_shuqi_N_webview_default_27fps.rar
2.7 MB Download
trace_shqi_76M_default_53fps.rar
1.2 MB Download

Comment 1 by boliu@chromium.org, Aug 25 2016

Status: WontFix (was: Unconfirmed)
you are doing a software draw, of course it's going to be slow

plus webview software draw is deprecated and is in maintenance mode, so we are not going to optimize it more
1 this App(shuqi novel) call setLayerType to indicate LAYER_TYPE_SOFTWARE layertype for webview, so SoftwareRenderer created. 
2 override layer type to LAYER_TYPE_HARDWARE from framework can help improve fps(on QUALCOMM 8976M  ~60fps).

the app should be the one to blame. (they may want compatibility)

one more question, we didn't tune softrender path for threaded compositing,right?

asked this question because :
1 )compared with Android M (maybe about chromium m44), even both use softrender, this app can reach 53fps on Android M webview)
2 ) they still some App stick on softrender for compatibility, besides suggest the app to change to HW render, anything we can do from chromium side?

Comment 3 by boliu@chromium.org, Aug 30 2016

I'm not entirely sure what are 

> we didn't tune softrender path for threaded compositing,right?

that's hard to say, if skia or other folks made any optimizations.

> 1 )compared with Android M (maybe about chromium m44), even both use softrender, this app can reach 53fps on Android M webview)

Did you enable multiprocess on N? there is known regression in software draw for multiprocess, and we are *not* planning on fixing that

> 2 ) they still some App stick on softrender for compatibility, besides suggest the app to change to HW render, anything we can do from chromium side?

No
thanks for the answer.
that trace was captured by single process on N.

Sign in to add a comment