Skip to content

Advanced-Effects/skia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47,677 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skia for Friction

Fork of skia for use with Friction.

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

Linux/macOS

Note that Friction includes skia and will build it for you.

Requirements

  • ninja
  • python3
  • cmake
  • clang
  • expat
  • freetype
  • fontconfig
  • libjpeg-turbo
  • libpng
  • libwebp
  • zlib

Options

  • -DSKIA_USE_SYSTEM_LIBS=OFF
  • -DSKIA_SYNC_EXTERNAL=ON (not needed if using source tarball)

Will build all dependencies instead of using system libraries.

Build and install

mkdir build && cd build
cmake -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang ..
cmake --build .
cmake --install .

This will install libskia-friction.so to defined install path. Add optional --prefix=/some/path to install to a different location.

Note: Install option only available on Linux.

Windows

Requirements

  • CMake, Python and Ninja in PATH
  • LLVM (Installed to Program Files, v15 recommended)
  • Visual Studio (Build Tools) 2017

Build

cmake -A x64 -DSKIA_USE_SYSTEM_LIBS=OFF -DSKIA_SYNC_EXTERNAL=ON ..
cmake --build .
  • SKIA_SYNC_EXTERNAL=ON requires git in PATH, not needed if using source tarball

About

Friction Graphics Engine (skia)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.9%
  • Pawn 3.4%
  • Python 2.5%
  • C 1.6%
  • JavaScript 1.4%
  • HTML 1.2%
  • Other 3.0%