kc3-lang/angle/doc/BuildingAngleForWindowsStore.md

Download

How to build ANGLE for Windows Store

ANGLE provides OpenGL ES 2.0 and EGL 1.4 libraries and dlls. You can use these to build and run OpenGL ES 2.0 applications on Windows.

Development setup

ANGLE for Windows Store uses most of the same steps found in ANGLE Development with a few changes.

Required Tools

Getting the source

Set the following environment variables as needed:

Download the ANGLE source by running the following commands:

git clone https://chromium.googlesource.com/angle/angle
python angle/scripts/bootstrap.py
gclient sync
git checkout master

Gyp will generate multiple VS2015 solution files

Building ANGLE

  1. Open one of the ANGLE Visual Studio solution files (see Getting the source).
  2. Select Build -> Configuration Manager
  3. In the “Active solution configuration:” drop down, select the desired configuration (eg. Release), and close the Configuration Manager.
  4. Select Build -> Build Solution. Once the build completes, the output directory for your selected configuration (eg. Release_Win32, located next to the solution file) will contain the required libraries and dlls to build and run an OpenGL ES 2.0 application.

To Use ANGLE in Your Application

  1. A template for creating a Windows Store application that uses ANGLE can be found here.
  2. Configure your build environment to have access to the include folder to provide access to the standard Khronos EGL and GLES2 header files.
  1. Configure your build environment to have access to libEGL.lib and libGLESv2.lib found in the build output directory (see Building ANGLE).
  1. Copy libEGL.dll and libGLESv2.dll from the build output directory (see Building ANGLE) into your application folder or packages location if a ANGLE Windows Store NuGet was used.
  2. Code your application to the Khronos OpenGL ES 2.0 and EGL 1.4 APIs.

Source

Download