Lines Matching refs:startX
211 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {
213 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) {
262 uint32_t startX = 0;
265 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
272 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
283 *retOriginX = startX;
286 uint32_t endX = startX + glyph.fWidth;
308 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
316 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
317 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
326 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
327 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
332 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
346 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)];
347 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)];
364 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
371 cacheX = startX;
376 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
388 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
400 mHistoryTracker.glyphUploaded(cacheTexture, startX, startY, glyph.fWidth, glyph.fHeight);