swr: switch to using SwrGetInterface api table
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 29 Jun 2017 19:03:43 +0000 (14:03 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 11 Jul 2017 18:38:20 +0000 (13:38 -0500)
commit50cd222116b40e4df2462cb25a92960d557c9144
treed80f494a6d0fdd90069cd3901ef6c9a14246daf1
parent27c5568de3674ec95f02816a06b13180bad0838b
swr: switch to using SwrGetInterface api table

Use the SWR rasterizer API through the table returned from
SwrGetInterface rather than referencing the functions directly.
This will allow us to move to a model of having the driver dynamically
load the appropriate swr architecture library.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/swr_clear.cpp
src/gallium/drivers/swr/swr_context.cpp
src/gallium/drivers/swr/swr_context.h
src/gallium/drivers/swr/swr_draw.cpp
src/gallium/drivers/swr/swr_fence.cpp
src/gallium/drivers/swr/swr_memory.h
src/gallium/drivers/swr/swr_query.cpp
src/gallium/drivers/swr/swr_scratch.cpp
src/gallium/drivers/swr/swr_screen.cpp
src/gallium/drivers/swr/swr_state.cpp