Searched refs:formatSize (Results 1 – 7 of 7) sorted by relevance
144 return mWidth * mHeight * formatSize(mFormat); in getSize()151 return (y * mWidth + x) * formatSize(mFormat); in getOffset()161 static uint32_t formatSize(GLenum format) { in formatSize() function
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); in getSize()127 static uint32_t formatSize(GLenum format) { in formatSize() function
328 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA); in cacheBitmap() local329 const size_t borderSize = formatSize * TEXTURE_BORDER_SIZE; in cacheBitmap()330 size_t rowSize = formatSize * glyph.fWidth; in cacheBitmap()332 size_t dstStride = formatSize * cacheWidth; in cacheBitmap()
53 , mBuffer(new uint8_t[width * height * formatSize(format)]) { in CpuPixelBuffer()
214 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat()); in drawCachedGlyphBitmap() local217 uint32_t srcStride = formatSize * cacheWidth; in drawCachedGlyphBitmap()229 cacheY + (glyph->mStartX + i)*formatSize + alpha_channel_offset]; in drawCachedGlyphBitmap()
107 return (y * getWidth() + x) * PixelBuffer::formatSize(mFormat); in getOffset()
131 inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) { in formatSize() function