summaryrefslogtreecommitdiff
path: root/src/glsl/list.h
AgeCommit message (Collapse)Author
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke
2010-09-03exec_list: replace class with structBrian Paul
To match the definition below.
2010-09-03exec_node: Add insert_before that inserts an entire listIan Romanick
2010-09-03exec_list: Add pop_headIan Romanick
2010-07-29glsl2: Fix spelling of "sentinel."Eric Anholt
2010-07-19exec_list: Fix foreach_list_safe.Kenneth Graunke
It now works correctly when nodes are removed, as it was originally intended to do; it no longer processes nodes added to the list before the current node, nor those added immediately after the current node. This matches the behavior of Linux's list_for_each_safe.
2010-07-14exec_list: Add a new replace_with method.Kenneth Graunke
2010-07-09glsl2: Add foreach_list_safe which works even when mutating the list.Kenneth Graunke
In particular, with foreach_list_safe, one can remove and free the current node without crashes; if new nodes are added after the current node, they will be properly visited as well. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-07-07exec_list: Add method to append one complete list to anotherIan Romanick
2010-06-30glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *.Eric Anholt
This saves recompiling at link time. gl_shader->ir is made a pointer so that we don't have to bring exec_list into mtypes.h.
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt