Mesa 3D graphics library
Go to file
Carl Worth dc5811fd0c Close memory leak in lexer.
Simply call talloc_strdup rather than strdup, (using the talloc_parent
of our 'state' object, (known here as yyextra).

This fix now makes glsl-orangebook-ch06-bump.frag 99.97% leak free:

	total heap usage: 55,623 allocs, 55,609 frees

Only 14 missing frees now.
2010-06-23 19:00:42 -07:00
builtins Add forgotten autogenerated EXT_texture_array_fs folder. 2010-06-09 16:46:09 -07:00
glcpp preprocessor: Initialize a potentially uninitialized variable. 2010-06-23 16:13:31 -07:00
main Import some bits Mesa's mtypes.h 2010-06-23 11:24:26 -07:00
tests
.dir-locals.el
.gitignore Add missing build products to gitignore 2010-06-22 12:24:42 -07:00
Makefile.am Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -07:00
TODO TODO: Add note about initializers for constants 2010-06-17 20:37:17 -07:00
ast.h ast_node: Add new talloc-based new() 2010-06-23 18:15:28 -07:00
ast_expr.cpp
ast_function.cpp Close memory leak in ir_call::get_error_instruction. 2010-06-23 19:00:42 -07:00
ast_to_hir.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ast_type.cpp
autogen.sh
builtin_function.cpp Implement 1.30 int/uint variants of min/max/clamp. 2010-06-09 16:14:45 -07:00
builtin_types.h Add EXT_texture_array support. 2010-06-09 11:14:58 -07:00
builtin_variables.h ir_variable: Set locations for shader built-in variables 2010-06-23 10:56:03 -07:00
configure.ac configure: Ensure that config.h can be safely included multiple times. 2010-06-23 16:13:31 -07:00
glsl_lexer.lpp Close memory leak in lexer. 2010-06-23 19:00:42 -07:00
glsl_parser.ypp ast_node: Add new talloc-based new() 2010-06-23 18:15:28 -07:00
glsl_parser_extras.cpp ast_node: Remove empty destructor. 2010-06-23 16:16:32 -07:00
glsl_parser_extras.h glcpp: Print to the main compiler's infolog, not stdout. 2010-06-21 12:41:05 -07:00
glsl_symbol_table.h glsl_symbol_table: Add new talloc-based new() 2010-06-23 16:35:45 -07:00
glsl_types.cpp Close memory leaks from generate_constructor_intro 2010-06-23 19:00:42 -07:00
glsl_types.h glsl_type: Add method to get number of slots used by a type 2010-06-23 10:56:04 -07:00
hash_table.c
hash_table.h
hir_field_selection.cpp Close memory leak in ir_call::get_error_instruction. 2010-06-23 19:00:42 -07:00
ir.cpp Close memory leak in ir_call::get_error_instruction. 2010-06-23 19:00:42 -07:00
ir.h Close memory leak in ir_call::get_error_instruction. 2010-06-23 19:00:42 -07:00
ir_basic_block.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_basic_block.h ir_copy_propagation: Return true if we optimized out any assignments. 2010-05-05 09:32:44 -07:00
ir_clone.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_constant_expression.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_constant_folding.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_constant_variable.cpp ir: Give ir_instruction a print visitor helper. 2010-06-22 18:18:30 -07:00
ir_copy_propagation.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_dead_code.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_dead_code_local.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_expression_flattening.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_expression_flattening.h
ir_function.cpp
ir_function_can_inline.cpp ir_function_inlining: Allow inlining of loops and conditionals. 2010-06-23 15:20:29 -07:00
ir_function_inlining.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_function_inlining.h Move optimization pass prototypes to a single header. 2010-05-05 11:47:33 -07:00
ir_hierarchical_visitor.cpp ir_hierarchical_visitor: Add generic callback functionality 2010-06-23 09:25:28 -07:00
ir_hierarchical_visitor.h Fix typos of "variable" as "varaible" 2010-06-23 16:12:53 -07:00
ir_hv_accept.cpp Hook up texturing in the hierarchical visitor. 2010-06-22 18:18:30 -07:00
ir_if_simplification.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_optimization.h ir_constant_variable: New pass to mark constant-assigned variables constant. 2010-06-01 15:15:04 -07:00
ir_print_visitor.cpp Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -07:00
ir_print_visitor.h ir_print_visitor: Add support for ir_texture. 2010-06-09 11:14:57 -07:00
ir_reader.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_reader.h
ir_swizzle_swizzle.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_validate.cpp ir_validate: Use callback functionality in ir_hierarchical_visitor 2010-06-23 09:25:33 -07:00
ir_variable.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_vec_index_to_swizzle.cpp exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
ir_visitor.h Add stub visitor support for ir_texture. 2010-06-09 11:14:57 -07:00
linker.cpp Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -07:00
list.h exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
main.cpp main: Close memory leak of shader string from load_text_file. 2010-06-23 19:00:42 -07:00
program.h Import gl_program_parameter and gl_program_parameter_list types from Mesa 2010-06-23 11:24:26 -07:00
s_expression.cpp s_symbol: Close memory leak of symbol name. 2010-06-23 19:00:42 -07:00
s_expression.h exec_node: Add new talloc-based new() 2010-06-23 18:59:35 -07:00
symbol_table.c
symbol_table.h