| Summary: | SDL 2.0 does not support OpenGL ES 2.0 on windows | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sergey Kurdakov <kurdakov> |
| Component: | video | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | BurnSpamAddress |
| Version: | 2.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 8 | ||
| Attachments: |
OpenGL ES support for Windows using ANGLE
OpenGL ES support for Windows using ANGLE |
||
|
Description
Sergey Kurdakov
2013-09-05 13:33:07 UTC
*** Bug 2222 has been marked as a duplicate of this bug. *** Sam, I've been working on this. In order for this to work semi sanely in Visual Studio, we need to ship, at least, the EGL and OpenGL ES2 headers in SDL like we do in SDL_opengl.h, otherwise we start having a build time dependency on Angle. Does that sound like a good compromise? Yup, sounds good. :) Created attachment 1462 [details]
OpenGL ES support for Windows using ANGLE
Attached is a first pass at achieving this. To test, you need the ANGLE binaries, which you can obtain from any Chrome install (libEGL.dll, libGLESv2.dll, and d3dcompiler_46.dll)
Three main remaining items:
- testgles2 does not actually work in my system (it displays the first frame and does not update the window)
- Loading d3dcompiler_46.dll should be driven by a hint, given that you can also load d3dcompiler_43.dll to better support XP, or not load it at all if you roll a hand built version of ANGLE which includes their compiler.
- README explaining caveats (all of the above, plus how to install Angle, how to obtain it, etc)
Created attachment 1464 [details]
OpenGL ES support for Windows using ANGLE
Attaching final version!
|