st/mesa: Associate a sampler view with an st texture object.
authorMichal Krol <michal@vmware.com>
Fri, 12 Mar 2010 13:37:36 +0000 (14:37 +0100)
committerMichal Krol <michal@vmware.com>
Fri, 12 Mar 2010 13:38:23 +0000 (14:38 +0100)
commitb8030c6561e019e079b5be2fe64ec804df4bfa03
treee3bfe141407636ac9942fc3b890dc03ae5ef0ae4
parent08f89988c8738029c60e89c61c9da0522bd53087
st/mesa: Associate a sampler view with an st texture object.

Lazily create a sampler view when the texture is being bound
for the first time.
src/mesa/state_tracker/st_atom_pixeltransfer.c
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_texture.h