diff options
author | Carl Worth <cworth@cworth.org> | 2010-06-23 15:43:38 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-06-23 16:18:13 -0700 |
commit | 2d2561ef9696aa5ff0c1a85e3a4a95475f927935 (patch) | |
tree | a65bea924d13cec5a4e3a14aeb201e92ec278d24 /TODO | |
parent | be83eb8671e7789cbe5ca1fc8d3f5d133e2e7014 (diff) |
glsl2 main: Use talloc to allocate _mesa_glsl_parse_state
This is a short-lived object. It exists only for the duration of the
compile_shader() function, (as opposed to the shader and whole_program
which live longer).
The state is created with the same talloc parent as the shader, so
that other allocation can be done with talloc_parent(state) as the
owner in order to attach to a long-lived object.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions