ericltw / notes

0 stars 1 forks source link

Skia Graphics Engine #15

Open ericltw opened 6 years ago

ericltw commented 6 years ago

Skia Graphics Engine

Skia is a complete 2D graphic library written in C++ for drawing Text, Geometries, and Images. Skia Inc. originally developed the library; Google acquired it in 2005, and then released the software as open source licensed under the NEW BSD free software license.

What is Graphics library?

A graphics library is a program designed to aid in rendering computer graphics to a monitor. This typically providing optimized versions of functions that handle common rendering tasks. This can be done purely in software and running on the CPU, common embedded systems, or being hardware accelerated by a GPU, more common on PCs. By employing these functions, a program can assemble an image to be output to a monitor. This relieves the programmer of the task of creating and optimizing these functions, and allows them to focus on building the graphics program.

Skia is used in

GoogleChrome, Chrome OS, Mozilla Firefox, Android, Flutter

Skia's back-ends

one for CPU-based software rasterization, one for PDF output, and one for GPU-accelerated OpenGL, XPS, Pictures

Partially implemented back-ends

OpenGL ES, OpenVG, SVG, Adobe SEF(Flash)

Similar projects

Cairo, QPainter (Qt), Direct2D, Cocoa Drawing.

Reference