intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls.
authorEric Anholt <eric@anholt.net>
Mon, 6 Apr 2009 16:54:29 +0000 (09:54 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 6 Apr 2009 18:17:25 +0000 (11:17 -0700)
commit6b187cc8a5041fe2bba1ecc34aa86516ebe8b1b0
tree511bd892915132e32a2c708589ba93a2d8a4ebeb
parente7aef006e50d0b859c621267af8376f5a0f43445
intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls.

This gets us the savings for driver-internal viewport calls that
dd1c68f15123a889a3ce9d2afe724e272d163e32 was attempting, without relying
on Xlib internals or clients handling X events.
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_pixel.c