diff options
author | Christoph Bumiller <[email protected]> | 2012-05-21 23:46:11 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-05-29 15:01:41 +0200 |
commit | f80c2874eca86a12517fbe2f4c15287edfb4dc89 (patch) | |
tree | cbe6d3abf5a18eaea7348337712da66ee1337614 /src/gallium/state_trackers/vega | |
parent | 6404095fbab74a6194081374bd56786d07c5d561 (diff) |
gallium: add st_api feature mask to prevent advertising MS visuals
v2: use a define for the maximum sample count
v3: also test odd sample counts (r300 supports MS3)
While multisample renderbuffers are supported by mesa, MS visuals
are not, so we need a way to tell dri/st not to advertise them even
if the gallium driver does support multisampled surfaces.
Otherwise applications selecting these non-functional visuals would
run into trouble ...
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c index e88f5f17fe5..660a7af884f 100644 --- a/src/gallium/state_trackers/vega/vg_manager.c +++ b/src/gallium/state_trackers/vega/vg_manager.c @@ -369,6 +369,7 @@ static const struct st_api vg_api = { "Vega " VEGA_VERSION_STRING, ST_API_OPENVG, ST_PROFILE_DEFAULT_MASK, + 0, vg_api_destroy, vg_api_get_proc_address, vg_api_create_context, |