Lines Matching refs:startX

195         const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {  in cacheBitmapInTexture()  argument
197 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
246 uint32_t startX = 0; in cacheBitmap() local
249 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
256 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
267 *retOriginX = startX; in cacheBitmap()
270 uint32_t endX = startX + glyph.fWidth; in cacheBitmap()
292 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
300 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
301 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()
310 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth); in cacheBitmap()
311 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
316 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
330 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)]; in cacheBitmap()
331 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; in cacheBitmap()
348 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
355 cacheX = startX; in cacheBitmap()
360 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
372 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()