Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glapi: gl_apitemp.py: Use a main function | Dylan Baker | 2015-05-22 | 1 | -1/+6 |
| | | | | | Signed-off-by: Dylan Baker <[email protected]> Acked-by: Matt Turner <[email protected]> | ||||
* | glapi: gl_apitemp.py: Convert to argparse instead of getopt | Dylan Baker | 2015-05-22 | 1 | -20/+19 |
| | | | | | Signed-off-by: Dylan Baker <[email protected]> Acked-by: Matt Turner <[email protected]> | ||||
* | dispatch: properly handle parameter name mismatches in glapitemp.h. | Paul Berry | 2012-11-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when code-generating aliased functions in glapitemp.h, we weren't consistent about which function alias we used to obtain the parameter names, with the risk that we would generate incorrect code like this: KEYWORD1 void KEYWORD2 NAME(Foo)(GLint x) { (void) x; DISPATCH(Foo, (x), (F, "glFoo(%d);\n", x)); } KEYWORD1 void KEYWORD2 NAME(FooEXT)(GLint y) { (void) x; DISPATCH(Foo, (x), (F, "glFooEXT(%d);\n", x)); } At the moment there are no aliased functions with mismatched parameter names, so this isn't the problem. But when we introduce GLES1 functions into the dispatch table, there will be (MapBufferRange/MapBufferRangeEXT). This patch paves the way for that by fixing the code generation script to handle the mismatch correctly. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Chad Versace <[email protected]> | ||||
* | glapi: Reformat python code generation scripts to use 4-space indentation. | Paul Berry | 2012-10-10 | 1 | -209/+209 |
| | | | | | | | | | | | | This brings us into accordance with the official Python style guide (http://www.python.org/dev/peps/pep-0008/#indentation). To preserve the indentation of the c code that is generated by these scripts, I've avoided re-indenting triple-quoted strings (unless those strings appear to be docstrings). Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> | ||||
* | mapi: Silence many "warning: unused parameter" | Ian Romanick | 2011-08-26 | 1 | -0/+7 |
| | | | | | | | | When generating dispatch templates, emit the '(void) blah;' magic to make GCC happy. This reduces a lot of warning spam if you build with -Wunused-parameter or -Wextra. Reviewed-by: Chia-I Wu <[email protected]> | ||||
* | glapi: Move to src/mapi/. | Chia-I Wu | 2010-05-07 | 1 | -0/+320 |
Move glapi to src/mapi/{glapi,es1api,es2api}. |