Merge pull request #1 from KhronosGroup/master
[platform/upstream/Vulkan-Tools.git] / README.md
1 # Explicit GL (XGL) Ecosystem Components\r
2 *Version 0.8, 04 Feb 2015*\r
3 \r
4 This project provides *open source* tools for XGL Developers.\r
5 \r
6 ## Introduction\r
7 \r
8 XGL is an Explicit API, enabling direct control over how GPUs actually work. No validation, shader recompilation, memory management or synchronization is done inside an XGL driver. Applications have full control and responsibility. Any errors in how XGL is used are likely to result in a crash. This project provides layered utility libraries to ease development and help guide developers to proven safe patterns.\r
9 \r
10 New with XGL in an extensible layered architecture that enables significant innovation in tools:\r
11 - Cross IHV support enables tools vendors to plug into a common, extensible layer architecture\r
12 - Layered tools during development enable validating, debugging and profiling without production performance impact\r
13 - Modular validation architecture encourages many fine-grained layers--and new layers can be added easily\r
14 - Encourages open community of tool developers: led by Valve, LunarG, Codeplay and others\r
15 - Customized interactive debugging and validation layers will be available together with first drivers\r
16 \r
17 The components here are being shared with the Khronos community to provide\r
18 insights into the specification as we approach an alpha header, and to assists those doing\r
19 demos for GDC.\r
20 \r
21 The following components are available:\r
22 - XGL Library and header files, which include:\r
23     - [*ICD Loader*](loader) and [*Layer Manager*](layers/README.md)\r
24     - Snapshot of *XGL* and *BIL* header files from [*Khronos*](www.khronos.org)\r
25     \r
26 - [*GLAVE Debugger*](tools/glave)\r
27 \r
28     ![ScreenShot](docs/images/Glave-Small.png)\r
29 \r
30 - Core [*Validation Layers*](layers/)\r
31 \r
32 - [*Sample Driver*](icd)\r
33 \r
34 ## New\r
35 \r
36 - Updated loader, driver, demos, tests and many tools to use "alpha" xgl.h (~ version 47).\r
37   Supports new resource binding model, memory allocation, pixel FORMATs and\r
38   other updates.\r
39   APIDump layer is working with these new API elements.\r
40   Glave can trace and replay the cube and tri demos.\r
41   Other layers in progress.\r
42 - Warning: Recent versions of 14.10 have **REMOVED** DRI 3.  \r
43   Version: 2:2.99.914-1~exp1ubuntu4.1 is known to work.  \r
44 \r
45 ## Prior updates\r
46 \r
47 - XGL API trace and capture tools. See tools/glave/README.md for details.\r
48 - Sample driver now supports multiple render targets. Added TriangleMRT to test that functionality.\r
49 - Added XGL_SLOT_SHADER_TEXTURE_RESOURCE to xgl.h as a descriptor slot type to work around confusion in GLSL\r
50   between textures and buffers as shader resources.\r
51 - Misc. fixes for layers and Intel sample driver\r
52 - Added mutex to APIDump, APIDumpFile and DrawState to prevent apparent threading issues using printf\r
53 - Fix support for {Fill,Copy}Memory\r
54 - MemTracker can report issues to application via debug callback\r
55 - Update test infrastructure to improve ease of writing new tests. Add image comparison feature for regression testing. Requires ImageMagick library.\r
56 - Misc. fixes to demos, layers and Intel sample driver\r
57 - Added mutex to APIDump, APIDumpFile and DrawState to prevent apparent threading issues using printf\r
58 - Fix support for {Fill,Copy}Memory\r
59 - MemTracker can report issues to application via debug callback\r
60 - Update test infrastructure to improve ease of writing new tests. Add image comparison feature for regression testing. Requires ImageMagick library.\r
61 - Misc. fixes to demos, layers and Intel sample driver\r
62 \r
63 ## How to Build and Run\r
64 \r
65 [BUILD.md](BUILD.md)\r
66 includes directions for building all the components, running the validation tests and running the demo applications.\r
67 \r
68 Information on how to enable the various Debug and Validation layers is in\r
69 [layers/README.md](layers/README.md).\r
70 \r
71 ## References\r
72 This version of the components are written based on the following preliminary specs and proposals:\r
73 - [**XGL Programers Reference**, 1 Jul 2014](https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/proposals/AMD/Explicit%20GL%20Programming%20Guide%20and%20API%20Reference.pdf)\r
74 - [**BIL**, revision 29](https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/proposals/BIL/Specification/BIL.html)\r
75 \r
76 ## License\r
77 This work is intended to be released as open source under a BSD-style\r
78 license once the XGL specification is public. Until that time, this work\r
79 is covered by the Khronos NDA governing the details of the XGL API.\r
80 \r
81 ## Acknowledgements\r
82 While this project is being developed by LunarG, Inc; there are many other\r
83 companies and individuals making this possible: Valve Software, funding\r
84 project development; Intel Corporation, providing full hardware specifications\r
85 and valuable technical feedback; AMD, providing XGL spec editor contributions;\r
86 ARM, contributing a Chairman for this working group within Khronos; Nvidia,\r
87 providing an initial co-editor for the spec; Qualcomm for picking up the\r
88 co-editor's chair; and Khronos, for providing hosting within GitHub.\r
89 \r
90 ## Contact\r
91 If you have questions or comments about this driver; or you would like to contribute\r
92 directly to this effort, please contact us at XGL@LunarG.com; or if you prefer, via\r
93 the GL Common mailing list: gl_common@khronos.org\r