Home
last modified time | relevance | path

Searched refs:borderSize (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.cpp323 const size_t borderSize = formatSize * TEXTURE_BORDER_SIZE; in cacheBitmap() local
332 uint8_t* dstL = dst - borderSize; in cacheBitmap()
335 memset(dstL, 0, rowSize + 2 * borderSize); in cacheBitmap()
338 memset(dstL += dstStride, 0, borderSize); // leading border column in cacheBitmap()
340 memset(dstR += dstStride, 0, borderSize); // trailing border column in cacheBitmap()
343 memset(dstL += dstStride, 0, rowSize + 2 * borderSize); in cacheBitmap()