Lines Matching refs:mWidth
41 newBlock->mWidth, newBlock->mHeight); in insertBlock()
48 if (newBlock->mWidth < currBlock->mWidth) { in insertBlock()
85 blockToRemove->mWidth, blockToRemove->mHeight); in removeBlock()
112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format), in CacheTexture()
117 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); in CacheTexture()
146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); in init()
185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight); in allocateTexture()
194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0, in allocateTexture()
211 uint32_t width = mHasUnpackRowLength ? dirtyRect.getWidth() : mWidth; in upload()
217 glPixelStorei(GL_UNPACK_ROW_LENGTH, mWidth); in upload()
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
280 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { in fitBitmap()
294 cacheBlock->mWidth -= roundedUpW; in fitBitmap()
304 newBlock->mWidth, newBlock->mHeight); in fitBitmap()
315 cacheBlock->mWidth, cacheBlock->mHeight); in fitBitmap()