st_api: Remove st_context::is_visual_supported.

The callback is used by st/vega to check if a visual specifies the
depth/stencil format.  It forces st/vega to be loaded by st/egl to
perform the check.  As noted in EGL spec, the depth/stencil format of a
visual should not affect OpenVG.  It should be better to ignore the
field and always allocate the depth/stencil texture.
This commit is contained in:
Chia-I Wu
2010-06-23 16:14:49 +08:00
parent da7bd6a90e
commit 982aba97c5
6 changed files with 34 additions and 35 deletions

View File

@@ -368,12 +368,6 @@ struct st_api
*/
st_proc_t (*get_proc_address)(struct st_api *stapi, const char *procname);
/**
* Return true if the visual is supported by the state tracker.
*/
boolean (*is_visual_supported)(struct st_api *stapi,
const struct st_visual *visual);
/**
* Create a rendering context.
*/