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.
Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms. It serves as the graphics engine for Google Chrome and ChromeOS, Android, Flutter, and many other products.
Skia Canvas is a browser-less implementation of the HTML Canvas drawing API for Node. js. It is based on Google's Skia graphics engine and, accordingly, produces very similar results to Chrome's <canvas> element.
SkiaSharp is a cross-platform 2D graphics API for . NET platforms based on Google's Skia Graphics Library (skia.org). It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
The Skia Graphics Engine or Skia is an open-source 2D graphics library written in C++.
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.
The Skia library is the Canvas
, by and large. See: How do the pieces of Android's (2D) Canvas drawing pipeline fit together?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With