Lines Matching refs:rowBytes

466                                    size_t rowBytes) {
492 config, buffer, rowBytes);
509 size_t* rowBytes) {
510 if (!*rowBytes) {
511 *rowBytes = *width * bpp;
521 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp);
545 size_t rowBytes) {
553 &width, &height, &data, &rowBytes)) {
616 if (rowBytes != trimRowBytes) {
617 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp);
622 if (trimRowBytes != rowBytes || swFlipY) {
627 src += (height - 1) * rowBytes;
633 src -= rowBytes;
635 src += rowBytes;
940 size_t rowBytes) {
1032 desc.fConfig, srcData, rowBytes)) {
1544 size_t rowBytes) const {
1555 // If we have to do memcpy to handle non-trim rowBytes then we
1560 // If we have to do memcpys to handle rowBytes then y-flip is free
1561 // Note the rowBytes might be tight to the passed in data, but if data
1562 // gets clipped in x to the target the rowBytes will no longer be tight.
1564 return 0 == rowBytes ||
1565 GrBytesPerPixel(config) * width == rowBytes;
1576 size_t rowBytes) {
1592 &rowBytes)) {
1623 if (0 == rowBytes) {
1624 rowBytes = tightRowBytes;
1629 // determine if GL can read using the passed rowBytes or if we need
1632 if (rowBytes != tightRowBytes) {
1634 SkASSERT(!(rowBytes % sizeof(GrColor)));
1636 static_cast<GrGLint>(rowBytes / sizeof(GrColor))));
1637 readDstRowBytes = rowBytes;
1662 SkASSERT(rowBytes == readDstRowBytes);
1669 char* bottom = top + (height - 1) * rowBytes;
1674 top += rowBytes;
1675 bottom -= rowBytes;
1679 SkASSERT(readDst != buffer); SkASSERT(rowBytes != tightRowBytes);
1685 dst += (height-1) * rowBytes;
1691 dst += rowBytes;
1693 dst -= rowBytes;