diff options
author | Brian Paul <[email protected]> | 2004-02-28 20:35:57 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-28 20:35:57 +0000 |
commit | 8cfd08b6134e2036ddceb1facfa82e15026068a2 (patch) | |
tree | 76037f839147f64c9e4f676b25b4ef24ea2b6822 /src/mesa/swrast/s_readpix.c | |
parent | d0582776a619cc0633a0cbeea010a0db5e3e210f (diff) |
rename some span pack/unpack functions for better uniformity
Diffstat (limited to 'src/mesa/swrast/s_readpix.c')
-rw-r--r-- | src/mesa/swrast/s_readpix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index f2b91e05282..7c2ce364913 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -409,7 +409,7 @@ read_rgba_pixels( GLcontext *ctx, } _mesa_map_ci_to_rgba_chan(ctx, readWidth, index, rgba); } - _mesa_pack_rgba_span(ctx, readWidth, (const GLchan (*)[4]) rgba, + _mesa_pack_rgba_span_chan(ctx, readWidth, (const GLchan (*)[4]) rgba, GL_RGBA, GL_FLOAT, dest, &_mesa_native_packing, transferOps & IMAGE_PRE_CONVOLUTION_BITS); dest += width * 4; @@ -431,7 +431,7 @@ read_rgba_pixels( GLcontext *ctx, GLvoid *dest; dest = _mesa_image_address(packing, pixels, readWidth, height, format, type, 0, row, 0); - _mesa_pack_float_rgba_span(ctx, readWidth, + _mesa_pack_rgba_span_float(ctx, readWidth, (const GLfloat (*)[4]) src, format, type, dest, packing, transferOps & IMAGE_POST_CONVOLUTION_BITS); @@ -468,7 +468,7 @@ read_rgba_pixels( GLcontext *ctx, CHECKARRAY(rgbaf, return); /* mac 32k limitation */ _mesa_chan_to_float_span(ctx, readWidth, (CONST GLchan (*)[4]) rgba, rgbaf); - _mesa_pack_float_rgba_span(ctx, readWidth, + _mesa_pack_rgba_span_float(ctx, readWidth, (CONST GLfloat (*)[4]) rgbaf, format, type, dst, packing, ctx->_ImageTransferState); @@ -476,7 +476,7 @@ read_rgba_pixels( GLcontext *ctx, } else { /* GLubytes are fine */ - _mesa_pack_rgba_span(ctx, readWidth, (CONST GLchan (*)[4]) rgba, + _mesa_pack_rgba_span_chan(ctx, readWidth, (CONST GLchan (*)[4]) rgba, format, type, dst, packing, ctx->_ImageTransferState); } |