mesa: Refactor viewport setting even more
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 6 Nov 2013 05:36:12 +0000 (21:36 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:31:59 +0000 (11:31 -0800)
commit799265aadcec6a7cf8918b5a8b4792016534b9c2
tree78c8d803b1d96d46b0e57baf88c3c3d6f69f09d8
parent42f916e1507f2a5b3da002936418ffe91925104f
mesa: Refactor viewport setting even more

Create an internal function that just writes data into the viewport.  In
future patches this will see more use because we only want to call
dd_function_table::Viewport once after setting all of the viewport
instead of once per viewport.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/viewport.c