[PATCH weston 2/5] gl-renderer: try to create a GLES3 context first

2017-11-29 Thread Arnaud Vrac
From: Arnaud Vrac Some GL drivers do not expose useful extensions like GL_EXT_texture_rg or GL_EXT_unpack_subimage, while they are actually supported. Since those extensions are part of the ES 3.0 core spec, we can workaround this issue by creating an ES3 context. We fallback to ES2 if the creati

[PATCH weston 2/5] gl-renderer: try to create a GLES3 context first

2017-11-29 Thread Arnaud Vrac
From: Arnaud Vrac Some GL drivers do not expose useful extensions like GL_EXT_texture_rg or GL_EXT_unpack_subimage, while they are actually supported. Since those extensions are part of the ES 3.0 core spec, we can workaround this issue by creating an ES3 context. We fallback to ES2 if the creati

[PATCH weston 2/5] gl-renderer: try to create a GLES3 context first

2017-11-29 Thread Arnaud Vrac
From: Arnaud Vrac Some GL drivers do not expose useful extensions like GL_EXT_texture_rg or GL_EXT_unpack_subimage, while they are actually supported. Since those extensions are part of the ES 3.0 core spec, we can workaround this issue by creating an ES3 context. We fallback to ES2 if the creati