mesa: Refactor renderbuffer_storage to make _mesa_renderbuffer_storage
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 12 Nov 2015 17:11:20 +0000 (09:11 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 10 Feb 2016 18:59:31 +0000 (10:59 -0800)
commiteb5bc62e97d8f66696dca7d5c6acb616a55a16d1
treed2887c51ba9a6ea19c3cb7197529a636c42f1fcb
parent9ae42ab1ec7024814494cf65c4527c1b9ad98cd0
mesa: Refactor renderbuffer_storage to make _mesa_renderbuffer_storage

Pulls the parts of renderbuffer_storage that aren't just parameter
validation out into a function that can be called from other parts of
Mesa (e.g., meta).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h