llvmpipe: added scene functions for texture reference counting
authorBrian Paul <brianp@vmware.com>
Wed, 13 Jan 2010 20:43:58 +0000 (13:43 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 13 Jan 2010 22:10:57 +0000 (15:10 -0700)
commit592e40aa7bdbda5a09becb898300393d599c033a
treeb568509e39b217fd78e220db15c1c6cceb632c15
parent4769328fe1ddaa1882dddbaad21239d5fdcddf19
llvmpipe: added scene functions for texture reference counting

When a texture is used in the scene we add it to a list of texture
references.  The lp_scene_is_textured_referenced() function tells
us if a texture is referenced by the scene.
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_scene.h