mesa: Fix glFramebufferTexture*() for depth and stencil attachments
[mesa.git] / src / mesa / main / convolve.h
index 9d5e0eee4346e93052ad5392c09a7b2ed9eeb5c2..952285643b5d5e82bb431a0194999f2c0fa69135 100644 (file)
@@ -1,10 +1,9 @@
-/* $Id: convolve.h,v 1.1 2000/08/21 14:24:31 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
  * Version:  3.5
  *
- * Copyright (C) 1999-2000  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
 #define CONVOLVE_H
 
 
-#include "types.h"
+#include "compiler.h"
+#include "mfeatures.h"
 
+struct _glapi_table;
 
-extern void
-_mesa_convolve_1d_image(const GLcontext *ctx, GLsizei *width,
-                        const GLfloat *srcImage, GLfloat *dstImage);
 
+#if FEATURE_convolve
 
 extern void
-_mesa_convolve_2d_image(const GLcontext *ctx, GLsizei *width, GLsizei *height,
-                        const GLfloat *srcImage, GLfloat *dstImage);
+_mesa_init_convolve_dispatch(struct _glapi_table *disp);
 
+#else /* FEATURE_convolve */
 
-extern void
-_mesa_convolve_sep_image(const GLcontext *ctx,
-                         GLsizei *width, GLsizei *height,
-                         const GLfloat *srcImage, GLfloat *dstImage);
+static inline void
+_mesa_init_convolve_dispatch(struct _glapi_table *disp)
+{
+}
 
+#endif /* FEATURE_convolve */
 
-#endif
+#endif /* CONVOLVE_H */