blob: deb9c580fa37bd9a37e952dc7d6581c79b2cb546 [file] [log] [blame] [view]
Courtney Goeltzenleuchterb5fdda22014-09-01 18:05:45 -06001The XGL Sample Intel driver supports Linux.
2
3System Requirements
4===================
5
6Ubuntu 13.10, Ubuntu 14.04 LTS
7gcc
8drm
9
10
11BUILD
12=====
13
14The sample driver users cmake and should work with the usual cmake options and utilities.
15The standard build process builds the icd, the icd loader and all the tests.
16
17Example debug build:
18cd xgl # cd to the root of the xgl git repository
19cmake -H. -Bdbuild -DCMAKE_BUILD_TYPE=Debug
20cd dbuild
21make
22
23To run XGL programs you must tell the icd loader where to find the libraries. Set the
24environment variable LIBXGL_DRIVERS_PATH to the driver path. For example:
25> export LIBXGL_DRIVERS_PATH=~/xgl/dbuild/icd/intel
26
27TEST
28====
29
30The test executibles can be found in the build/tests directory. The tests use the Google
31gtest infrastructure. Tests avilable so far:
32- xglinfo: Report GPU properties
33- xglbase: Test basic entry points
34- xgl_image_tests: Test XGL image related calls needed by render_test
35- xgl_render_tests: Render a single triangle with XGL. Triangle will be in a .ppm in
36the current directory at the end of the test.