3

I have read an answer related to SKIA library here in stackoverflow that Android OS 3.0 or above is using HWUI library.

I wonder if Android OS 4.1 or higher uses whether SKIA graphic library or HWUI library, or it uses both.

Can anyone clarify my curiousity?

Thank you.

user1985973
  • 181
  • 1
  • 2
  • 11

2 Answers2

1
both
  1. when support hardware accelerate, it will use HWUI library.
  2. when you shut down hardware accelerate , it will use skia graphic library (for example: in your layout file: you could use android:layerType="software" )
0

Android 4.x is using both skia and hwui.

Android 4.1.2 manifest.xml lists skia as a dependency.

And hwui library is part of frameworks/base.

mvp
  • 111,019
  • 13
  • 122
  • 148