dri: define a version 2 of the DRI_ConfigOptions extension
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 30 Jun 2017 08:52:48 +0000 (10:52 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 07:50:56 +0000 (09:50 +0200)
commit9435b9c544ec9b8339f31fc89322a9b88af36af5
treeaaaa2c4eff12cb5f20a93b57a108c4c1f77014a5
parent78476cfe071af2ea565c60c5b3234091f39822ec
dri: define a version 2 of the DRI_ConfigOptions extension

The new function is defined to return a malloc'ed pointer. In the
following patches, this helps avoid leaking library handles when pipe
drivers are linked dynamically.

It also allows us to generate the XML string on the fly in the future.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
include/GL/internal/dri_interface.h