Searched refs:cacheBuffer (Results 1 – 3 of 3) sorted by relevance
298 uint8_t* cacheBuffer = cacheTexture->getPixelBuffer()->map(); in cacheBitmap() local309 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE); in cacheBitmap()314 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()317 cacheBuffer[row + cacheX] = mGammaTable[tempCol]; in cacheBitmap()319 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()324 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth); in cacheBitmap()325 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()326 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()331 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE); in cacheBitmap()344 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)]; in cacheBitmap()[all …]
227 const uint8_t* cacheBuffer = pixelBuffer->map(); in drawCachedGlyphBitmap() local233 … memcpy(&bitmap[bitmapY + dstX], &cacheBuffer[cacheY + glyph->mStartX], glyph->mBitmapWidth); in drawCachedGlyphBitmap()236 …bitmap[bitmapY + dstX + i] = cacheBuffer[cacheY + (glyph->mStartX + i)*formatSize + alpha_channel_… in drawCachedGlyphBitmap()
123 const uint8_t* cacheBuffer = state->mCacheBuffer; in drawCachedGlyph() local133 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()462 uint8_t *cacheBuffer = mCacheBuffer; in cacheBitmap() local469 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()