Searched refs:cacheBuffer (Results 1 – 3 of 3) sorted by relevance
285 uint8_t* cacheBuffer = cacheTexture->getPixelBuffer()->map(); in cacheBitmap() local295 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE); in cacheBitmap()300 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()303 cacheBuffer[row + cacheX] = mGammaTable[tempCol]; in cacheBitmap()305 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()310 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth); in cacheBitmap()311 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()312 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()317 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE); in cacheBitmap()330 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)]; in cacheBitmap()[all …]
122 const uint8_t* cacheBuffer = state->mCacheBuffer; in drawCachedGlyph() local132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()461 uint8_t *cacheBuffer = mCacheBuffer; in cacheBitmap() local468 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()
220 const uint8_t* cacheBuffer = pixelBuffer->map(); in drawCachedGlyphBitmap() local227 cacheBuffer[cacheY + (glyph->mStartX + i) * formatSize + alpha_channel_offset]; in drawCachedGlyphBitmap()