By Eduardo Lima.
While user experiences are increasingly moving to 3D, rendering of 2D content remains at the core of how we interact with computer applications today. Skia is an open-source project maintained by Google whose goal is to bring the best 2D graphics library to a variety of targets, from mobile to desktop and embedded. Skia is used in highly popular projects like Mozilla Firefox, the Chromium browser and Android.
This talk will introduce Skia to developers and users, giving an overview of its design, architecture and features. It will also discuss briefly how hardware acceleration improves performance of Skia in the context of new devices, form-factors and the industry shift to mobile; with focus set on Linux and Android platforms.
32. Ganesh: the OpenGL(ES) backend
Expected to accelerate full web
content rendering in the future
33. Ganesh: the OpenGL(ES) backend
Some features:
● Accelerate and combine effects with on-demand
shaders
● Batching and merging of draw operations
● Geometry shaders
● Accelerated path rendering if available
(NV_path_rendering)
35. Performance
Great tools available:
● Benchmarks in Skia repository under /bench
● Skia-telemetry
● skiaperf.com
● Chromium/Chrome’s about:tracing can also help
40. Roadmap
APIs and New Features:
● Shareable pictures across process boundaries
● sRGB support, in partnership with Chrome
41. Roadmap
Dev and Test Infrastructure:
● New correctness testing framework
● More frequent recapturing of web archives for
buildbot and cluster telemetry testing