<div dir="ltr"><br><div><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 19, 2015 at 12:13 PM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Nanley,<br>
<br></blockquote><div> </div><div>Hi Brian,<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Maybe you can fix an issue I have with the new extension code.<br>
<br>
Previously, I could do something like export MESA_EXTENSION_OVERRIDE="-ARB_clear_buffer_object" and I would no longer see it in the GL_EXTENSIONS string, even if it was an "always on" extension.<br>
<br>
Now when I try that I get:<br>
<br>
Mesa 11.1.0-devel implementation error: Trying to disable permanently enabled extensions: GL_ARB_get_texture_sub_image<br>
Please report at <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a><br>
<br>
The whole point of the "-GL_EXT_foobar" syntax was to hide an extension from the application when it queries the driver's extensions.<br>
<br>
Can you please fix this so it works as before?<br>
<br></blockquote><div><br></div><div>I have two branches that provide the ability to disable permanently enabled extensions:<br>1. The first only modifies the extension strings and is located here: <a href="http://cgit.freedesktop.org/%7Enchery/mesa/commit/?h=mod_always_on" target="_blank">http://cgit.freedesktop.org/~nchery/mesa/commit/?h=mod_always_on</a><br>2. The second modifies the extension strings and disables the extension within the driver (assuming appropriate the helper function is used). It also provides some performance benefits. : <a href="http://cgit.freedesktop.org/%7Enchery/mesa/commit/?h=init_ext_vals" target="_blank">http://cgit.freedesktop.org/~nchery/mesa/commit/?h=init_ext_vals</a><br><br></div><div>I'd appreciate any feedback on the two approaches as I work to get the feature upstreamed.<br><br></div><div>Regards,<br></div><div>Nanley<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks.<br>
<br>
-Brian<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="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div></div></div>