HomeSort by relevance Sort by last modified time
    Searched refs:cacheBuffer (Results 1 - 3 of 3) sorted by null

  /frameworks/base/libs/hwui/
FontRenderer.cpp 298 uint8_t* cacheBuffer = cacheTexture->getPixelBuffer()->map();
309 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
314 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
317 cacheBuffer[row + cacheX] = mGammaTable[tempCol];
319 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
324 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
325 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
326 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
331 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
344 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)]
    [all...]
  /frameworks/base/libs/hwui/font/
Font.cpp 227 const uint8_t* cacheBuffer = pixelBuffer->map();
233 memcpy(&bitmap[bitmapY + dstX], &cacheBuffer[cacheY + glyph->mStartX], glyph->mBitmapWidth);
236 bitmap[bitmapY + dstX + i] = cacheBuffer[cacheY + (glyph->mStartX + i)*formatSize + alpha_channel_offset];
  /frameworks/rs/
rsFont.cpp 123 const uint8_t* cacheBuffer = state->mCacheBuffer;
133 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
462 uint8_t *cacheBuffer = mCacheBuffer;
469 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol;

Completed in 63 milliseconds