Lines Matching refs:startX
209 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) { in cacheBitmapInTexture() argument
211 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
260 uint32_t startX = 0; in cacheBitmap() local
263 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
270 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
281 *retOriginX = startX; in cacheBitmap()
284 uint32_t endX = startX + glyph.fWidth; in cacheBitmap()
306 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
314 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
315 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()
324 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth); in cacheBitmap()
325 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
330 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
344 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)]; in cacheBitmap()
345 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; in cacheBitmap()
362 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
369 cacheX = startX; in cacheBitmap()
374 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
386 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()