i915: Bring sanity to the Viewport function
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 1 Nov 2013 18:38:25 +0000 (11:38 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 5 Nov 2013 15:50:04 +0000 (07:50 -0800)
commit619a9bee7da9f3b8271841b6782dfc846dd7ee32
treef08f3b36a82a3c81cf29fc9df019b2f2d39443be
parentabd962f1d5e0991073312305560516a3e64ef1cb
i915: Bring sanity to the Viewport function

The i830 and the i915 driver have the same dd_function_table::Viewport
function... it just has two names and lives in two places.  Using a
single implementation allows cleaning up the saved_viewport nonsense
too.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jljusten@gmail.com>
Cc: Courtney Goeltzenleuchter <courtney@lunarg.com>
src/mesa/drivers/dri/i915/i830_state.c
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h