Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix -Wsign-compare warnings. | marxin | 2019-02-27 | 1 | -2/+2 |
| | | | | | I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type. | ||||
* | Properly detect when to use DRI_PRIME | Hein-Pieter van Braam | 2019-01-28 | 1 | -0/+233 |
We fork off twice once with and once without DIR_PRIME=1 set. We then use the vendor string to determine what GPU to use. We prefer (in order) 1) AMDGPU/AMDGPU-PRO/NVidia non-free driver 2) Intel driver 3) Nouveau 4) Software rendering If a driver can't be detected it will default to DRI_PRIME=0 |