diff options
author | Marek Olšák <[email protected]> | 2012-09-13 19:38:25 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-30 18:57:57 +0200 |
commit | de80660c2bd43db112b6c82d970660ed9806cd33 (patch) | |
tree | 115c132994d540743e6deed23dec941f8eb619b4 /src/gallium/include | |
parent | d37e6b15ad545106d48af5c8abb75d0e28895d43 (diff) |
gallium: remove resource_resolve
The functionality is provided by the new blit function.
Tested-by: Michel Dänzer <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 9 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 26 |
2 files changed, 1 insertions, 34 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 3c33bc6cb84..09760ddbe0f 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -281,7 +281,7 @@ struct pipe_context { /** * Resource functions for blit-like functionality * - * If a driver supports multisampling, resource_resolve must be available. + * If a driver supports multisampling, blit must implement color resolve. */ /*@{*/ @@ -304,13 +304,6 @@ struct pipe_context { void (*blit)(struct pipe_context *pipe, const struct pipe_blit_info *info); - /** - * Resolve a multisampled resource into a non-multisampled one. - * Source and destination must be of the same format. - */ - void (*resource_resolve)(struct pipe_context *pipe, - const struct pipe_resolve_info *info); - /*@}*/ /** diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 1f748cdda4f..e88242dd769 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -585,32 +585,6 @@ struct pipe_blit_info struct pipe_scissor_state scissor; }; -/** - * Information to describe a resource_resolve call. - */ -struct pipe_resolve_info -{ - struct { - struct pipe_resource *res; - unsigned level; - unsigned layer; - int x0; /**< always left */ - int y0; /**< always top */ - int x1; /**< determines scale if PIPE_CAP_SCALED_RESOLVE is supported */ - int y1; /**< determines scale if PIPE_CAP_SCALED_RESOLVE is supported */ - } dst; - - struct { - struct pipe_resource *res; - unsigned layer; - int x0; - int y0; - int x1; /**< may be < x0 only if PIPE_CAP_SCALED_RESOLVE is supported */ - int y1; /**< may be < y1 even if PIPE_CAP_SCALED_RESOLVE not supported */ - } src; - - unsigned mask; /**< PIPE_MASK_RGBA, Z, S or ZS */ -}; /** * Structure used as a header for serialized LLVM programs. |