diff options
author | Brian <[email protected]> | 2008-02-27 13:58:06 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-27 13:58:06 -0700 |
commit | 364f8cad0f8f02fd39d9c51ea0774d349121b58d (patch) | |
tree | 1e1d2e81a3093b1b59a7b9ecc9567d547015a019 /src/gallium/include/pipe/p_context.h | |
parent | 8383f798b41df9a305e0a33afe8afa028d5d5dfb (diff) |
gallium: move is_format_supported() to pipe_screen struct
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 38ee95bdadd..bb345df153b 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -60,24 +60,6 @@ struct pipe_context { void (*destroy)( struct pipe_context * ); /* - * Queries - */ - /** type is one of PIPE_SURFACE, PIPE_TEXTURE, etc. */ - boolean (*is_format_supported)( struct pipe_context *pipe, - enum pipe_format format, uint type ); - -#if 0 - /* XXX obsolete, moved into pipe_screen */ - const char *(*get_name)( struct pipe_context *pipe ); - - const char *(*get_vendor)( struct pipe_context *pipe ); - - int (*get_param)( struct pipe_context *pipe, int param ); - float (*get_paramf)( struct pipe_context *pipe, int param ); -#endif - - - /* * Drawing. * Return false on fallbacks (temporary??) */ @@ -210,6 +192,7 @@ struct pipe_context { /* * Texture functions + * XXX these are moving to pipe_screen... */ struct pipe_texture * (*texture_create)(struct pipe_context *pipe, const struct pipe_texture *templat); |