Lines Matching refs:pixelSize
665 inline void fillRow (const PixelBufferAccess& dst, int y, int z, int pixelSize, const deUint8* pixe… in fillRow() argument
667 DE_ASSERT(dst.getPixelPitch() == pixelSize); // only tightly packed in fillRow()
672 if (pixelSize == 8 && deIsAlignedPtr(dstPtr, pixelSize)) in fillRow()
680 else if (pixelSize == 4 && deIsAlignedPtr(dstPtr, pixelSize)) in fillRow()
691 for (int j = 0; j < pixelSize; j++) in fillRow()
692 dstPtr[i*pixelSize+j] = pixel[j]; in fillRow()
698 const int pixelSize = access.getFormat().getPixelSize(); in clear() local
700 const bool rowPixelsTightlyPacked = (pixelSize == pixelPitch); in clear()
703 pixelSize < CLEAR_OPTIMIZE_MAX_PIXEL_SIZE && rowPixelsTightlyPacked) in clear()
716 fillRow(access, y, z, pixelSize, &pixel.u8[0]); in clear()
729 const int pixelSize = access.getFormat().getPixelSize(); in clear() local
731 const bool rowPixelsTightlyPacked = (pixelSize == pixelPitch); in clear()
734 pixelSize < CLEAR_OPTIMIZE_MAX_PIXEL_SIZE && rowPixelsTightlyPacked) in clear()
747 fillRow(access, y, z, pixelSize, &pixel.u8[0]); in clear()