st/mesa: move all sampler view code into new st_sampler_view.[ch] files
authorBrian Paul <brianp@vmware.com>
Mon, 3 Oct 2016 15:57:50 +0000 (09:57 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 6 Oct 2016 17:29:32 +0000 (11:29 -0600)
commit6963f94e98e9b0a1432bc0071d495c9e31b899ae
treee994485b3ff87de685b1c4bff2da2eb2466acb74
parente5cc84dd43be066c1dd418e32f5ad258e31a150a
st/mesa: move all sampler view code into new st_sampler_view.[ch] files

Previously, the sampler view code was scattered across several different
files.

Note, the previous REALLOC(), FREE() for st_texture_object::sampler_views
are replaced by realloc(), free() to avoid conflicting macros in Mesa vs.
Gallium.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
13 files changed:
src/mesa/Makefile.sources
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_eglimage.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_sampler_view.c [new file with mode: 0644]
src/mesa/state_tracker/st_sampler_view.h [new file with mode: 0644]
src/mesa/state_tracker/st_texture.c
src/mesa/state_tracker/st_texture.h
src/mesa/state_tracker/st_vdpau.c