Microsoft Open Technologies is working with the ANGLE Project community to enable ANGLE in Windows Phone 8 and Windows Store apps. This will allow developers to reuse their existing OpenGL ES 2.0 code, and to apply their current skills to building apps and games for Windows devices.
ANGLE Project is an open source project which goal is to allow Windows users to run OpenGL ES 2.0 content seamlessly by translating OpenGL ES 2.0 API calls to DirectX 9 or DirectX 11.
The changes proposed by MS Open Tech developers so far consist of the following:
- Added support to ANGLE for Windows Store Apps (WinRT) on Windows 8.0 and Windows 8.1
- Added support to ANGLE for Windows Phone 8.0 (WP8)
- Added preliminary support to precompile shaders for WP8 and WinRT (on Windows 8.0)
- Added support for DirectX 11 feature levels 9_1 (WinRT) and 9_3 (WP8)
- Support for runtime shader compilation for WinRT on Windows 8.1 was added. It is no longer necessary to include the D3DCompiler.dll with your app.
- Project solution files for WinRT (VS2012 and VS2013) and WP8 (VS2012) were added to build ANGLE for these devices.
- A sample project called RotatingCube was added to the samples directory to demonstrate the use of ANGLE on WinRT and WP8. Sample projects for Visual Studio 2012 and 2013 were added.
If you want to see the results of this work, the Cocos2D-X project is already leveraging ANGLE to simplify app portability to Windows Store and Windows Phone 8. You can learn more about it from our blog post.
While we work with Shannon Woods, Andrew Knight and others from the ANGLE project community to integrate these changes in the main branch of the project, you are warmly encouraged to join the discussion. Please contribute to this effort by downloading the bits from our development branch, and by offering your comments and feedback.
Dale Stammen – Software Developer – Microsoft Open Technologies, Inc.
Adalberto Foresti – Principal Program Manager – Microsoft Open Technologies, Inc.