Courtney Goeltzenleuchter
bfa31408af
tests: Add test for xglGetDevceQueue
2014-08-07 18:18:03 -06:00
Courtney Goeltzenleuchter
bfe79d0774
tests: do some cleanup on xglFence.
...
Refactor a little to clean up code.
Add check for WaitForFences.
2014-08-07 18:18:03 -06:00
Courtney Goeltzenleuchter
f709f2683e
tests: Update xglAllocateMemory to include MapMemory
2014-08-06 18:13:23 -06:00
Courtney Goeltzenleuchter
08ea4d6353
tests: Add test for xglCreateFence
2014-08-06 18:00:31 -06:00
Courtney Goeltzenleuchter
c98bd1847f
tests: Print Pass when call succeeds.
2014-08-06 17:21:46 -06:00
Courtney Goeltzenleuchter
cbff101dd1
tests: Add AllocMemory test.
2014-08-06 17:15:05 -06:00
Courtney Goeltzenleuchter
1a37e34235
tests: Remove common code from xglinfo
2014-08-06 17:15:00 -06:00
Courtney Goeltzenleuchter
baee22d16f
tests: Split out common code
2014-08-06 17:14:51 -06:00
Chia-I Wu
c6c9be62da
xglinfo: free all driver resources
2014-08-06 12:27:26 +08:00
Chia-I Wu
e6067d1107
loader: short cut when init with maxGpus equal to 0
2014-08-06 12:24:18 +08:00
Chia-I Wu
dbdddf031f
xglinfo: reindent
2014-08-06 12:04:13 +08:00
Chia-I Wu
7e4946d624
xglinfo: fix device queue support
2014-08-06 11:58:15 +08:00
Chia-I Wu
7df0a4fd5c
intel: adapt intel_winsys for our needs
...
No mutex. Always associate a intel_winsys with a hardware context.
2014-08-06 11:30:11 +08:00
Chia-I Wu
7084e91629
loader: refactor loader_icd_scan()
...
Move ICD loading to loader_icd_add().
2014-08-04 11:20:32 +08:00
Chia-I Wu
28b1cb59ce
loader: fix out-of-tree builds
2014-08-04 11:09:53 +08:00
Chia-I Wu
afc7fc60c2
intel: add dummy dispatch tables
...
Add two icd_dispatch_table both dispatching to dummy functions. We wil
gradually replace the dummy functions by real ones.
2014-08-04 10:45:45 +08:00
Chia-I Wu
c1e0f967cc
add and deal with -fvisibility=hidden everywhere
2014-08-04 08:23:11 +08:00
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