summaryrefslogtreecommitdiff
path: root/vulkan/scripts/null_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* Vulkan: add docs for the framework generation scriptsYiwei Zhang2019-10-111-3/+13
| | | | | | Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I108412fdc672c5513f570ddac9221074a0027cd0
* vulkan: clean up the framework generation scriptYiwei Zhang2019-10-111-80/+79
| | | | | | | | | | | | | | 1. Instead of mixing up all code formats, stick to pep8 and python style guide 2. Removed some redundant functions 3. Simplified seme code logic 4. Move constant codes back to main code gen blocks for readibility 5. Moved most of the hard-coded constants to the top 6. Removed a redundant clang format hint 7. Removed any mention of the legacy code gen stuff Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I1eca91fb0d181b7e8353c4c6a651d80ed1f2d1e0
* Vulkan: remove redundant function definitions in null_driverYiwei Zhang2019-10-101-3/+0
| | | | | | | | | | | | When deprecating the old gen scripts, there's some duplicate entries get added, which is fixed by this change. This change also reorders the extension constants in the gen scripts so that future modification is less likely to put duplicate entries. Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I6c8356b01e8a9c042293804eb628ed0a72da4a5c
* Generate Vulkan framework from Vulkan registry (Part 4)Adithya Srinivasan2019-07-121-2/+6
| | | | | | | | | | Instead of using the manually created vulkan.api file for generating the Vulkan driver framework, we generate it directly from the vulkan registry (vk.xml) Bug: 134711355 Test: Build and flash, dEQP tests Change-Id: Ie38d93c51ff16d2108cbe9a9a717a0bea24947df
* Generate Vulkan framework from Vulkan registry (Part 3)Adithya Srinivasan2019-07-111-0/+154
Instead of using the manually created vulkan.api file for generating the Vulkan driver framework, we generate it directly from the vulkan registry (vk.xml) Bug: 134711355 Test: Build and flash, dEQP tests Change-Id: I2fc3bc03489bd47c2239eb083c988157979fd674