sundaycrafts/skia


originally forked from official repository

https://skia.googlesource.com/skia.git

License: BSD-3-Clause

Language: C


Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.

Setup

Download Source

The official document recommends using depot_tools that originally for dealing with Chromium development to download. Basically, it's a collection of scripts but also download development tools such as Python, GN, git (if it's not installed yet).

See How to download Skia | Skia for detail.

Getting Started (Tutorial)

Build Skia Viewer

Skia Viewer demonstrate basic Skia features. It's built using regular GN process.

# for M1 mac
gn gen out/Release --args='is_debug=false target_cpu="arm64"'
ninja -C out/Release viewer
Key Action
← → Move between the slides
↑ ↓ Zoom in / out
d Change render methods among raster, OpenGL and Vulkan
s Display rendering times and graph
Space Toggle display of Tools UI

Build Other testing apps

# After `gn gen`
ninja -C out/Release HelloWorld

See ./BUILD.gn for more options.

Project Statistics

Sourcerank 2
Repository Size 658 MB
Stars 1
Forks 0
Watchers 2
Open issues 0
Dependencies 0
Contributors 248
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

bsalomon reed-at-google rphilli Brian Osman johnstiles-google egdaniel herbderby Florin Malita Jim Van Verth Kevin Lubick Hal Canary csmartdalton86 Michael Ludwig mattsarett joshualitt LeonScroggins dogben Eric Boren Ravi Mistry cary-clark

Something wrong with this page? Make a suggestion

Last synced: 2024-04-05 13:26:35 UTC

Login to resync this repository