On Wed 12 Nov 2014, Jose Fonseca wrote:
Hi Emil,
I went through the new patches and they look good AFAICT. Thanks for doing
this.
While going through "wgl: fully support ARB_create_context and
EXT_create_context_es_profile." again I noticed a couple of issues with the usage
of WGL_EXT_create_context_es2_profile that I hadn't noticed before because I wasn't
familiar with the extension:
- WGL_EXT_create_context_es_profile ignored the opengl version, but
WGL_EXT_create_context_es2_profile will create any version requested in.
- I believe one must set
WGL_CONTEXT_MAJOR_VERSION_ARB/WGL_CONTEXT_MINOR_VERSION_ARB when requesting ES
contexts or one will always get a ES 1.0 context.
- It's OK to assume that WGL_EXT_create_context_es2_profile then
WGL_EXT_create_context_es_profile is supported, but not the other way around.
This is because WGL_EXT_create_context_es_profile ignored the version
See "Revision History" at the bottom of
https://www.opengl.org/registry/specs/EXT/wgl_create_context_es2_profile.txt for details.
Anyway, this is nor urgent -- it can be fixed in a follow on patch.
Jose, thanks for spotting this bug. It also affects Waffle's GLX
backend. So we don't forget about the bugs, I created two tickets:
for WGL: https://github.com/waffle-gl/waffle/issues/23
for GLX: https://github.com/waffle-gl/waffle/issues/24
_______________________________________________
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle