commit | 4af9bd1b2977d2e20dc93505578424f6ec571e22 | [log] [tgz] |
---|---|---|
author | Courtney Goeltzenleuchter <courtney@LunarG.com> | Fri Aug 01 14:18:11 2014 -0600 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Fri Aug 01 18:19:42 2014 -0600 |
tree | 40935ebea09b24c2f2b9add6105c4c0aa04d66c5 | |
parent | 1d22ed8f123dc985babea5e49b406d29078f81e1 [diff] |
loader: Scans for libXGL libraries. loader_icd_scan now scans the system default libraries /usr/lib/i386-linux-gnu/xgl:/usr/lib/x86_64-linux-gnu/xgl or the LIBXGL_DRIVERS_PATH environment variable looking for a file of the form libXGL_. When found it will try to dlopen the library and call the initialization and DbgRegister calls to setup the ICD. The ICD is responsible for figuring out what, if any, HW is on the system that it can manage.