Chia-I Wu
f926646835
common: add common code for all drivers
...
The common code includes
- XGL API except xglInitAndEnumerateGpus
- helper and utility functions
2014-08-04 07:54:08 +08:00
Chia-I Wu
e537bab4b5
cmake: -Werror -Wextra -Wno...
2014-08-04 07:32:53 +08:00
Chia-I Wu
faddb9e832
loader: ignore __icd{Load,Unload}
2014-08-03 09:53:46 +08:00
Chia-I Wu
88b4b63849
rename drivers/ to icd/
2014-08-03 09:51:24 +08:00
Chia-I Wu
b71c2500db
loader: let cmake generate the source file
2014-08-03 09:43:55 +08:00
Chia-I Wu
4759c3a7ac
xgl-generate: add _generate_icd_dispatch_entrypoints to Subcommand
2014-08-03 09:22:15 +08:00
Chia-I Wu
add717e09c
cmake: find libdrm with pkg-config
2014-08-02 09:14:44 +08:00
Courtney Goeltzenleuchter
2d2ae54aec
intel: Add support for git ID in version string
2014-08-01 18:19:46 -06:00
Courtney Goeltzenleuchter
781663d6db
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.
2014-08-01 18:19:42 -06:00
Courtney Goeltzenleuchter
b2eeacea7c
xgl: add verbose cmake option
2014-08-01 18:19:37 -06:00
Courtney Goeltzenleuchter
77297440f4
i965: Add Intel driver ICD
...
This driver will work with Ivybridge and Haswell graphics.
2014-08-01 18:19:06 -06:00
Courtney Goeltzenleuchter
7b7ae04d07
xgl: remove unused driver files
2014-08-01 18:18:59 -06:00
Chia-I Wu
29f77bf3d4
xgl-generate: add pretty-dummy subcommand
2014-08-01 15:45:01 +08:00
Chia-I Wu
307444b150
cmake: set -std=c99 -Wall
2014-08-01 15:45:01 +08:00
Chia-I Wu
5b16b51dc6
xglinfo: link against libXGL
2014-08-01 15:45:01 +08:00
Chia-I Wu
c40b97a841
xgl-generate: improve constness
...
The dispatch table pointer embedded in the XGL object cannot be modified.
2014-08-01 14:48:14 +08:00
Chia-I Wu
7cf998f053
xgl-generate: add is_dispatchable()
...
Return true for functions that have access to the ICD dispatch table.
2014-08-01 14:44:16 +08:00
Chia-I Wu
60743d9093
xgl-generate: move _generate_icd_dispatch_table to Subcommand
...
To make it available for future subcommands.
2014-08-01 11:59:22 +08:00
Chia-I Wu
e4fdd810fa
loader: add a generic ICD loader
2014-08-01 11:36:57 +08:00
Chia-I Wu
7b88005cd8
xgl-generate: add a script for code generation
2014-08-01 11:25:01 +08:00
Chia-I Wu
c35adb5d5a
xglinfo: initial commit
...
Print all information available from
xglInitAndEnumerateGpus
xglGetGpuInfo
xglGetExtensionSupport
xglGetMultiGpuCompatibility
xglCreateDevice
xglDestroyDevice
xglGetMemoryHeapCount
xglGetMemoryHeapInfo
xglGetFormatInfo
2014-07-29 14:28:23 +08:00
Courtney Goeltzenleuchter
aa0a6417e6
Starting to build framework.
2014-07-24 17:04:01 -06:00