[Mesa-dev] [PATCH 20/20] mesa: Allow MESA_GL_VERSION_OVERRIDE with ES contexts
emil.l.velikov at gmail.com
Tue May 5 08:34:54 PDT 2015
On 30 April 2015 at 00:26, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> The bulk of the change is to prevent overriding the context to
> API_OPENGL_CORE based on the requested version. If the context is
> API_OPENGL_ES2, don't change it.
Wouldn't it be better if one just uses another variable for the ES
version ? This way all the logic can go away, and things will
look/feel more straightforward/plain ?
I'm guessing that this approach may cause some headaches if we somehow
use both OpenGL ES and OpenGL (via separate threads, , process A
spawning process B or otherwise). For example steam game foo uses
OpenGL ES, and one tries to access the Chromium based browser (cef)
via the Overlay. The latter of which using API_OPENGL_CORE iirc.
It's your call either way. I thought I'd let you know.
More information about the mesa-dev