intel: Refactor creation of DRI2 configs
authorChad Versace <chad.versace@linux.intel.com>
Thu, 12 Jul 2012 21:17:22 +0000 (14:17 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 7 Aug 2012 16:30:33 +0000 (09:30 -0700)
commitb2d428cb8d20e003b65769c7757a137406c671e6
treecf39101d775670456c6b1cbfc05e67b07152f762
parent61fd6847827048ce9b01b1d164111472ad8bf593
intel: Refactor creation of DRI2 configs

DRI2 configs were constructed in intelInitScreen2. That function already
does too much, so move verbatim the code for creating configs to a new
function, intel_screen_make_configs.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_screen.c