EGL_NATIVE_RENDERABLE gives zero configs

Hello.

Tyring to find a configuration for a Surface and Context querying by EGL_NATIVE_RENDERABLE gives 0 configurations on an nvidia card.

On a intel card it gives valid configurations.

The spinnet is the following:

EGLint configAttribs[] = {
    EGL_RENDERABLE_TYPE
    ,EGL_OPENGL_BIT
    ,EGL_DEPTH_SIZE 
    ,24
    ,EGL_NATIVE_RENDERABLE
    ,EGL_TRUE
    ,EGL_NONE
    };

eglChooseConfig(mainEGL, configAttribs, configs, numConfig, &numConfig);

//Result in none viable configurations

The card is GTX 1060.
OpenGL reports: OpenGL version 4.5.0 NVIDIA 375.26
uname -a: Linux localhost 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:26 CET 2017 x86_64 GNU/Linux

Hi,

I just ran into the same issue. Did you end up figuring out why specifying EGL_NATIVE_RENDERABLE results in no valid configs?

If EGL_NATIVE_RENDERABLE is not enabled, does this mean that rendering is not hardware accelerated?

After reading up a bit more on this, my understanding is that EGL_NATIVE_RENDERABLE has nothing to do with whether rendering is hardware accelerated or not. Instead, it relates to whether the rendering surface is compatible with any native OS/hardware specific rendering interfaces. So if you’re just after accelerated off-screen rendering, there’s no need to try to enforce EGL_NATIVE_RENDERABLE.