Thanks for the quick response. On Ubuntu 14.04, I could build ANGLE's libGLESv2.so and libEGL.so, but there was some error regarding EGL in building the sample projects provided. Anyway, our application seems to work fine with ANGLE on nVidia GPUs. But it crashes with this message on AMD and Intel GPUs:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Abort (core dumped)
Incidentally, WebGL worked fine inside Chrome for both these GPUs. Is this a bug in ANGLE or something wrong with my build?
Also, a couple of questions:
- Does ANGLE support Mac OS X? We are exploring MetalGL, but we'd like to support older OS X versions not having Metal. And if ANGLE works, there'll be fewer concerns about incompatibilities.
- For OpenGL ES 2 compliance, what version of Desktop GL does ANGLE need?
- Can ANGLE use the driver OpenGL ES if provided? For instance, nVidia provides it's own libGLESv2.so (which also works for our app). Right now, I'm overriding the default libGLES with rpath=$ORIGIN, but it would be great if ANGLE can detect the presence of libGLESv2.so and decide whether to use it. (Or is ANGLE already doing that with dlopen() which would make the dependency not appear with ldd?)
Thanks,
Sagar