summaryrefslogtreecommitdiffstats
path: root/src/glsl/list.h
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Use the new DECLARE_R[Z]ALLOC_CXX_OPERATORS in a bunch of places.Kenneth Graunke2013-09-211-36/+2
| | | | | | | | | This eliminates a lot of boilerplate and should be 100% equivalent. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* Convert everything from the talloc API to the ralloc API.Kenneth Graunke2011-01-311-16/+12
|
* exec_list: replace class with structBrian Paul2010-09-031-1/+1
| | | | To match the definition below.
* exec_node: Add insert_before that inserts an entire listIan Romanick2010-09-031-0/+23
|
* exec_list: Add pop_headIan Romanick2010-09-031-0/+17
|
* glsl2: Fix spelling of "sentinel."Eric Anholt2010-07-291-16/+16
|
* exec_list: Fix foreach_list_safe.Kenneth Graunke2010-07-191-11/+5
| | | | | | | | 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.
* exec_list: Add a new replace_with method.Kenneth Graunke2010-07-141-0/+11
|
* glsl2: Add foreach_list_safe which works even when mutating the list.Kenneth Graunke2010-07-091-0/+14
| | | | | | | | 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 <[email protected]>
* exec_list: Add method to append one complete list to anotherIan Romanick2010-07-071-0/+24
|
* glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *.Eric Anholt2010-06-301-0/+19
| | | | | 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.
* glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt2010-06-241-0/+403