You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
Retired Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
asciidoctor-chunker Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
cereal Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
ci Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
htmldiff Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
spec_tools Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.adoc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
__init__.py.docs Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
cerealgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
cgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
checkXrefs Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
check_html_xrefs.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
check_spec_links.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
comment_convert.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
compImages.sh Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
conventions.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
deperiodize_vuids.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
docgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
extensionmetadocgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
genRef.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
genRelease Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
genanchorlinks.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
generator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
genspec.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
genvk.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
globalizeIncludes Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hostsyncgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
indexExt.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
interfacedocgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
linkcheck.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
make_ext_dependency.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
makemanaliases.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
promote.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
pygenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
reflib.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
reflow.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
reg.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
rubygenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
scriptgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
spirvcapgenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
testSpecVersion.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test_check_spec_links.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test_check_spec_links_api_specific.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test_entity_db.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
translate_math.js Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
validitygenerator.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
vkconventions.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
xml_consistency.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README.adoc

// Copyright 2014-2021 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

= Vulkan^(R)^ Specification Repository Scripts

This directory contains scripts used in building the Vulkan API
specification and related artifacts. For the most part, these scripts are
invoked from the top-level directory or from the API Registry in
../xml to build generated components of the specification.

Scripts in this directory include:

  * `genvk.py` - Python script to generate Vulkan headers and some other
    targets, using the generators described below.
  * `reg.py` - Python tools to read a registry XML file and call into
    generators to create headers and other types of output.
  * `conventions.py`, `vkconventions.py` - API-specific parameters and
    formatting / style conventions used by generators.
  * `generator.py` - output generator base class.
  ** `cgenerator.py` - C header output generator.
  ** `docgenerator.py` - Asciidoc interface language include generator.
  ** `extensionmetadocgenerator.py` - Generator for Asciidoc extension
     descriptions in spec appendices.
  ** `hostsyncgenerator.py` - Asciidoc host sync table generator.
  ** `pygenerator.py` - Generates python encoding of the API description.
  ** `validitygenerator.py` - Asciidoc validity language generator.

  * `check_spec_links.py` - validates a variety of markup and content in the
    Asciidoctor specification source.
  * `make_ext_dependency.py` - generate extension dependencies in Bash and
    Python form for use when building the specification.
  * `genRelease`, `genspec.py` - build HTML and PDF Specifications with a
    variety of options to control target directories, extensions included
    while building, etc.
  * `genRef.py`, `reflib.py` - extract API reference pages from specification
    source into single-page source documents.
  * `indexExt.py` - generate HTML index of all extensions for inclusion into
    the Vulkan registry index page.
  * `reflow.py`, `reflow_count.py` - reflow specification source text to follow
    style guidelines, and insert Valid Usage statements where they're
    needed.
  * `test_check_spec_links.py`, `test_check_spec_links_api_specific.py`,
    `test_entity_db.py` - these are from another Khronos WG repository and
    are unused by Vulkan at present.

  * `compImages.sh` - compare images in two branches.
  * `htmldiff/htmldiff` - HTML diff script (see below).
  * `Retired/` - contains obsolete, unused, or single-purpose scripts. Not
    maintained.

HTML Diff Script for Vulkan
===========================

This is a first cut at a script to compare Vulkan HTML specifications. Usage
is simply 'htmldiff file1.html file2.html > diff.html'. The script does not
copy CSS and images required by the input specs, so it's best to generate
the output in the same directory as one of the inputs. However, the script
must be invoked from the directory it is located within.

The scripts used require Python and Perl. Additionally, the python
'utidylib' module and the underlying libtidy C library are required.
On Debian Linux, it may be necessary to install the 'python-utidylib' and
'libtidy' packages if they are not already present.

The scripts are taken from the code backing the

    http://services.w3.org/htmldiff

website. `htmldiff` is the Python driver script. `htmldiff.pl` is the
Perl script which generates the diff after preprocessing of the input
HTML by `htmldiff`. `htmldiff.orig` is the original Python script from
the website, modified to run at the command line instead of as a CGI
script.