115 Commits

Author SHA1 Message Date
Chia-I Wu
0caed8c12c render_tests: use XGL_NUM_FMT_UNORM
With 8-bit per channel and UNORM, [0.0, 1.0] will be scaled to [0, 255].
2014-08-27 15:03:01 +08:00
Chia-I Wu
5e25c50f18 tests: fix memory access with uninitialized values
ch and num are uninitialized.
2014-08-27 14:23:38 +08:00
Chia-I Wu
ef6c188f5d render_test: no descriptor set nor dynamic view mapping 2014-08-23 17:50:19 +08:00
Courtney Goeltzenleuchter
377b632072 render_test: Add remaining calls to output a command buffer 2014-08-22 17:56:42 -06:00
Courtney Goeltzenleuchter
eb3d370cbc device_class: Add helper function to alloc and bind memory 2014-08-22 17:56:42 -06:00
Courtney Goeltzenleuchter
ce1b179198 tests: bug fix 2014-08-22 17:56:42 -06:00
Courtney Goeltzenleuchter
d0a435b994 tests: read shader IL from file 2014-08-22 17:56:42 -06:00
Courtney Goeltzenleuchter
581af0485d tests: Add pipeline init to render test. 2014-08-20 16:10:36 -06:00
Courtney Goeltzenleuchter
eaee9f16b7 tests: Add base tests: shader, cmdbuf, pipeline
Add basic light switch tests for xglCreateShader,
xglCreateCmdBuffer and xglCreateGraphicsPipeline.
2014-08-20 16:10:36 -06:00
Courtney Goeltzenleuchter
3523894f59 tests: Update xgldevice class with more xgl functions 2014-08-20 16:10:35 -06:00
Courtney Goeltzenleuchter
3a6e63d11f tests: Add begining of render test 2014-08-20 16:10:35 -06:00
Courtney Goeltzenleuchter
b37145a9ff tests: Add basic CreateShader test. 2014-08-20 16:10:35 -06:00
Courtney Goeltzenleuchter
3b820fd379 tests: Add file for extended image tests 2014-08-20 16:10:35 -06:00
Courtney Goeltzenleuchter
f3b215e405 tests: Add xglGetImageSubresourceInfo test
Include xglGetImageSubresourceInfo calls as part of the
base test.
2014-08-14 17:52:37 -06:00
Courtney Goeltzenleuchter
1d319a7a08 tests: Remove old tests that have been ported to gtest 2014-08-14 10:34:50 -06:00
Courtney Goeltzenleuchter
b9e3d1fa39 tests: Add GPU Queue tests. 2014-08-14 10:34:50 -06:00
Courtney Goeltzenleuchter
e84fdce453 tests: Add CreateImage test. 2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
1294e9bcf8 tests: Add image class
Add class for managing XGL image objects in the test framework.
2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
dc8649d9aa tests: Port existing tests to gtest format. 2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
382f3c70b3 tests: Add gpu class 2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
c96cbd58f9 tests: Basic initialization test using gtest framework 2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
e3e38a643f tests: Integrate gtest tools 2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
641b5fba83 tests: Add gtest library 2014-08-14 10:34:49 -06:00
Courtney Goeltzenleuchter
5dac1f83a6 tests: Add xglCreateQueryPool test 2014-08-07 18:18:03 -06:00
Courtney Goeltzenleuchter
187b7ff550 tests: Add Event test 2014-08-07 18:18:03 -06:00
Courtney Goeltzenleuchter
75a49d71e8 tests: Add queue init to common. 2014-08-07 18:18:03 -06:00
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