Windows: Add ANGLE support.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 23 May 2012 13:07:06 +0000 (15:07 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 07:13:01 +0000 (09:13 +0200)
commite7f1106edb1ac37d92d7851c44cd8d99f68eaaf4
treeb4d01b3ca52a0ff8a8ec0aa1803beeac78196508
parentb63e101a90b677dcb192214aef35a107620c5f3c
Windows: Add ANGLE support.

- Add QWindowsEGLContext usable for ANGLE and Windows CE.
- Add QWindowsEGLStaticContext containing the display
  for resource cleanup.
- Add EGLSurface to QWindowsWindow.
- Add a -angle option specifying the path to the external
  ANGLE installation to configure, add libraries to
  the mkspecs.

Initial-patch-by: Jabot Corentin <corentinjabot@gmail.com>
Task-number: QTBUG-24207

Change-Id: I5f80b1efb6996da7c5d70aa3720f7801c9e4c6af
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
15 files changed:
dist/changes-5.0.0
mkspecs/features/win32/opengl.prf
mkspecs/win32-msvc11/qmake.conf
mkspecs/win32-msvc2005/qmake.conf
mkspecs/win32-msvc2008/qmake.conf
mkspecs/win32-msvc2010/qmake.conf
src/opengl/qglshaderprogram.cpp
src/plugins/platforms/windows/qwindowscontext.h
src/plugins/platforms/windows/qwindowseglcontext.cpp [new file with mode: 0644]
src/plugins/platforms/windows/qwindowseglcontext.h [new file with mode: 0644]
src/plugins/platforms/windows/qwindowsintegration.cpp
src/plugins/platforms/windows/qwindowswindow.cpp
src/plugins/platforms/windows/qwindowswindow.h
src/plugins/platforms/windows/windows.pro
tools/configure/configureapp.cpp