|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
| class | TestReader |
| class | TxtWriter |
Functions | |
| def | Log (msg) |
| def | TransposeMatrix (values, dim) |
| def | GetValidTypeName (type_name) |
| def | WriteOpen (filename) |
| def | ReadFileAsLines (filename) |
| def | ReadFile (filename) |
| def | Chunkify (list, chunk_size) |
| def | GetText (nodelist) |
| def | GetElementText (node, name) |
| def | GetBoolElement (node, name) |
| def | GetModel (node) |
| def | RelativizePaths (base, paths, template) |
| def | CopyFile (filename, src, dst) |
| def | CopyShader (filename, src, dst) |
| def | IsOneOf (string, regexs) |
| def | CheckForUnknownTags (valid_tags, node, depth=1) |
| def | IsFileWeWant (filename) |
| def | main (argv) |
Variables | |
| int | MAX_TESTS_PER_SET = 8 |
| bool | VERBOSE = False |
| list | FILTERS |
| string | LICENSE |
| COMMENT_RE | |
| REMOVE_COPYRIGHT_RE | |
| MATRIX_RE = re.compile("Matrix(\\d)") | |
| list | VALID_UNIFORM_TYPES |
| list | SUBSTITUTIONS |
| def process-ogles2-tests.CheckForUnknownTags | ( | valid_tags, | |
| node, | |||
depth = 1 |
|||
| ) |
do a hacky check to make sure we're not missing something.
| def process-ogles2-tests.Chunkify | ( | list, | |
| chunk_size | |||
| ) |
divides an array into chunks of chunk_size
| def process-ogles2-tests.CopyFile | ( | filename, | |
| src, | |||
| dst | |||
| ) |
| def process-ogles2-tests.CopyShader | ( | filename, | |
| src, | |||
| dst | |||
| ) |
| def process-ogles2-tests.GetBoolElement | ( | node, | |
| name | |||
| ) |
| def process-ogles2-tests.GetElementText | ( | node, | |
| name | |||
| ) |
Gets the text of an element
| def process-ogles2-tests.GetModel | ( | node | ) |
Gets the model
| def process-ogles2-tests.GetText | ( | nodelist | ) |
Gets the text of from a list of nodes
| def process-ogles2-tests.GetValidTypeName | ( | type_name | ) |
| def process-ogles2-tests.IsFileWeWant | ( | filename | ) |
| def process-ogles2-tests.IsOneOf | ( | string, | |
| regexs | |||
| ) |
| def process-ogles2-tests.Log | ( | msg | ) |
| def process-ogles2-tests.main | ( | argv | ) |
This is the main function.
| def process-ogles2-tests.ReadFile | ( | filename | ) |
| def process-ogles2-tests.ReadFileAsLines | ( | filename | ) |
| def process-ogles2-tests.RelativizePaths | ( | base, | |
| paths, | |||
| template | |||
| ) |
converts paths to relative paths
| def process-ogles2-tests.TransposeMatrix | ( | values, | |
| dim | |||
| ) |
| def process-ogles2-tests.WriteOpen | ( | filename | ) |
| process-ogles2-tests.COMMENT_RE |
| string process-ogles2-tests.LICENSE |
| process-ogles2-tests.MATRIX_RE = re.compile("Matrix(\\d)") |
| int process-ogles2-tests.MAX_TESTS_PER_SET = 8 |
| process-ogles2-tests.REMOVE_COPYRIGHT_RE |
| list process-ogles2-tests.SUBSTITUTIONS |
| list process-ogles2-tests.VALID_UNIFORM_TYPES |
| bool process-ogles2-tests.VERBOSE = False |
1.8.13