Home | History | Annotate | Download | only in swrast

Lines Matching defs:dstWidth

43 NAME(GLint srcWidth, GLint dstWidth,			\
52 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
73 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
116 const GLint dstWidth = ABS(dstX1 - dstX0);
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
258 dstWidth, dstHeight,
273 dstBuffer = malloc(pixelSize * dstWidth);
317 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX);
327 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer,
331 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer,
335 _mesa_pack_uint_z_row(drawRb->Format, dstWidth, dstBuffer,
339 _mesa_pack_ubyte_stencil_row(drawRb->Format, dstWidth, dstBuffer,
373 resample_linear_row_ub(GLint srcWidth, GLint dstWidth,
380 const GLfloat dstWidthF = (GLfloat) dstWidth;
383 for (dstCol = 0; dstCol < dstWidth; dstCol++) {
430 resample_linear_row_float(GLint srcWidth, GLint dstWidth,
437 const GLfloat dstWidthF = (GLfloat) dstWidth;
440 for (dstCol = 0; dstCol < dstWidth; dstCol++) {
496 const GLint dstWidth = ABS(dstX1 - dstX0);
551 dstBuffer = malloc(pixelSize * dstWidth);
676 resample_linear_row_ub(srcWidth, dstWidth, srcBuffer0, srcBuffer1,
680 resample_linear_row_float(srcWidth, dstWidth, srcBuffer0, srcBuffer1,
688 _mesa_pack_ubyte_rgba_row(drawFormat, dstWidth, dstBuffer, dst);
691 _mesa_pack_float_rgba_row(drawFormat, dstWidth, dstBuffer, dst);