diff options
author | Chia-I Wu <[email protected]> | 2010-06-23 16:14:49 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-06-29 17:16:19 +0800 |
commit | 982aba97c581bab0ff55dc9cae4164ab30dfbeae (patch) | |
tree | 8ce0237fb9336859616ab43a05c82135ae22048c /src/gallium/include/state_tracker | |
parent | da7bd6a90e1fee5c16327338fd251c0f6be34e36 (diff) |
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.
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r-- | src/gallium/include/state_tracker/st_api.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 621bdae5c85..11424611881 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -369,12 +369,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. */ struct st_context_iface *(*create_context)(struct st_api *stapi, |