Searched defs:formatSize (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
H A DRenderBuffer.h120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
127 static uint32_t formatSize(GLenum format) { function in struct:android::uirenderer::RenderBuffer
H A DPixelBuffer.h139 return mWidth * mHeight * formatSize(mFormat);
146 return (y * mWidth + x) * formatSize(mFormat);
156 static uint32_t formatSize(GLenum format) { function in class:android::uirenderer::PixelBuffer
H A DFontRenderer.cpp324 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA); local
325 const size_t borderSize = formatSize * TEXTURE_BORDER_SIZE;
326 size_t rowSize = formatSize * glyph.fWidth;
328 size_t dstStride = formatSize * cacheWidth;
/frameworks/base/libs/hwui/font/
H A DFont.cpp214 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat()); local
217 uint32_t srcStride = formatSize * cacheWidth;
229 cacheY + (glyph->mStartX + i)*formatSize + alpha_channel_offset];

Completed in 61 milliseconds