i915: Only call CalcViewport from DrawBuffers instead of Viewport.
authorEric Anholt <eric@anholt.net>
Fri, 30 Jan 2009 00:45:08 +0000 (16:45 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 30 Jan 2009 21:46:37 +0000 (13:46 -0800)
commitac0dfbdf0f5e5dea08ec717ae8c4e1e141b15c05
treea5f0b3ac285f3410eccaeea0f5911cb78e8b6cb4
parent3ee21f30cda27e0ee1357f930163526622ba9434
i915: Only call CalcViewport from DrawBuffers instead of Viewport.

This saves an inadvertent round-trip to the X Server on DrawBuffers, which was
hurting some metaops.
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/intel/intel_buffers.c
src/mesa/drivers/dri/intel/intel_buffers.h