skia2/site/user/special/angle.md
Mike Klein c168a3ac3c Revert "Always build the ANGLE test code. Always build ANGLE on windows and linux."
This reverts commit 238b820369.

Reason for revert: breaks 32-bit bots, iOS bots, Google3 roll, -ASAN bot.

Original change's description:
> Always build the ANGLE test code. Always build ANGLE on windows and linux.
> 
> Make ANGLE test code independent of having ANGLE lib. Make ANGLE test code not include EGL headers.
> 
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4040
> 
> DOCS_PREVIEW= https://skia.org/?cl=4040
> 
> Change-Id: I7b857e9785246743f53fb969647b1162ce7419ab
> Reviewed-on: https://skia-review.googlesource.com/4040
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> Reviewed-by: Mike Klein <mtklein@chromium.org>
> 

TBR=mtklein@chromium.org,mtklein@google.com,bsalomon@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: I19bab8c93baebf032f8a4cefbedfe7359317e806
Reviewed-on: https://skia-review.googlesource.com/4758
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2016-11-14 14:53:23 +00:00

616 B

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