Lines Matching refs:cacheWidth
287 uint32_t cacheWidth = cacheTexture->getWidth();
306 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
313 row = cacheY * cacheWidth;
323 row = cacheY * cacheWidth;
330 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
340 size_t dstStride = formatSize * cacheWidth;
362 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
373 row = cacheY * cacheWidth;
378 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1];
386 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;