History log of /external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3317cea0488075f291744ebc4eaa48fc73d293de 10-Feb-2015 Dylan Baker <baker.dylan.c@gmail.com> glapi: gl_apitemp.py: Use a main function

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Acked-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py
24ec03bd05153bf0c8b1063d4e6a68b073e57840 10-Feb-2015 Dylan Baker <baker.dylan.c@gmail.com> glapi: gl_apitemp.py: Convert to argparse instead of getopt

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Acked-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py
571d5c353a6f801c7a6ce2dd323152e5a2dbf052 30-Oct-2012 Paul Berry <stereotype441@gmail.com> dispatch: properly handle parameter name mismatches in glapitemp.h.

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 <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py
99802519b47983be8301a0283f2946a44a9656a5 10-Oct-2012 Paul Berry <stereotype441@gmail.com> glapi: Reformat python code generation scripts to use 4-space indentation.

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 <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py
f40c291ed637a916414d1367de379a0980488b4b 26-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mapi: Silence many "warning: unused parameter"

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 <olv@lunarg.com>
/external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py
296adbd545b8efd38c9ed508166b2de2764a444b 25-Apr-2010 Chia-I Wu <olv@lunarg.com> glapi: Move to src/mapi/.

Move glapi to src/mapi/{glapi,es1api,es2api}.
/external/mesa3d/src/mapi/glapi/gen/gl_apitemp.py