dri: Allow selective generation of accum. buffer configs

Modify the interface to driCreateConfigs allowing drivers to not
expose configs with an accumuation buffer.  All of the drivers calling
function have been updated to pass true for the accumulation
selector.  This maintains the current behavior.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
This commit is contained in:
Ian Romanick
2010-02-08 11:09:15 -08:00
parent 73e24cd5a7
commit 3cce4a1e10
16 changed files with 32 additions and 22 deletions

View File

@@ -413,7 +413,8 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
back_buffer_modes,
ARRAY_SIZE(back_buffer_modes),
msaa_samples_array,
ARRAY_SIZE(msaa_samples_array));
ARRAY_SIZE(msaa_samples_array),
GL_TRUE);
if (configs == NULL)
configs = new_configs;
else