[Mesa-dev] [PATCH 0/6] EGL_MESA_platform_surfaceless (v2)

Adam Jackson ajax at redhat.com
Mon Oct 17 15:27:49 UTC 2016


On Fri, 2016-10-14 at 10:48 -0700, Chad Versace wrote:
> Some people privately asked why we need to create this EGL platform.
> I want to respond publicly.
> 
> Mesa *already* *has* this EGL platform. In my view, the issue at hand
> isn't whether to create or to not create the platform. It's whether to
> specify its behavior (formally in an extension spec) or not.
> 
> My motivation in writing the EGL_MESA_platform_surfaceless spec was not
> to introduce any new features or behavior.  My motivation was to
> document longstanding existing behavior in Chrome OS, that upstream Mesa
> eventually subsumed.
> 
> During XDC, some people outside of the Chrome OS community complained to
> me that the behavior of platform_surfaceless was ill-defined and
> unstable, and they wanted the situation fixed. So I wrote a spec.

As one of the people who complained: the big issue I had with the
surfaceless platform was that the only way to use it was to set an
environment variable before calling eglGetDisplay, which is just
pointlessly unlike how you use every other platform. I was _happy_ when
I discovered the feature, I was only unhappy with its interface.

- ajax


More information about the mesa-dev mailing list