diff options
author | Brian Paul <[email protected]> | 2013-11-16 13:55:50 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-11-18 08:56:34 -0700 |
commit | 7cf40c1cb33bdc78cf2297fa4dc5f249179b39a9 (patch) | |
tree | 08d240850791654ec34a40b8dbfa99ba3c10dd70 /src/gallium/auxiliary/postprocess/postprocess.h | |
parent | b7e5678fe59d31798b2d01114fea4660ac1f6dfc (diff) |
postprocess: document the pp_init() function.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/postprocess/postprocess.h')
-rw-r--r-- | src/gallium/auxiliary/postprocess/postprocess.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/postprocess/postprocess.h b/src/gallium/auxiliary/postprocess/postprocess.h index 1db581c66d9..c72f2c4b407 100644 --- a/src/gallium/auxiliary/postprocess/postprocess.h +++ b/src/gallium/auxiliary/postprocess/postprocess.h @@ -41,8 +41,15 @@ typedef void (*pp_func) (struct pp_queue_t *, struct pipe_resource *, /* Main functions */ -struct pp_queue_t *pp_init(struct pipe_context *pipe, const unsigned int *, +/** + * Note enabled is an array of values, one per filter stage. + * Zero indicates the stage is disabled. Non-zero indicates the + * stage is enabled. For some stages, the value controls quality. + */ +struct pp_queue_t *pp_init(struct pipe_context *pipe, + const unsigned int *enabled, struct cso_context *); + void pp_run(struct pp_queue_t *, struct pipe_resource *, struct pipe_resource *, struct pipe_resource *); void pp_free(struct pp_queue_t *); |