mesa: add helper functions for geometry of gl_framebuffer
authorKevin Rogovin <kevin.rogovin@intel.com>
Wed, 17 Jun 2015 10:29:53 +0000 (13:29 +0300)
committerMartin Peres <martin.peres@linux.intel.com>
Wed, 17 Jun 2015 11:39:03 +0000 (14:39 +0300)
commit74987977a36a7111281e8fb53568dc05dbd3a8b4
tree12744ff94c53156373b6dbeb7a7724ff1b0493c2
parent6aa12994bdf0068a9804204a8f1b197cc0f46ec6
mesa: add helper functions for geometry of gl_framebuffer

Add convenience helper functions for fetching geometry of gl_framebuffer
that return the geometry of the gl_framebuffer instead of the geometry of
the buffers of the gl_framebuffer when then the gl_framebuffer has no
attachments.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
src/mesa/main/framebuffer.h
src/mesa/main/mtypes.h