Hello Michael, Finally I found some free time to spent on this. Can you please give me a small example on how I can get the device_ids ?
Currently to retrieve the available driver options I'm doing something like this: 1 - Count the number of screens using "ScreenCount" function from Xlib. 2 - For each screen retrieve the driver name with "glXGetScreenDriver". 3 - For each driver retrieve the available options with "glXGetDriverConfig". Please note that my knowledge about openGL, x11 and mesa is almost zero, so if you have any documentation that I can read it would be nice too. Kind Regards, Jean Hertel --------- On 10/04/17 06:02 AM, Michel Dänzer wrote: >On 05/04/17 05:26 PM, Nicolai Hähnle wrote: >> On 04.04.2017 01:52, Jean Hertel wrote: >> >> 2c) Consider adding an option to configure PRIME to driconf. >> >> [2b and 2c will also require changes in Mesa; also, you may want to get >> rid of the implicit dependency on xdriinfo] > >FWIW, Mesa already supports 2c) with DRI3, via the device_id option. > > >-- >Earthling Michel Dänzer | http://www.amd.com _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev