Lines Matching refs:cacheBuffer
297 uint8_t* cacheBuffer = cacheTexture->getPixelBuffer()->map();
308 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
313 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
316 cacheBuffer[row + cacheX] = mGammaTable[tempCol];
318 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
323 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
324 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
325 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
330 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
343 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)];
344 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)];
365 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
373 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
377 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1];
380 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
386 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);