[Mesa-dev] [PATCH 3/5] draw: remove unused function
Zack Rusin
zackr at vmware.com
Sat Mar 30 06:27:51 PDT 2013
we use draw_set_mapped_so_targets nowadays
Signed-off-by: Zack Rusin <zackr at vmware.com>
---
src/gallium/auxiliary/draw/draw_context.c | 7 -------
src/gallium/auxiliary/draw/draw_context.h | 5 -----
2 files changed, 12 deletions(-)
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index ceb74df..bb56f1b 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -735,13 +735,6 @@ draw_set_mapped_so_targets(struct draw_context *draw,
}
void
-draw_set_mapped_so_buffers(struct draw_context *draw,
- void *buffers[PIPE_MAX_SO_BUFFERS],
- unsigned num_buffers)
-{
-}
-
-void
draw_set_so_state(struct draw_context *draw,
struct pipe_stream_output_info *state)
{
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h
index b333457..426fd44 100644
--- a/src/gallium/auxiliary/draw/draw_context.h
+++ b/src/gallium/auxiliary/draw/draw_context.h
@@ -222,11 +222,6 @@ draw_set_mapped_constant_buffer(struct draw_context *draw,
unsigned size);
void
-draw_set_mapped_so_buffers(struct draw_context *draw,
- void *buffers[PIPE_MAX_SO_BUFFERS],
- unsigned num_buffers);
-
-void
draw_set_mapped_so_targets(struct draw_context *draw,
int num_targets,
struct draw_so_target *targets[PIPE_MAX_SO_BUFFERS]);
--
1.7.10.4
More information about the mesa-dev
mailing list