update ANGLE docs for GN, current test tools
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4454 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=4454 Change-Id: If9e5d763b599db358597e79e090f7a8aba618e10 Reviewed-on: https://skia-review.googlesource.com/4454 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
d6214d4f46
commit
25495f7706
22
site/user/special/angle.md
Normal file
22
site/user/special/angle.md
Normal file
@ -0,0 +1,22 @@
|
||||
ANGLE
|
||||
=====
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
ANGLE converts OpenGL ES 2 or 3 calls to DirectX 9, 11, or OpenGL calls. These
|
||||
instructions document how to use ANGLE instead of the native OpenGL backend on
|
||||
Windows or Linux.
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
`gclient sync` downloads ANGLE's source alongside Skia's other test-only dependencies.
|
||||
|
||||
To build Skia testing tools against ANGLE, add `skia_use_angle = true` to your
|
||||
`args.gn` file (or run `gn args` to edit it).
|
||||
|
||||
When running tools, use `--config angle_<backend>_<frontend>`, e.g.
|
||||
|
||||
out/Debug/dm --src gm --config angle_d3d11_es2
|
||||
out/Release/nanobench --config angle_gl_es2
|
@ -1,32 +0,0 @@
|
||||
Using ANGLE on Windows
|
||||
======================
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
ANGLE converts OpenGL ES 2.0 calls to DirectX 9 calls. These instructions
|
||||
document how to use ANGLE instead of the native OpenGL backend on Windows.
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
Angle is now downloaded as a part of Skia according to the `DEPS` file.
|
||||
|
||||
Add `skia_angle=1` to your `GYP_DEFINES` environment variable.
|
||||
|
||||
Run:
|
||||
|
||||
python gyp_skia
|
||||
|
||||
Remember
|
||||
--------
|
||||
|
||||
In SampleApp you will need to use the 'D' key to get to the ANGLE backend unless you enable the `DEFAULT_TO_ANGLE` #define in `SampleApp.cpp`.
|
||||
|
||||
* Use “--angle” to enable ANGLE in gm.
|
||||
|
||||
* Use “--config ANGLE” to use ANGLE in bench.
|
||||
|
||||
* Use "--config angle" to use ANGLE in bench_pictures and render_pictures.
|
||||
|
||||
ANGLE will automatically be compiled into the GLInterfaceValidation test.
|
Loading…
Reference in New Issue
Block a user