OSDN Git Service

need a softpipe func for texture layout
authorBrian <brian.paul@tungstengraphics.com>
Mon, 6 Aug 2007 19:54:03 +0000 (20:54 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 6 Aug 2007 19:54:03 +0000 (20:54 +0100)
src/mesa/pipe/softpipe/sp_tex_layout.c [new file with mode: 0644]
src/mesa/pipe/softpipe/sp_tex_layout.h [new file with mode: 0644]

diff --git a/src/mesa/pipe/softpipe/sp_tex_layout.c b/src/mesa/pipe/softpipe/sp_tex_layout.c
new file mode 100644 (file)
index 0000000..2bbdca0
--- /dev/null
@@ -0,0 +1,13 @@
+
+#include "pipe/p_state.h"
+#include "sp_tex_layout.h"
+
+
+GLboolean
+softpipe_mipmap_tree_layout(struct pipe_context *pipe,
+                            struct pipe_mipmap_tree *mt)
+{
+   return GL_TRUE;
+}
+
+
diff --git a/src/mesa/pipe/softpipe/sp_tex_layout.h b/src/mesa/pipe/softpipe/sp_tex_layout.h
new file mode 100644 (file)
index 0000000..be85e4b
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef SP_TEX_LAYOUT_H
+#define SP_TEX_LAYOUT_H
+
+
+struct pipe_context;
+struct pipe_mipmap_tree;
+
+
+extern GLboolean
+softpipe_mipmap_tree_layout(struct pipe_context *pipe,
+                            struct pipe_mipmap_tree *mt);
+
+
+#endif /* SP_TEX_LAYOUT_H */
+
+