Using SKIA library instead of Android Canvas
Asked Answered
B

2

10

While I am researching about 2D rendering pipeline of android, I came to know a graphic library SKIA written in C++.

But I am not sure it can be used instead of android Canvas.

Can it be used as a replacement of the Canvas?

Thanks in advance for your help.

Brazilein answered 23/5, 2013 at 10:31 Comment(3)
afaik android uses skia internallyShallop
If it's true, can I modify SKIA code to customize drawing algorithm?Brazilein
sure, see source.android.comShallop
C
7

You can find information here: Using Skia in Android NDK

All UI animation performed by Android are implementing using SKIA, but is very inefficient for huge graphical stuff since it does not use the graphic hardware available on the phone.

Cataphoresis answered 23/5, 2013 at 10:50 Comment(1)
The actual link to skia+android example: chromium.googlesource.com/skia/+/chrome/m39/platform_tools/…Adel
V
1

The Skia library is the Canvas, by and large. See: How do the pieces of Android's (2D) Canvas drawing pipeline fit together?

Vote answered 23/5, 2013 at 10:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.