swr: renamed duplicate swr_create_screen()
authorGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 17 Nov 2016 22:21:12 +0000 (16:21 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 21 Nov 2016 18:44:46 +0000 (12:44 -0600)
commit87bd28210f2b314978989fdcecedc596d17ac856
tree1fd97cc4495f3da34d157e5add01c191e23fb5dd
parent974d280e815727f84e799cf69058630b954dec7e
swr: renamed duplicate swr_create_screen()

There are 2 swr_create_screen() functions.  One in swr_loader.cpp, which
is used during driver init, and the other is hiding in swr_screen.cpp,
which ends up in the arch-specific .dll/.so.

Rename the second one to swr_create_screen_internal(), to avoid confusion
in header files.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/swr/swr_loader.cpp
src/gallium/drivers/swr/swr_public.h
src/gallium/drivers/swr/swr_screen.cpp