[Mesa-dev] [PATCH 13/25] gallium: Introduce max_gl*version pipe-caps

Marek Olšák maraeo at gmail.com
Mon Feb 24 12:28:46 PST 2014


On Sun, Feb 23, 2014 at 4:26 PM, Emil Velikov <emil.l.velikov at 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


More information about the mesa-dev mailing list