On Sun, Feb 23, 2014 at 4:26 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> Now that I think about it, one could copy the extension list and
> (context) constants to pipe_screen. This way on st_api_create_context,
> we'll just copy the initial values over. FWIW we'll still be able to
> amend the extension list via MESA_EXTENSION_OVERRIDE, during the
> _mesa_make_current call.

State trackers cannot copy anything to pipe_screen. The pipe_screen
structure should be immutable after it's created.

Setting the GL versions for MESA_query_renderer in
st_api_create_context is too late. The extension queries must return
correct values before st_api_create_context is called.

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to