Mesa (master): postprocess: move #defines to filters.h
Brian Paul
brianp at kemper.freedesktop.org
Mon Nov 18 15:58:07 UTC 2013
Module: Mesa
Branch: master
Commit: b7e5678fe59d31798b2d01114fea4660ac1f6dfc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7e5678fe59d31798b2d01114fea4660ac1f6dfc
Author: Brian Paul <brianp at vmware.com>
Date: Sat Nov 16 13:55:50 2013 -0700
postprocess: move #defines to filters.h
They're not needed in postprocess.h
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/auxiliary/postprocess/filters.h | 4 ++++
src/gallium/auxiliary/postprocess/postprocess.h | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gallium/auxiliary/postprocess/filters.h b/src/gallium/auxiliary/postprocess/filters.h
index 1aa1e3a..321f333 100644
--- a/src/gallium/auxiliary/postprocess/filters.h
+++ b/src/gallium/auxiliary/postprocess/filters.h
@@ -30,6 +30,10 @@
#include "postprocess/postprocess.h"
+#define PP_FILTERS 6 /* Increment this if you add filters */
+#define PP_MAX_PASSES 6
+
+
typedef bool (*pp_init_func) (struct pp_queue_t *, unsigned int,
unsigned int);
typedef void (*pp_free_func) (struct pp_queue_t *, unsigned int);
diff --git a/src/gallium/auxiliary/postprocess/postprocess.h b/src/gallium/auxiliary/postprocess/postprocess.h
index c4b2030..1db581c 100644
--- a/src/gallium/auxiliary/postprocess/postprocess.h
+++ b/src/gallium/auxiliary/postprocess/postprocess.h
@@ -30,9 +30,6 @@
#include "pipe/p_state.h"
-#define PP_FILTERS 6 /* Increment this if you add filters */
-#define PP_MAX_PASSES 6
-
struct cso_context;
struct pp_queue_t; /* Forward definition */
More information about the mesa-commit
mailing list