Lines Matching refs:dstBuffer
45 const GLvoid *srcBuffer, GLvoid *dstBuffer, \
49 PIXELTYPE *dst = (PIXELTYPE *) dstBuffer; \
145 GLvoid *srcBuffer, *dstBuffer; in blit_nearest() local
149 const GLvoid *srcBuffer, GLvoid *dstBuffer, in blit_nearest()
194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth); in blit_nearest()
195 if (!srcBuffer || !dstBuffer) in blit_nearest()
335 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX); in blit_nearest()
342 memcpy(dstRowStart, dstBuffer, pixelSize * dstWidth); in blit_nearest()
345 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
349 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
353 _mesa_pack_uint_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
357 _mesa_pack_ubyte_stencil_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
371 free(dstBuffer); in blit_nearest()
376 free(dstBuffer); in blit_nearest()
401 GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) in resample_linear_row_ub() argument
405 GLubyte (*dstColor)[4] = (GLubyte (*)[4]) dstBuffer; in resample_linear_row_ub()
456 GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) in resample_linear_row_float() argument
460 GLfloat (*dstColor)[4] = (GLfloat (*)[4]) dstBuffer; in resample_linear_row_float()
538 GLvoid *dstBuffer; in blit_linear() local
566 dstBuffer = malloc(pixelSize * dstWidth); in blit_linear()
567 if (!srcBuffer0 || !srcBuffer1 || !dstBuffer) { in blit_linear()
692 dstBuffer, invertX, rowWeight); in blit_linear()
696 dstBuffer, invertX, rowWeight); in blit_linear()
703 _mesa_pack_ubyte_rgba_row(drawFormat, dstWidth, dstBuffer, dst); in blit_linear()
706 _mesa_pack_float_rgba_row(drawFormat, dstWidth, dstBuffer, dst); in blit_linear()
719 free(dstBuffer); in blit_linear()
725 free(dstBuffer); in blit_linear()