Does Juce support IPad/OpenGL ES 2?


#1

I’m looking into Juce source code:

#if JUCE_IOS
#import <Foundation/Foundation.h>

#if JUCE_OPENGL
#include <OpenGLES/ES1/gl.h>
#include <OpenGLES/ES1/glext.h>
#endif

and I don’t see any:

#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>

does Juce supports “OpenGL ES 2” context for the IPAD?
Thanks.Giorgio.


#2

No, I’ve not done es2 yet… (I think there was some kind of reason why I avoided it yet, but can’t remember exactly what it was…)


#3

Thanks for your quick answer.
Do you have any plan about Juce/OpenGL ES2?
I’m asking because some software/mobile hardware is moving to that direction (see Android and WebGL).
With OpenGL Es 1 is not possible to use GLSL shaders, which are really useful in several cases.
Thanks.Giorgio.


#4

Yes, I’m sure it wouldn’t be particularly hard to add.