diff options
author | Ian Romanick <[email protected]> | 2010-02-08 11:09:15 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-02-10 10:50:28 -0800 |
commit | 3cce4a1e10361458630511543b7a8a6438544775 (patch) | |
tree | de4a73840d59ec3da406ccd89abc577f4235d74a /src/mesa/drivers/dri/common/utils.h | |
parent | 73e24cd5a7a0760726a681dda5b88805ddcf1555 (diff) |
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 <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Corbin Simpson <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.h')
-rw-r--r-- | src/mesa/drivers/dri/common/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/utils.h b/src/mesa/drivers/dri/common/utils.h index 2aa6de66c18..02ca3feb739 100644 --- a/src/mesa/drivers/dri/common/utils.h +++ b/src/mesa/drivers/dri/common/utils.h @@ -104,7 +104,8 @@ driCreateConfigs(GLenum fb_format, GLenum fb_type, const uint8_t * depth_bits, const uint8_t * stencil_bits, unsigned num_depth_stencil_bits, const GLenum * db_modes, unsigned num_db_modes, - const uint8_t * msaa_samples, unsigned num_msaa_modes); + const uint8_t * msaa_samples, unsigned num_msaa_modes, + GLboolean enable_accum); __DRIconfig **driConcatConfigs(__DRIconfig **a, __DRIconfig **b); |