Hi, I ' ve ported Chromium M39 to 4.4 using WebView.
The main modifications are:
- i changed AWCONTENTS::REQUESTDRAWGL to call Awcontents::D RAWGL directly using Process-sync mode when canvas input was NULL
- android 4.4 seems to has only D Raw mode DRAWGL call, so I added Process-sync mode call in Drawglfunctor::operator ()
- i changed 5". Wait () "Calls in Inprocesscommandbuffer class implementations-let it pass through when on 4.4 and in UI thread li>
- i also fixed the inprocesscommandbuffer::P erformidlework () deadlock Problem
& Nbsp;in some situcations Awcontents::requestdrawgl is not called from inside of OnDraw, and IPCB::P erformidlework () recurs Ively calls itself, whose autolock causes deadlock.
It now runs fluently in Nexus 4, but have a problem on a special Mobile Phone, which is using Android 4.4.2 and 1920x1080p Screen.
The problem is, when browsing http://tieba.baidu.com/,
- It initially loads page and displays OK
- When I ' slowly ' scrolls the page Up-down, some of the page content which should slide on at once, but just delays 2~3s to Display
- When I ' fastly ' flips the page up-down, the upper side and bottom side of content becomes blank-white, no displaying back
I also test it on 2 other 1080p-screen mobile phones, there is no such problems.
Can any one of the problem, I can imagine some causes, but I ' m not familiar with Android-chromium graphics stack:
- Does this relate to the problematic ' 1080p ' phone, or was there any roots in tiling or OpenGL ES graphics driver?
- Maybe Webkit/bink core does not paint the part, or CC compositor does does the duty of compositing work?
Thanks Very much!
Ps:hi Baoliu, you had said the work porting Chromium m38+ to Android 4.4 was not supported by Google officially, but hope To hear your wise judgement.
The problematic URL Is:http://tieba.baidu.com/?page=discovery
On Desktop Chrome, F12-to-open developer console, then choose Nexus 5 as Simulator.
I find the top TAB div element switches between
<div class= "Tab_head tab_index_head j_tab_index_head blue_kit light_tab_head tab_index_head_clone" style= "Display: -webkit-box; opacity:1; " > ...
and
<div class= "Tab_head tab_index_head j_tab_index_head blue_kit light_tab_head tab_index_head_clone" style= "Display: -webkit-box; opacity:0; " >
A Mail sent to Google chromium.org Groups