Android Graphics Internals

前端 未结 4 1738
孤独总比滥情好
孤独总比滥情好 2020-12-12 20:59

I haven\'t found a clear explanation on how the Android graphics system works, specifically, does it use a display server, is it based on DirectFB or X11, etc.

From

相关标签:
4条回答
  • 2020-12-12 21:18

    Romain Guy was definitely right. But thing changed since Android 3.0. Skia is not that important anymore , most 2D drawing are accelerated using openGL, a.k.a HWUI component.

    0 讨论(0)
  • 2020-12-12 21:30

    All the information about android graphics can be found here:

    https://source.android.com/devices/graphics/

    0 讨论(0)
  • 2020-12-12 21:31

    There is a brief introduction presentation about Android Graphics: http://www.slideshare.net/jserv/design-and-concepts-of-android-graphics

    0 讨论(0)
  • 2020-12-12 21:35

    There are two core pieces to Android graphics: SurfaceFlinger and Skia. SurfaceFlinger is Android's compositor, used by the window manager to create and display windows (actually called surfaces.) SurfaceFlinger is implemented on top of OpenGL ES 1.x currently and can also use other hardware acceleration techniques when available (MDP, a 2D blitter on the T-Mobile G1, or hardware overlays on the Xoom.)

    Each application renders into its windows (or surfaces) using primarily Skia. Skia is Android's 2D graphics library. You can also use OpenGL ES 1.x and 2.0 to render into a surface.

    Android doesn't use DirectFB or X11 or any other existing Linux solution.

    0 讨论(0)
提交回复
热议问题