diff options
author | Marek Olšák <[email protected]> | 2013-07-30 22:29:14 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-07-30 23:31:22 +0200 |
commit | 4c89ec1f69c0cba995cb4aa939469ead82c6a8ec (patch) | |
tree | b238c709b00c2f0e5d16094c4945ea33b44178a1 /src/gallium/auxiliary/postprocess/postprocess.h | |
parent | c84e8d039ec9c7532b25757012aa3828f4f8a70d (diff) |
gallium/postprocessing: convert blits to pipe->blit
PP saves current states to cso_context and then util_blit_pixels does
the same. cso_context doesn't like that and the original state is not
correctly restored.
Cc: [email protected]
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/postprocess/postprocess.h')
-rw-r--r-- | src/gallium/auxiliary/postprocess/postprocess.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/postprocess/postprocess.h b/src/gallium/auxiliary/postprocess/postprocess.h index 52c6c756116..04b6c75bfb0 100644 --- a/src/gallium/auxiliary/postprocess/postprocess.h +++ b/src/gallium/auxiliary/postprocess/postprocess.h @@ -77,6 +77,14 @@ void pp_debug(const char *, ...); struct program *pp_init_prog(struct pp_queue_t *, struct pipe_context *pipe, struct cso_context *); void pp_init_fbos(struct pp_queue_t *, unsigned int, unsigned int); +void pp_blit(struct pipe_context *pipe, + struct pipe_resource *src_tex, + int srcX0, int srcY0, + int srcX1, int srcY1, + int srcZ0, + struct pipe_surface *dst, + int dstX0, int dstY0, + int dstX1, int dstY1); /* The filters */ |