diff options
author | Mike Klein <mtklein@chromium.org> | 2016-11-07 09:45:07 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-07 14:50:54 +0000 |
commit | 25495f77069da9e49ea5d08e14ae54a11d0ef084 (patch) | |
tree | a3d21b32d0efc64692d190e838a7721890d025cc /site/user/special | |
parent | d6214d4f4664ce47861dc690b0ddbea3b7a07855 (diff) |
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>
Diffstat (limited to 'site/user/special')
-rw-r--r-- | site/user/special/angle.md | 22 | ||||
-rw-r--r-- | site/user/special/windows_angle.md | 32 |
2 files changed, 22 insertions, 32 deletions
diff --git a/site/user/special/angle.md b/site/user/special/angle.md new file mode 100644 index 0000000000..ff8f1c8d3e --- /dev/null +++ b/site/user/special/angle.md @@ -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 diff --git a/site/user/special/windows_angle.md b/site/user/special/windows_angle.md deleted file mode 100644 index abd73ad58c..0000000000 --- a/site/user/special/windows_angle.md +++ /dev/null @@ -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. |