<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Having Apple GLX live on on the "classic-lts" branch wouldn't be such a bad thing, would it?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Less conflicts for everyone.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">//Ernst<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den ons 28 apr. 2021 kl 04:07 skrev Jeremy Huddleston Sequoia <<a href="mailto:jeremyhu@apple.com">jeremyhu@apple.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Apr 27, 2021, at 12:36, Ian Romanick <<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>> wrote:<br>
> <br>
> (Adding Jeremy to the CC list.)<br>
> <br>
> I don't /think/ that should have any impact. The Apple GLX layer is a<br>
> an implementation of GLX on top of the native window system for Mac OS<br>
> X. <br>
<br>
No, it's not on top of the native windowing system. It's on top of X11 and effectively wraps CGL contexts inside GLX contexts, mapping GL and GLU API calls to the host OpenGL.framework. It also uses AppleDRI to get the underlying CGL Context bound to the CGWindow that backs the X11 window that the GLX context is bound to. Basically, it's a big pile of glue that I'm amazed works as well as it does.<br>
<br>
> It doesn't get much support from Apple or the rest of the Mesa<br>
> community... and it hasn't for quite a few years.<br>
<br>
Correct. It has not been supported by Apple since around 2010. In my spare time, I sometimes try to help keep it building in the hopes someone else will come along and take it over and modernize it, but that has not happened.<br>
<br>
I'd certainly prefer to keep it in the main branch but would love it if someone could help summarize (and document in the tree) what the right architecture should be for shimming out to another OpenGL implementation, and we could move GLX+macOS, GLX+Windows (and any others?) to such an implementation. If I knew what you all thought the right approach would be, I could probably do it in my spare time or at least evangelize the project with the XQuartz community as I know there are folks heavily dependent on GLX continuing to work.<br>
<br>
> On 4/27/21 12:21 PM, Jason Ekstrand wrote:<br>
>> Maybe, maybe not.... I mean, normally I'd be all for it but....<br>
>> <br>
>> <a href="https://rosenzweig.io/blog/asahi-gpu-part-3.html" rel="noreferrer" target="_blank">https://rosenzweig.io/blog/asahi-gpu-part-3.html</a><br>
>> <br>
>> --Jason<br>
>> <br>
>> On Tue, Apr 27, 2021 at 12:32 PM Ian Romanick <<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>> wrote:<br>
>>> <br>
>>> If we're going to cut all the classic drivers and a handful of older<br>
>>> Gallium drivers... can we also cut Apple GLX? Apple comes around every<br>
>>> couple years to fix breakages that have crept in, and we periodically<br>
>>> have compile breaks that need fixing (see<br>
>>> <a href="https://gitlab.freedesktop.org/mesa/mesa/-/issues/4702" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mesa/mesa/-/issues/4702</a>). As far as I<br>
>>> can tell, having it in the main branch provides zero value to anyone...<br>
>>> including Apple.<br>
>>> _______________________________________________<br>
>>> mesa-dev mailing list<br>
>>> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
>>> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> <br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>