Searched refs:cacheWidth (Results 1 – 3 of 3) sorted by relevance
276 uint32_t cacheWidth = cacheTexture->getWidth(); in cacheBitmap() local294 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()301 row = cacheY * cacheWidth; in cacheBitmap()311 row = cacheY * cacheWidth; in cacheBitmap()318 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()328 size_t dstStride = formatSize * cacheWidth; in cacheBitmap()350 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()361 row = cacheY * cacheWidth; in cacheBitmap()366 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1]; in cacheBitmap()374 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
121 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in drawCachedGlyph() local132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()273 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in updateGlyphCache() local276 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache()278 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()459 uint32_t cacheWidth = getCacheTextureType()->getDimX(); in cacheBitmap() local468 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()
216 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap() local217 uint32_t srcStride = formatSize * cacheWidth; in drawCachedGlyphBitmap()458 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); in updateGlyphCache() local461 glyph->mBitmapMinU = startX / (float) cacheWidth; in updateGlyphCache()463 glyph->mBitmapMaxU = endX / (float) cacheWidth; in updateGlyphCache()