From 9d2e630cd02362bfa8f090640a55cf2dea9d64b3 Mon Sep 17 00:00:00 2001 From: Christian König Date: Thu, 7 Apr 2011 19:24:22 +0200 Subject: [g3dvl] move mapping/unmapping and uploading of blocks out of idct code --- src/gallium/auxiliary/vl/vl_idct.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/gallium/auxiliary/vl/vl_idct.h') diff --git a/src/gallium/auxiliary/vl/vl_idct.h b/src/gallium/auxiliary/vl/vl_idct.h index fedebd3ff21..cd62cde449b 100644 --- a/src/gallium/auxiliary/vl/vl_idct.h +++ b/src/gallium/auxiliary/vl/vl_idct.h @@ -66,9 +66,6 @@ struct vl_idct_buffer struct pipe_sampler_view *transpose, *intermediate; } individual; } sampler_views; - - struct pipe_transfer *tex_transfer; - short *texels; }; /* upload the idct matrix, which can be shared by all idct instances of a pipe */ @@ -90,15 +87,6 @@ bool vl_idct_init_buffer(struct vl_idct *idct, struct vl_idct_buffer *buffer, /* cleanup a buffer of an idct instance */ void vl_idct_cleanup_buffer(struct vl_idct *idct, struct vl_idct_buffer *buffer); -/* map a buffer for use with vl_idct_add_block */ -void vl_idct_map_buffers(struct vl_idct *idct, struct vl_idct_buffer *buffer); - -/* add an block of to be tranformed data a the given x and y coordinate */ -void vl_idct_add_block(struct vl_idct_buffer *buffer, unsigned x, unsigned y, short *block); - -/* unmaps the buffers before flushing */ -void vl_idct_unmap_buffers(struct vl_idct *idct, struct vl_idct_buffer *buffer); - /* flush the buffer and start rendering, vertex buffers needs to be setup before calling this */ void vl_idct_flush(struct vl_idct *idct, struct vl_idct_buffer *buffer, unsigned num_verts); -- cgit v1.2.3