intel: Use Mesa core's renderbuffer accessors for depth.
authorEric Anholt <eric@anholt.net>
Fri, 15 Apr 2011 18:58:58 +0000 (11:58 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Apr 2011 18:19:54 +0000 (11:19 -0700)
commit0778fdb002b000e241b042ad65b6da6dd8480454
tree9d8266e40c04cbb24aa24942035e2c4fc8c193c0
parent9f164823c79bf933bf88217894129dc2eae0cbed
intel: Use Mesa core's renderbuffer accessors for depth.

Since we're using GTT mappings now (no manual detiling), there's
really nothing special to accessing these buffers, other than needing
the new RowStride field of gl_renderbuffer to accomodate padding.

Reduces the driver size by 2.7kb, and improves glean depthStencil
performance 3-10x (!)

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/main/renderbuffer.c