[Interest] [qt-android] Is it possible to create OpenGL ES 2 context even when ES 3 is available?

Till Oliver Knoll till.oliver.knoll at gmail.com
Thu Mar 12 11:39:56 CET 2015


> Am 12.03.2015 um 11:13 schrieb Liang Jian <jianliang79 at gmail.com>:
> ....
> But As you have said Qt will request 2.0 context, and it is the implentation choose openges 3 context, then It seems that it is a bug of the driver. 

Just to repeat and clarify: the fact that the driver returns you an "OpenGL 3" (Compatibility) context when you asked for something lower (e.g. "OpenGL 2") is /not/ a bug by the driver. The OpenGL specs explicitly allows for an OpenGL implementation to return a higher version than the one requested, as long as the returned context is compatible with the requested one.

The fact that your shader does not seem to compile (when it perfectly compiles and runs in a 2.0 Context), /that/ could be a bug though.

Cheers,
  Oliver


More information about the Interest mailing list