skia2/site/user/special/windows_angle.md
hcm 343c2f4dfb Adding user doc section and core files for new site
- Updated QSGs with relative links to download page, removed outdated and googler-only iOS instructions.
- Will add "contributing" page and update project roles link in next batch with developer section

Preview link: http://skiadocs.com:8000/user/quick/android?cl=834353003

BUG=skia:

Review URL: https://codereview.chromium.org/834353003
2015-01-08 10:43:34 -08:00

33 lines
819 B
Markdown

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.