xref: /aosp_15_r20/external/skia/site/docs/user/special/angle.md (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1
2---
3title: "ANGLE"
4linkTitle: "ANGLE"
5
6---
7
8
9Introduction
10------------
11
12ANGLE converts OpenGL ES 2 or 3 calls to DirectX 9, 11, or OpenGL calls. These
13instructions document how to use ANGLE instead of the native OpenGL backend on
14Windows or Linux.
15
16Details
17-------
18
19`gclient sync` downloads ANGLE's source alongside Skia's other test-only dependencies.
20
21To build Skia testing tools against ANGLE, add `skia_use_angle = true` to your
22`args.gn` file (or run `gn args` to edit it).
23
24When running tools, use `--config angle_<backend>_<frontend>`, e.g.
25
26    out/Debug/dm --src gm --config angle_d3d11_es2
27    out/Release/nanobench --config angle_gl_es2
28
29