mesa: Add a gl_renderbuffer.RowStride field like textures have.
authorEric Anholt <eric@anholt.net>
Fri, 15 Apr 2011 18:37:23 +0000 (11:37 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Apr 2011 18:19:53 +0000 (11:19 -0700)
commit155200c15431f8364114d9a37ec527af81c773a5
treecf0a8a877ee4bc313efad7803f7895843a6d9eb6
parent348ea34d0310cc862ad3c078d8703c6c1f0b602f
mesa: Add a gl_renderbuffer.RowStride field like textures have.

This will allow some drivers to reuse the core renderbuffer.c get/put
row functions in place of using the spantmp.h macros.  Note that
unlike textures, we use a signed integer here to allow for handling
FBO orientation.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/depthstencil.c
src/mesa/main/mtypes.h
src/mesa/main/renderbuffer.c