diff options
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. |