skia-gpu-build

Configure GPU builds of Pulp using Skia Graphite and Dawn.

1|Updated Jul 11, 2026
One-click install
npx skills add https://github.com/danielraffel/burl --skill skia-gpu-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skia-gpu-build
Source: https://github.com/danielraffel/burl/tree/main/.agents/skills/skia-gpu-build
Command: npx skills add https://github.com/danielraffel/burl --skill skia-gpu-build

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires FindSkia, build-skia.sh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables a GPU build of Pulp using Skia Graphite over Dawn (WebGPU), solving issues related to GPU rendering and build configuration.

Core Features & Use Cases

  • GPU Build Support: Ensures Pulp applications use GPU rendering with Skia Graphite and Dawn (WebGPU).
  • Troubleshooting GPU Builds: Provides steps to diagnose and resolve common GPU build issues, such as missing Skia libraries or architecture mismatches.
  • Reconfiguration of Build Directories: Offers instructions to configure separate GPU and CPU build directories for deterministic results.

Quick Start

Run the command 'cmake -S . -B build-gpu -DCMAKE_BUILD_TYPE=Release -DSKIA_DIR=/path/to/skia -DPULP_ENABLE_GPU=ON' to configure a GPU build for Pulp.

Frequently Asked Questions about skia-gpu-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a GPU build for Pulp using Skia?

Configuring a GPU build for Pulp requires running cmake with `CMAKE_BUILD_TYPE=Release`, setting `SKIA_DIR` to your local Skia path, and enabling the `-DPULP_ENABLE_GPU=ON` flag to activate Skia Graphite and Dawn.

What does using Skia Graphite over Dawn WebGPU solve for Pulp applications?

Using Skia Graphite over Dawn WebGPU solves GPU rendering and build configuration issues, ensuring Pulp applications can successfully execute hardware-accelerated graphics tasks without missing libraries.

Do I need separate build directories for CPU and GPU rendering in Pulp?

Yes, you need separate build directories for CPU and GPU rendering in Pulp to ensure deterministic build results and prevent architecture or library compatibility mismatches between different rendering targets.

Why does my Pulp GPU build fail with missing Skia libraries?

Your Pulp GPU build fails with missing Skia libraries due to incorrect build configurations or architecture mismatches, which requires reconfiguring your build directory to properly locate and link the Skia dependencies.

Can I use WebGPU for rendering in Pulp without a specific Skia version?

Using WebGPU for rendering in Pulp requires a compatible Skia build that includes Skia Graphite and Dawn, meaning you must correctly configure and build the Skia library from your specified `SKIA_DIR` before compilation.