android4.4 WebView chromium and chromium for Android hardware rendering similarities and differences

Source: Internet
Author: User

Same point:

The rendering process for the android4.4 WebView chromium is exactly the same as the five subprocesses summarized in the full resolution (render process) of the chromium for Android hardware rendering process.

The rendering process for android4.4 WebView Chromium is also comprised of these five sub-processes.

Different points:

The driver for Web page rendering in 1.android4.4 is also controlled by the Android UI system. That is, Webview.ondraw () is the entrance to the rendering. Chromium for Android does not use the WebView control, and the drawn drive is completely controlled by the underlying chromium. Webview.ondraw () triggers the second process. The Android UI system calls Webview.ondraw () to trigger the rasterization of the Web content, followed by three, four, and five processes.

2. The second process rasterization uses different memory sources. Chromium for Android is a sharedmemory implemented by Ashmem. android4.4 WebView is the Graphicbuffer of an Android system that is eventually used by a glue layer.

3.android4.4 WebView Chromium is the framebuffer of the Web content that is directly synthesized onto screen, webview corresponding framebuffer for The render process for Android is to synthesize the content of the Web page onto the framebuffer of off screen. The framebuffer ID of the glbindframebuffer binding called by android4.4 WebView chromium is 0, which is the framebuffer on screen.

4.android4.4 WebView Chromium is a single process, chromium for Android is multi-process.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.