Mesa (master): postprocess: document the pp_init() function.
Brian Paul
brianp at kemper.freedesktop.org
Mon Nov 18 15:58:07 UTC 2013
Module: Mesa
Branch: master
Commit: 7cf40c1cb33bdc78cf2297fa4dc5f249179b39a9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cf40c1cb33bdc78cf2297fa4dc5f249179b39a9
Author: Brian Paul <brianp at vmware.com>
Date: Sat Nov 16 13:55:50 2013 -0700
postprocess: document the pp_init() function.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
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 1db581c..c72f2c4 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 *);
More information about the mesa-commit
mailing list