Questions tagged [skia]

Skia is a complete C++ 2D graphics library for drawing text, geometries, and images.

Skia is a key part of several shipping products, including chromium, and as such will continue to track those projects' needs and priorities. However, Skia is also a general purpose graphics engine.

Features include:

  • 3x3 matrices w/ perspective
  • antialiasing, transparency, filters
  • shaders, xfermodes, maskfilters, patheffects
  • subpixel text

Device backends for Skia currently include:

  • Raster
  • OpenGL
  • PDF
  • XPS
  • Picture (for recording and then playing back into another Canvas)

Ports include:

  • Android
  • Windows
  • Macintosh
  • Linux

More information available at

  1. http://code.google.com/p/skia/
  2. http://en.wikipedia.org/wiki/Skia_Graphics_Engine
319 questions
0
votes
2 answers

Load a different version of system shared library on Android by NDK?

I am trying to develop an android application by using some native libraries.However, the system shared libraries on android 4.0 and android 4.1.2 are different. To ensure the compatibility, I get the libskia.so file from platform 4.0, and import it…
Vito Li
  • 23
  • 1
  • 6
-1
votes
0 answers

Create Skia Context from GLSurfaceView

I'm trying to create a Skia Context inside my GLSurfaceView to draw to an OpengL Texture using Skia. This is my code: Java/Kotlin part: class SkiaPreviewView(context: Context): GLSurfaceView(context), GLSurfaceView.Renderer { init { …
mrousavy
  • 857
  • 8
  • 25
-1
votes
1 answer

Android 11,crash in skia/src/ops/GrorvalOpFactory.cpp, Help me see why

https://github.com/google/skia/blob/master/src/gpu/ops/GrOvalOpFactory.cpp cras in this function this->setVertexAttributes(&fInPosition, 7); After tracking and positioning, the problem is that the next pointer position of fInPosition is not a legal…
baicai
  • 1
  • 1
-2
votes
1 answer

How to create button with dynamic width in Skia React Native

I want to create a button using Skia library in React Native. The width of button should expand acconding to text or content in it. Thanks.
1 2 3
21
22