Re: [Mesa-dev] [RFC 0/4] Compute version during _mesa_initialize_context

2012-11-15 Thread Jordan Justen
Ian gave some off-list feedback for this list. This series has this code flow: The driver.context_init calls _mesa_initialize_context which in turn calls back into the driver (driver.InitializeVersionFeatures). But, Ian suggested that instead I pull the dispatch table init functions out of _mesa_

[Mesa-dev] [RFC 0/4] Compute version during _mesa_initialize_context

2012-11-14 Thread Jordan Justen
Within _mesa_initialize_context the call to _mesa_create_exec_table now depends on ctx->Version being set. (For GLES3 support.) This series adds a driver callback function that allows each driver to enable features that are significant for computing to version. Now _mesa_initialize_context will: