/angle

ANGLE: OpenGL ES to DirectX translation for Windows Phone, Windows Store and Desktop

Primary LanguageC++OtherNOASSERTION

ANGLE -- Microsoft Windows Store branch

ANGLE allows Windows users to seamlessly run OpenGL ES content by efficiently translating OpenGL ES API into DirectX 11 API calls.

The ms-master branch in this repository is maintained by Microsoft to support the use of ANGLE by Windows Store app developers. It contains:

  • A copy of ANGLE that is regularly updated from the ANGLE master branch
  • Recent changes made by Microsoft that have not yet been merged back to ANGLE master (our goal is to eventually merge everything, but if you want the latest and greatest Windows Store features, you will find them here first)
  • Documentation and project templates focused on Windows Store app development
  • Sample code and utilities such as DDS and WIC texture loaders
  • This branch is the source for building the ANGLE binaries that we publish on NuGet

ANGLE fully supports these C++ app types:

  • Universal Windows apps (Windows 10)
  • Windows 8.1 and Windows Phone 8.1 apps
  • Windows desktop applications

ANGLE supports different versions of OpenGL ES depending on the capabilities of the underlying hardware. In particular, the supported version depends on which D3D Feature Levels the hardware supports:

Hardware
Feature Levels
Example devices What does ANGLE support?
11_1
11_0
10_1
10_0
Modern Desktop PCs
Surface Pros
OpenGL ES 2.0
Parts of OpenGL ES 3.0
9_3 Windows Phones OpenGL ES 2.0 (except minor corner cases)
9_2
9_1
Surface RT OpenGL ES 2.0 (via software emulation)
None Raspberry Pi 2 OpenGL ES 2.0 (via software emulation)

Getting ANGLE

There are two ways to get ANGLE for Windows Store applications:

  1. Download compiled ANGLE binaries as a NuGet package
  2. Download and compile the ANGLE source code from this GitHub repository

Easy-to-use Visual Studio app templates are currently available for option 2 above. See the 'Quick Start' section below for more details.

Requirements

Windows 10 Development:

Windows 8.1 and/or Windows Phone 8.1 Development:

  • Visual Studio Community 2013 (Update 4), or higher/later.
  • Windows 8.1 for local Windows development.

Clasic Windows (Desktop) Development:

  • Visual Studio 2015 Community or higher.

More Info

For detailed information about ANGLE, please visit our wiki (found here). Our wiki contains lots of useful information about ANGLE, including:

  • Guides to help you get started with ANGLE in Windows apps
  • Tips and tricks to get good performance out of ANGLE
  • Sample code and documentation
  • And more!

For a broad overview of ANGLE and how it works, please take a look at our //BUILD/ 2015 presentation.

Quick Start (compiling from source)

  1. Clone or download ANGLE from our GitHub repository
  2. Install our easy-to-use Visual Studio templates by running install.bat in the /templates/ directory of your copy of ANGLE, or follow these manual steps.
  3. Open the appropriate ANGLE Visual Studio solution for your project, and build all flavors of it
  4. In Visual Studio go "File -> New -> Project", create a new ANGLE application, and hit F5 to run it!

The Windows 10 Visual Studio solution for ANGLE is located here:

  • /winrt/10/src/angle.sln

The Windows 8.1 Visual Studio solutions for ANGLE are located here:

  • /winrt/8.1/windows/src/angle.sln
  • /winrt/8.1/windowsphone/src/angle.sln

The Visual Studio solution for Windows desktop applications is located here:

  • /src/angle.sln

Useful Links

Feedback

If you have feedback about this branch then we would love to hear it. Please create an issue on this GitHub page, or contact the Microsoft contributors directly.

Microsoft Contributors

  • Cooper Partin (coopp-at-microsoft-dot-com)
  • Austin Kinross (aukinros-at-microsoft-dot-com)